1. 25 6月, 2011 3 次提交
  2. 24 6月, 2011 1 次提交
    • R
      prepare support for LD_LIBRARY_PATH (checking suid/sgid safety) · b7f6e0c6
      Rich Felker 提交于
      the use of this test will be much stricter than glibc and other
      typical implementations; the environment will not be honored
      whatsoever unless the program is confirmed non-suid/sgid by the aux
      vector the kernel passed in. no fallback to slow syscall-based
      checking is used if the kernel fails to provide the information; we
      simply assume the worst (suid) in this case and refuse to honor
      environment.
      b7f6e0c6
  3. 20 6月, 2011 1 次提交
  4. 19 6月, 2011 3 次提交
  5. 25 2月, 2011 1 次提交
    • 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