1. 26 11月, 2012 1 次提交
    • R
      make sys/procfs.h mostly work on most archs · 4b75f4ed
      Rich Felker 提交于
      these structures are purely for use by trace/debug tools and tools
      working with core files. the definition of fpregset_t, which was
      previously here, has been removed because it was wrong; fpregset_t
      should be the type used in mcontext_t, not the type used in
      ptrace/core stuff.
      4b75f4ed
  2. 22 11月, 2012 1 次提交
    • R
      add back NSIG, removed from powerpc in last commit, but for all archs · 65b98213
      Rich Felker 提交于
      unlike the previous definition, NSIG/_NSIG is supposed to be one more
      than the highest signal number. adding this will allow simplifying
      libc-internal code that makes signal-related syscalls, which can be
      done as a later step. some apps might use it too; while this usage is
      questionable, it's at least not insane.
      65b98213
  3. 19 11月, 2012 2 次提交
    • R
      fix breakage from introducing bits header for sys/io.h · 0004ea61
      Rich Felker 提交于
      apparently some other archs have sys/io.h and should not break just
      because they don't have the x86 port io functions. provide a blank
      bits/io.h everywhere for now.
      0004ea61
    • R
      add port io functions to sys/io.h · 61aa6324
      Rich Felker 提交于
      based on proposal by Isaac Dunham. nonexistance of bits/io.h will
      cause inclusion of sys/io.h to produce an error on archs that are not
      supposed to have it. this is probably the desired behavior, but the
      error message may be a bit unusual.
      61aa6324
  4. 18 11月, 2012 3 次提交
    • 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
      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
  5. 16 11月, 2012 1 次提交
    • R
      disable SO_REUSEPORT in sys/socket.h · 91738d02
      Rich Felker 提交于
      although a number is reserved for it, this option is not implemented
      on Linux and does not work. defining it causes some applications to
      use it, and subsequently break due to its failure.
      91738d02
  6. 13 11月, 2012 1 次提交
  7. 12 11月, 2012 2 次提交
    • 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
  8. 06 11月, 2012 1 次提交
  9. 05 11月, 2012 1 次提交
  10. 01 11月, 2012 2 次提交
    • R
      b367ab15
    • R
      add dl_iterate_phdr interface · 18c0e02e
      Rich Felker 提交于
      patches by Alex Caudill (npx). the dynamic-linked version is almost
      identical to the final submitted patch; I just added a couple missing
      lines for saving the phdr address when the dynamic linker is invoked
      directly to run a program, and removed a couple to avoid introducing
      another unnecessary type. the static-linked version is based on npx's
      draft. it could use some improvements which are contingent on the
      startup code saving some additional information for later use.
      18c0e02e
  11. 22 10月, 2012 1 次提交
  12. 21 10月, 2012 1 次提交
  13. 17 10月, 2012 1 次提交
  14. 16 10月, 2012 2 次提交
  15. 01 10月, 2012 1 次提交
    • R
      add getopt reset support · 030e5263
      Rich Felker 提交于
      based on proposed patches by Daniel Cegiełka, with minor changes:
      - use a weak symbol for optreset so it doesn't clash with namespace
      - also reset optpos (position in multi-option arg like -lR)
      - also make getopt_long support reset
      030e5263
  16. 30 9月, 2012 3 次提交
  17. 29 9月, 2012 1 次提交
    • R
      microblaze port · 8c0a3d9e
      Rich Felker 提交于
      based on initial work by rdp, with heavy modifications. some features
      including threads are untested because qemu app-level emulation seems
      to be broken and I do not have a proper system image for testing.
      8c0a3d9e
  18. 21 9月, 2012 1 次提交
  19. 17 9月, 2012 1 次提交
  20. 16 9月, 2012 1 次提交
  21. 14 9月, 2012 2 次提交
  22. 10 9月, 2012 6 次提交
  23. 09 9月, 2012 4 次提交