summaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-20 06:16:45 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-20 06:16:45 +0000
commit5896ffa882668a7761a4af3c2ef955b906f91faa (patch)
tree2c4026a615fdf75969c1434f679c53d83e5abd5b /elf/Makefile
parent8d04a97cd888670b9d385540d28978cc300f2110 (diff)
downloadglibc-5896ffa882668a7761a4af3c2ef955b906f91faa.tar.gz
Update.
* elf/Makefile ($(objpfx)librtld.os): Create link map also for final build to ease quality control.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index c292cfa283..d5a1c3de34 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -247,10 +247,11 @@ $(objpfx)librtld.mk: $(objpfx)librtld.map Makefile
$(objpfx)rtld-libc.a: $(objpfx)librtld.mk FORCE
$(MAKE) -f $< -f rtld-Rules
-generated += librtld.map librtld.mk rtld-libc.a
-
$(objpfx)librtld.os: $(objpfx)dl-allobjs.os $(objpfx)rtld-libc.a
- $(LINK.o) -nostdlib -nostartfiles -r -o $@ '-Wl,-(' $^ -lgcc '-Wl,-)'
+ $(LINK.o) -nostdlib -nostartfiles -r -o $@ '-Wl,-(' $^ -lgcc '-Wl,-)' \
+ -Wl,-Map,$@.map
+
+generated += librtld.map librtld.mk rtld-libc.a librtld.os.map
$(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
@rm -f $@.lds