diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-02-17 13:56:27 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-02-17 13:56:27 -0500 |
commit | 63bcda4d8f4074e9d92ae156afd0dced6e64eb65 (patch) | |
tree | 8fe6470734420d41cce465e7f89e13021ad4f9d4 /src/exit | |
parent | 80fbaac4cd1930e9545a5d36bf46ae49011d2ce8 (diff) | |
download | musl-63bcda4d8f4074e9d92ae156afd0dced6e64eb65.tar.gz musl-63bcda4d8f4074e9d92ae156afd0dced6e64eb65.tar.bz2 musl-63bcda4d8f4074e9d92ae156afd0dced6e64eb65.tar.xz musl-63bcda4d8f4074e9d92ae156afd0dced6e64eb65.zip |
adjust makefile to make crt/ and ldso/ sources arch-replaceable
prior to commit 2f853dd6b9a95d5b13ee8f9df762125e0588df5d which
overhauled the makefile for out-of-tree builds, crt/*.c files were
replaceable by crt/$(ARCH)/*.s, and top-level ldso/ did not exist (its
files were under src/ldso). since then, crti.o and crtn.o have been
hard-coded as arch-specific, but none of the other files in crt/ or
ldso/ were replaceable at all.
in preparation for easy integration with midipix, which has a port of
musl to windows, it needs to be possible to override the ELF-specific
code in these files. making the same arch-replacements system work
throughout the whole source tree also improves consistency and removes
the need for some file-specific rules (crti.o and crtn.o) in the
makefile.
Diffstat (limited to 'src/exit')
0 files changed, 0 insertions, 0 deletions