From 5896ffa882668a7761a4af3c2ef955b906f91faa Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Sep 2003 06:16:45 +0000 Subject: [PATCH] Update. * elf/Makefile ($(objpfx)librtld.os): Create link map also for final build to ease quality control. --- ChangeLog | 3 +++ elf/Makefile | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8773c675f3..753cd4162f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-09-19 Ulrich Drepper + * 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. 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