aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-08 20:01:28 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-08 20:01:28 -0700
commit9165f4548be8612161fb90cfad9bd0cc6a752c90 (patch)
tree2d01220c331d3f42ecd91adb8dce018f034c506a /ld
parenta26c49b78ac3cac3ac812304bc06cf2beb1379aa (diff)
downloadgdb-9165f4548be8612161fb90cfad9bd0cc6a752c90.zip
gdb-9165f4548be8612161fb90cfad9bd0cc6a752c90.tar.gz
gdb-9165f4548be8612161fb90cfad9bd0cc6a752c90.tar.bz2
ld: Add a ',' after -Wl,--rpath
* configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath. * configure: Regenerated.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rwxr-xr-xld/configure2
-rw-r--r--ld/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 65ddf6b..c1db121 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
+ * configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath.
+ * configure: Regenerated.
+
+2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/21923
* configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath
for --disable-static.
diff --git a/ld/configure b/ld/configure
index f1d1f0e..d7f66f8 100755
--- a/ld/configure
+++ b/ld/configure
@@ -17298,7 +17298,7 @@ EMULATION_LIBPATH=$all_libpath
if test x${enable_static} = xno; then
- TESTBFDLIB="-Wl,--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
+ TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
else
TESTBFDLIB="../bfd/.libs/libbfd.a"
fi
diff --git a/ld/configure.ac b/ld/configure.ac
index 9bada13..00080f8 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -470,7 +470,7 @@ EMULATION_LIBPATH=$all_libpath
AC_SUBST(EMULATION_LIBPATH)
if test x${enable_static} = xno; then
- TESTBFDLIB="-Wl,--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
+ TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
else
TESTBFDLIB="../bfd/.libs/libbfd.a"
fi