1. 18 11月, 2012 6 次提交
    • R
      fcntl.h: O_SEARCH was missing for powerpc · 8d2887f8
      rofl0r 提交于
      put some macros that do not differ between architectures in the
      main header and remove from bits.
      restructure mips header so it has the same structure as the others.
      8d2887f8
    • R
      ppc socket.h: add forgotten cmsghdr · ae67fe1a
      rofl0r 提交于
      ae67fe1a
    • R
      fix typo in dynamic linker path file loading code · 71955b2f
      Rich Felker 提交于
      fortunately the memory corruption could not hurt anything, but it
      prevented clearing the final newline and thus prevented the last path
      element from working.
      71955b2f
    • R
      add cleaned-up sys/mtio.h · d0197ff0
      Rich Felker 提交于
      this is mostly junk, but a few programs with tape-drive support
      unconditionally include it, and it might be useful.
      d0197ff0
    • R
      add stub versions of some missing optional pthread interfaces · 5c6443ac
      Rich Felker 提交于
      priority inheritance is not yet supported, and priority protection
      probably will not be supported ever unless there's serious demand for
      it (it's a fairly heavy-weight feature).
      
      per-thread cpu clocks would be nice to have, but to my knowledge linux
      is still not capable of supporting them. glibc fakes them by using the
      _process_ cpu-time clock and subtracting the thread creation time,
      which gives seriously incorrect semantics (worse than not supporting
      the feature at all), so until there's a way to do it right, it will
      remain as a stub that always fails.
      5c6443ac
    • R
      arg-skipping code for powerpc dynamic linker · bb9abdef
      Rich Felker 提交于
      this allows using the dynamic linker as a command to load programs.
      bb9abdef
  2. 17 11月, 2012 1 次提交
    • R
      dynamic linking support for powerpc · a4db94ab
      Rich Felker 提交于
      incomplete but at least partly working. requires all files to be
      compiled in the new "secure" plt model, not the old one that put plt
      code in the data segment. TLS is untested but may work. invoking the
      dynamic linker explicitly to load a program does not yet handle argv
      correctly.
      a4db94ab
  3. 16 11月, 2012 4 次提交
  4. 15 11月, 2012 7 次提交
  5. 14 11月, 2012 6 次提交
  6. 13 11月, 2012 12 次提交
  7. 12 11月, 2012 4 次提交
    • R
      debloat src/thread tree but putting lots of junk in one file · c4a35f8c
      Rich Felker 提交于
      POSIX includes mostly-useless attribute-get functions for each
      attribute-set function, presumably out of some object-oriented
      dogmatism. the get functions are not useful with the simple idiomatic
      usage of attributes. there are of course possible valid uses of them
      (like writing wrappers for pthread init functions that perform special
      actions on the presence of certain attributes), but considering how
      tiny these functions are anyway, little is lost by putting them all in
      one file, and some build-time cost and archive-file-size benefits are
      achieved.
      c4a35f8c
    • R
      report support of TPS option in unistd.h and sysconf · 7df42e87
      Rich Felker 提交于
      also update another newish feature in sysconf, stackaddr
      7df42e87
    • R
      add support for thread scheduling (POSIX TPS option) · 1e21e78b
      Rich Felker 提交于
      linux's sched_* syscalls actually implement the TPS (thread
      scheduling) functionality, not the PS (process scheduling)
      functionality which the sched_* functions are supposed to have.
      omitting support for the PS option (and having the sched_* interfaces
      fail with ENOSYS rather than omitting them, since some broken software
      assumes they exist) seems to be the only conforming way to do this on
      linux.
      1e21e78b
    • R
      fix clobber of edx in i386 vsyscall asm · e9b885ee
      Rich Felker 提交于
      this function does not obey the normal calling convention; like a
      syscall instruction, it's expected not to clobber any registers except
      the return value. clobbering edx could break callers that were reusing
      the value cached in edx after the syscall returns.
      e9b885ee