1. 06 8月, 2012 2 次提交
    • R
      mips dynamic linker support · babf8201
      Rich Felker 提交于
      not heavily tested, but the basics are working. the basic concept is
      that the dynamic linker entry point code invokes a pure-PIC (no global
      accesses) C function in reloc.h to perform the early GOT relocations
      needed to make the dynamic linker itself functional, then invokes
      __dynlink like on other archs. since mips uses some ugly arch-specific
      hacks to optimize relocating the GOT (rather than just using the
      normal DT_REL[A] tables like on other archs), the dynamic linker has
      been modified slightly to support calling arch-specific relocation
      code in reloc.h.
      
      most of the actual mips-specific behavior was developed by reading the
      output of readelf on libc.so and simple executable files. i could not
      find good reference information on which relocation types need to be
      supported or their semantics, so it's possible that some legitimate
      usage cases will not work yet.
      babf8201
    • R
      make dynlink.lo depend on reloc.h in makefile · d0437801
      Rich Felker 提交于
      this is mainly a development convenience but will also ensure users
      building from latest git always get up-to-date arch-specific dynamic
      linker code without having to "make clean".
      d0437801
  2. 05 8月, 2012 4 次提交
  3. 03 8月, 2012 4 次提交
  4. 01 8月, 2012 1 次提交
  5. 27 7月, 2012 2 次提交
  6. 24 7月, 2012 6 次提交
    • R
      retry on cas failures in sem_trywait · 07e62953
      Rich Felker 提交于
      this seems counter-intuitive since sem_trywait is supposed to just try
      once, not wait for the semaphore. however, the retry loop is not a
      wait. instead, it's to handle the case where the value changes due to
      a simultaneous post or wait from another thread while the semaphore
      value remains positive. in such a case, it's absolutely wrong for
      sem_trywait to fail with EAGAIN because the semaphore is not busy.
      07e62953
    • R
      gcc wrapper improvement: leave libgcc dir in the library path · 5d26d5d1
      Rich Felker 提交于
      this is needed in case -lgcc is passed explicitly on the link command
      line, for example if the wrapper is being used to build musl itself.
      5d26d5d1
    • R
      add ioperm/iopl syscalls · d426b045
      Rich Felker 提交于
      based on patches by orc and Isaac Dunham, with some fixes. sys/io.h
      exists and contains prototypes for these functions regardless of
      whether the target arch has them; this is a bit unorthodox but I don't
      think it will break anything. the function definitions do not exist
      unless the appropriate SYS_* syscall number macro is defined, which
      should make sure configure scripts looking for these functions don't
      find them on other systems.
      
      presently, sys/io.h does not have the inb/outb/etc. port io
      macros/functions. I'd be surprised if ioperm/iopl are useful without
      them, so they probably need to be added at some point in appropriate
      bits/io.h files...
      d426b045
    • R
      add splice and vmsplice syscalls · 53147f90
      Rich Felker 提交于
      based on patches by orc and Isaac Dunham.
      53147f90
    • R
      add extended attributes syscalls · 207460d0
      Rich Felker 提交于
      based on patch by orc and Isaac Dunham, with some fixes.
      207460d0
    • R
      add pipe2 syscall · 42f0e965
      Rich Felker 提交于
      based on patch by orc and Isaac Dunham, with some details fixed.
      42f0e965
  7. 23 7月, 2012 6 次提交
  8. 22 7月, 2012 1 次提交
  9. 19 7月, 2012 1 次提交
  10. 15 7月, 2012 2 次提交
  11. 13 7月, 2012 9 次提交
  12. 12 7月, 2012 2 次提交