summaryrefslogtreecommitdiff
path: root/tools/ld.musl-clang.in
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-01-25 19:29:55 -0500
committerRich Felker <dalias@aerifal.cx>2016-01-25 19:29:55 -0500
commit5552ce52000855906a5cb4f08f2e456573cca51f (patch)
tree7a6bd7fb987116843bfa9bd985dfb51f726cdd01 /tools/ld.musl-clang.in
parent16f70388d4a876c216cbf1d829782ace41a07634 (diff)
downloadmusl-5552ce52000855906a5cb4f08f2e456573cca51f.tar.gz
musl-5552ce52000855906a5cb4f08f2e456573cca51f.tar.bz2
musl-5552ce52000855906a5cb4f08f2e456573cca51f.tar.xz
musl-5552ce52000855906a5cb4f08f2e456573cca51f.zip
move dynamic linker to its own top-level directory, ldso
this eliminates the last need for the SHARED macro to control how files in the src tree are compiled. the same code is used for both libc.a and libc.so, with additional code for the dynamic linker (from the new ldso tree) being added to libc.so but not libc.a. separate .o and .lo object files still exist for the src tree, but the only difference is that the .lo files are built as PIC. in the future, if/when we add dlopen support for static-linked programs, much of the code in dynlink.c may be moved back into the src tree, but properly factored into separate source files. in that case, the code in the ldso tree will be reduced to just the dynamic linker entry point, self-relocation, and loading of libraries needed by the main application.
Diffstat (limited to 'tools/ld.musl-clang.in')
0 files changed, 0 insertions, 0 deletions