1. 22 11月, 2012 3 次提交
    • 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
    • R
      make powerpc signal.h namespace-clean for posix/isoc · 57a0b824
      Rich Felker 提交于
      also handle the non-GNUC case where alignment attribute is not available
      by simply omitting it. this will not cause problems except for
      inclusion of mcontex_t/ucontext_t in application-defined structures,
      since the natural alignment of the uc_mcontext member relative to the
      start of ucontext_t is already correct. and shame on whoever designed
      this for making it impossible to satisfy the ABI requirements without
      GNUC extensions.
      57a0b824
    • R
      7bdf11c2
  2. 21 11月, 2012 1 次提交
  3. 19 11月, 2012 9 次提交
  4. 18 11月, 2012 11 次提交
    • 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
    • S
      math: use float constants in exp10f.c · a764db9a
      Szabolcs Nagy 提交于
      use the 'f' suffix when a float constant is not representable
      a764db9a
    • S
      math: expl.c cleanup · e93a0fe4
      Szabolcs Nagy 提交于
      raise overflow and underflow when necessary, fix various comments.
      e93a0fe4
    • S
      math: expf.c cleanup · ab1772c5
      Szabolcs Nagy 提交于
      similar to exp.c cleanup: use scalbnf, don't return excess precision,
      drop some optimizatoins.
      exp.c was changed to be more consistent with expf.c code.
      ab1772c5
    • 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
    • S
      math: cleanup exp2.c exp2f.c and exp2l.c · 159c7655
      Szabolcs Nagy 提交于
      * old code relied on sign extension on right shift
      * exp2l ld64 wrapper was wrong
      * use scalbn instead of bithacks
      159c7655
    • R
      arg-skipping code for powerpc dynamic linker · bb9abdef
      Rich Felker 提交于
      this allows using the dynamic linker as a command to load programs.
      bb9abdef
    • S
      math: exp.c clean up · bbbf045c
      Szabolcs Nagy 提交于
      overflow and underflow was incorrect when the result was not stored.
      an optimization for the 0.5*ln2 < |x| < 1.5*ln2 domain was removed.
      did various cleanups around static constants and made the comments
      consistent with the code.
      bbbf045c
  5. 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
  6. 16 11月, 2012 4 次提交
  7. 15 11月, 2012 7 次提交
  8. 14 11月, 2012 4 次提交