aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2011-06-10 10:34:45 -0700
committerRoland McGrath <roland@hack.frob.com>2011-06-10 10:34:45 -0700
commitb350afabd9c4980a629e6bedf359d1b7b2f31375 (patch)
tree05d21e5b2a17f047afe5d22f86782b61f62d4fda /elf/Makefile
parent28368601e303e415b99ed127c5319362b1d75203 (diff)
downloadglibc-b350afabd9c4980a629e6bedf359d1b7b2f31375.zip
glibc-b350afabd9c4980a629e6bedf359d1b7b2f31375.tar.gz
glibc-b350afabd9c4980a629e6bedf359d1b7b2f31375.tar.bz2
Revert -r -> -Wl,-r change.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 5b199e6..844c9ca 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -353,7 +353,7 @@ lib-noranlib: $(objpfx)$(rtld-installed-name) \
endif
# Command to link into a larger single relocatable object.
-reloc-link = $(LINK.o) -nostdlib -nostartfiles -Wl,-r
+reloc-link = $(LINK.o) -nostdlib -nostartfiles -r
$(objpfx)dl-allobjs.os: $(all-rtld-routines:%=$(objpfx)%.os)
$(reloc-link) -o $@ $^
@@ -398,8 +398,7 @@ $(objpfx)rtld-libc.a: $(objpfx)librtld.mk FORCE
$(MAKE) -f $< -f rtld-Rules
$(objpfx)librtld.os: $(objpfx)dl-allobjs.os $(objpfx)rtld-libc.a
- $(LINK.o) -nostdlib -nostartfiles -Wl,-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