diff options
author | Roland McGrath <roland@hack.frob.com> | 2011-06-09 17:06:46 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2011-06-09 17:07:50 -0700 |
commit | 28368601e303e415b99ed127c5319362b1d75203 (patch) | |
tree | 90abd55c6f1d34bf189f611e49767ad680e963da /Makerules | |
parent | 175b70988b3a5ff8087ff810937b3599aa6aa3ca (diff) | |
download | glibc-28368601e303e415b99ed127c5319362b1d75203.tar.gz glibc-28368601e303e415b99ed127c5319362b1d75203.tar.xz glibc-28368601e303e415b99ed127c5319362b1d75203.zip |
Use -Wl,-r instead of plain -r.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules index 82ffa1e2b8..472948fbc6 100644 --- a/Makerules +++ b/Makerules @@ -610,7 +610,7 @@ endif # between libc.so and ld.so, which can make it impossible to upgrade. ifeq ($(elf),yes) $(common-objpfx)libc_pic.os: $(common-objpfx)libc_pic.a - $(LINK.o) -nostdlib -nostartfiles -r -o $@ \ + $(LINK.o) -nostdlib -nostartfiles -Wl,-r -o $@ \ $(LDFLAGS-c_pic.os) -Wl,-d -Wl,--whole-archive $^ # Use our own special initializer and finalizer files for libc.so. $(common-objpfx)libc.so: $(elfobjdir)/soinit.os \ |