1. 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
  2. 23 2月, 2011 1 次提交
  3. 22 2月, 2011 4 次提交
  4. 21 2月, 2011 13 次提交
  5. 20 2月, 2011 9 次提交
  6. 19 2月, 2011 9 次提交