aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-09-24 13:13:57 +0930
committerAlan Modra <amodra@gmail.com>2015-09-24 22:35:04 +0930
commit3074964fcfff45aef4584b84550eeef84f902fc4 (patch)
tree64869957c144cf643bfcee734e9e08a84682e83d /ld/ChangeLog
parent938d3bf25b2f5bc1a9d955d86070e8bbee127f52 (diff)
downloadfsf-binutils-gdb-3074964fcfff45aef4584b84550eeef84f902fc4.zip
fsf-binutils-gdb-3074964fcfff45aef4584b84550eeef84f902fc4.tar.gz
fsf-binutils-gdb-3074964fcfff45aef4584b84550eeef84f902fc4.tar.bz2
Relative DT_RPATH/DT_RUNPATH vs. sysroot capable ld.
This fixes two problems. First, the --sysroot option wasn't available with a ld configured without --with-sysroot, a historical accident. This led to people configuring binutils with --with-sysroot=/ in order to enable sysroot support, which exposes a case where ld wrongly prepends the sysroot to a relative path. PR ld/18992 * ldmain.c (main): Always enable --sysroot. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't prepend sysroot to relative rpath/runpath.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3b69e31..9b664d0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2015-09-24 Alan Modra <amodra@gmail.com>
+
+ PR ld/18992
+ * ldmain.c (main): Always enable --sysroot.
+ * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
+ prepend sysroot to relative rpath/runpath.
+
2015-09-23 Nick Clifton <nickc@redhat.com>
* emultempl/elf32.em (ehdr_start_empty): New static variable.