summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorLines
2011-06-28fix a few bugs from last dynamic linking build system commitRich Felker-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 Felker-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 Felker-1/+1
2011-06-24use symlink rather than bogus linker script for libc.soRich Felker-2/+2
the linker script caused a bogus DT_NEEDED entry
2011-06-23adapt build/install/gcc-wrapper systems for dynamic linking supportRich Felker-5/+15
2011-02-24various changes in preparation for dynamic linking supportRich Felker-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 Felker-1/+1
2011-02-17new solution for empty lib dir (old one had some problems)Rich Felker-7/+5
2011-02-17improve Makefile handling of git checkouts with missing lib/ and config.makRich Felker-4/+8
2011-02-15finish unifying thread register handling in preparation for portingRich Felker-1/+1
2011-02-15preparing build system to handle ports - step 1Rich Felker-0/+6
2011-02-13ensure that musl is compiled as C99 code & XSI option is available in headersRich Felker-1/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+97