1. 11 7月, 2012 1 次提交
  2. 05 5月, 2012 1 次提交
  3. 04 5月, 2012 1 次提交
    • R
      make all .o files depend on *_impl.h and libc.h · e765239f
      Rich Felker 提交于
      hopefully the annoyance of this will be minimal. these files all
      define internal interfaces which can change at any time; if different
      modules are using different versions of the interfaces, the library
      will badly break. ideally we would scan and add the dependency only
      for C files that actually reference the affected interfaces, but for
      now, err on the side of caution and force a rebuild of everything if
      any of them have changed.
      
      this commit is in preparation for the upcoming ssp overhaul commit,
      which will change internals of the pthread struct.
      e765239f
  4. 03 5月, 2012 1 次提交
  5. 02 5月, 2012 2 次提交
    • R
      reorganize Makefile to support "least surprise" config/make semantics · d76eafcb
      Rich Felker 提交于
      the major change here is that CFLAGS is now a variable that can be
      changed entirely under user control, without causing essential flags
      to be lost. previously, "CFLAGS += ..." was valid in config.mak, but
      using "CFLAGS = ..." in config.mak would have badly broken the build
      process unless the user took care to copy the necessary flags out of
      the main Makefile.
      
      I have also added a distclean target that removes config.mak.
      d76eafcb
    • R
      remove objcopy --weaken from the makefile · d86d2829
      Rich Felker 提交于
      as far as I can tell, it's not useful and never way. I wrote it way
      back under the assumption that non-weak symbols in the POSIX or
      extension namespace could conflict with legitimate uses of the same
      symbol name in the main program or other libraries, but that does not
      seem to be the case.
      d86d2829
  6. 23 4月, 2012 1 次提交
    • R
      new gcc wrapper, entirely specfile based · 58f430c1
      Rich Felker 提交于
      the _concept_ of this wrapper has been tested extensively, but the
      integration with the build/install system, and using a persistent
      specfile rather than one generated at build-time, have not been
      heavily tested and may need minor tweaks.
      
      this approach should be a lot more robust (and easier to improve) than
      writing a shell script that's responsible for trying to mimic gcc's
      logic about whether it's compiling or linking, building shared libs or
      executable files, etc. it's also lighter weight and should result in
      mildly faster builds when using the wrapper.
      58f430c1
  7. 17 3月, 2012 1 次提交
  8. 01 3月, 2012 1 次提交
  9. 18 2月, 2012 1 次提交
  10. 28 6月, 2011 2 次提交
  11. 25 6月, 2011 2 次提交
  12. 24 6月, 2011 1 次提交
  13. 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
  14. 18 2月, 2011 3 次提交
  15. 15 2月, 2011 2 次提交
  16. 14 2月, 2011 1 次提交
  17. 12 2月, 2011 1 次提交