aboutsummaryrefslogtreecommitdiff
path: root/glibc
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-12-11 05:30:33 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-12-11 05:30:33 -0800
commit795c04ea67f41281501cf54a145bc995b1c395ad (patch)
tree99183c4c453525561ded33674a06ae0f19c3156e /glibc
parentfb428cb3bea10af947e67521dfc24cbac327bd91 (diff)
downloadriscv-gnu-toolchain-795c04ea67f41281501cf54a145bc995b1c395ad.zip
riscv-gnu-toolchain-795c04ea67f41281501cf54a145bc995b1c395ad.tar.gz
riscv-gnu-toolchain-795c04ea67f41281501cf54a145bc995b1c395ad.tar.bz2
binutils: set text start addresses more sensibly
Position-dependent executables are now linked at base address 0x800000. Shared libraries and PIEs are now linked at base address 0.
Diffstat (limited to 'glibc')
-rw-r--r--glibc/sysdeps/riscv/rv64/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/glibc/sysdeps/riscv/rv64/Makefile b/glibc/sysdeps/riscv/rv64/Makefile
index 26b6a49..df2aaff 100644
--- a/glibc/sysdeps/riscv/rv64/Makefile
+++ b/glibc/sysdeps/riscv/rv64/Makefile
@@ -1,6 +1,3 @@
-# Link libc.so at its likely load address for faster dynamic linking
-LDLIBS-c.so += -Wl,--section-start=.dynamic=0x40100270
-
ifeq ($(filter -m64,$(CC)),)
CC += -m64
endif