diff options
author | 2015-02-12 13:38:47 -0800 | |
---|---|---|
committer | 2015-02-12 13:38:47 -0800 | |
commit | 04f5a636b6ac79677967d901a956f336a7ccfee3 (patch) | |
tree | d15e1815c2338b2af7dd504597240368568b7850 /elf | |
parent | Document tv_sec is of type time_t: (diff) | |
download | glibc-04f5a636b6ac79677967d901a956f336a7ccfee3.tar.gz glibc-04f5a636b6ac79677967d901a956f336a7ccfee3.tar.bz2 glibc-04f5a636b6ac79677967d901a956f336a7ccfee3.zip |
Support after-link variable to run a final step on binaries.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile index f2d1781916..b43b48ed95 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -349,6 +349,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map) $(filter-out $(map-file),$^) $(load-map-file) \ -Wl,-soname=$(rtld-installed-name) \ -Wl,-defsym=_begin=0 + $(call after-link,$@.new) $(READELF) -s $@.new \ | $(AWK) '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }' mv -f $@.new $@ |