summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2012-04-22new gcc wrapper, entirely specfile basedRich Felker1-3/+7
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.
2012-03-17don't fail on inability to install dynamic linker (e.g. if not root)Rich Felker1-1/+1
2012-03-01search internal headers firstRich Felker1-1/+1
this is necessitated by the ugly <syscall.h> just added
2012-02-17two fixes for "make install" handling of shared libsRich Felker1-1/+2
1. don't try to install (and thus build) shared libs when they were disabled in config.mak 2. ensure that the path for the dynamic linker exists before attempting to install it.
2011-06-28fix a few bugs from last dynamic linking build system commitRich Felker1-2/+2
some cruft was left and DESTDIR was not being used correctly.
2011-06-27cleanup shared library build system to be more $HOME-local-install friendlyRich Felker1-13/+15
the path for the dynamic linker is now configurable, and failure to install the symlink for it will not stop the build.
2011-06-24use soname in ld-musl.so to prevent filename appearing in DT_NEEDEDsRich Felker1-1/+1
2011-06-24use symlink rather than bogus linker script for libc.soRich Felker1-2/+2
the linker script caused a bogus DT_NEEDED entry
2011-06-23adapt build/install/gcc-wrapper systems for dynamic linking supportRich Felker1-5/+15
2011-02-24various changes in preparation for dynamic linking supportRich Felker1-3/+3
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.
2011-02-17avoid deleting the lib/empty fileRich Felker1-1/+1
2011-02-17new solution for empty lib dir (old one had some problems)Rich Felker1-7/+5
2011-02-17improve Makefile handling of git checkouts with missing lib/ and config.makRich Felker1-4/+8
2011-02-15finish unifying thread register handling in preparation for portingRich Felker1-1/+1
2011-02-15preparing build system to handle ports - step 1Rich Felker1-0/+6
2011-02-13ensure that musl is compiled as C99 code & XSI option is available in headersRich Felker1-1/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+97