1. 10 3月, 2011 3 次提交
    • R
      optimize pthread initialization · 6dc05fbe
      Rich Felker 提交于
      the set_tid_address returns the tid (which is also the pid when called
      from the initial thread) so there is no need to make a separate
      syscall to get pid/tid.
      6dc05fbe
    • R
      fix race condition in raise - just mask signals · 0bed7e0a
      Rich Felker 提交于
      a signal handler could fork after the pid/tid were read, causing the
      wrong process to be signalled. i'm not sure if this is supposed to
      have UB or not, but raise is async-signal-safe, so it probably is
      allowed. the current solution is slightly expensive so this
      implementation is likely to be changed in the future.
      0bed7e0a
    • R
      fix raise semantics with threads. · 370f78f2
      Rich Felker 提交于
      370f78f2
  2. 09 3月, 2011 5 次提交
  3. 08 3月, 2011 11 次提交
  4. 04 3月, 2011 4 次提交
  5. 03 3月, 2011 2 次提交
  6. 02 3月, 2011 2 次提交
  7. 27 2月, 2011 5 次提交
  8. 25 2月, 2011 4 次提交
    • R
      various changes in preparation for dynamic linking support · 41d51836
      Rich Felker 提交于
      prefer using visibility=hidden for __libc internal data, rather than
      an accessor function, if the compiler has visibility.
      
      optimize with -O3 for PIC targets (shared library). without heavy
      inlining, reloading the GOT register in small functions kills
      performance. 20-30% size increase for a single libc.so is not a big
      deal, compared to comparaible size increase in every static binaries.
      
      use -Bsymbolic-functions, not -Bsymbolic. global variables are subject
      to COPY relocations, and thus binding their addresses in the library
      at link time will cause library functions to read the wrong (original)
      copies instead of the copies made in the main program's bss section.
      
      add entry point, _start, for dynamic linker.
      41d51836
    • R
      apply feature test protection to memccpy · 73d310e1
      Rich Felker 提交于
      73d310e1
    • R
      add implementation of memccpy function · b8ff2aaa
      Rich Felker 提交于
      b8ff2aaa
    • R
      fix backwards conditional in stpncpy · 9f19b3ec
      Rich Felker 提交于
      this only made the function unnecessarily slow on systems with
      unaligned access, but would of course crash on systems that can't do
      unaligned accesses (none of which have ports yet).
      9f19b3ec
  9. 23 2月, 2011 1 次提交
  10. 22 2月, 2011 3 次提交