Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 20 Sep 2003 06:16:45 +0000 (06:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 20 Sep 2003 06:16:45 +0000 (06:16 +0000)
* elf/Makefile ($(objpfx)librtld.os): Create link map also for
final build to ease quality control.

ChangeLog
elf/Makefile

index 8773c67..753cd41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-09-19  Ulrich Drepper  <drepper@redhat.com>
 
+       * elf/Makefile ($(objpfx)librtld.os): Create link map also for
+       final build to ease quality control.
+
        * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): If compiled for
        ld.so, don't include NULL buffer pointer handling.
 
index c292cfa..d5a1c3d 100644 (file)
@@ -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