aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenigno B. Junior <bbj@gentoo.org>2015-06-03 13:29:51 +0000
committerJeff Law <law@redhat.com>2015-06-03 13:29:51 +0000
commit6e0639e81bcd8296403491af0ecba0fc5c718dd4 (patch)
tree8677ab42ca22ed99ac25339f4616262f31b90efc
parent9adef16963cbe11c3b3413f1822deabf63ccd2c4 (diff)
2015-06-03 Benigno B. Junior <bbj@gentoo.org>
* config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Turn -symbolic into -Bsymbolic. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@224079 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/netbsd-elf.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ae786097711..d9266df99fb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-03 Benigno B. Junior <bbj@gentoo.org>
+
+ * config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Turn -symbolic into
+ -Bsymbolic.
+
2015-06-02 Andres Tiraboschi <andres.tiraboschi@tallertechnologies.com>
* doc/plugins.texi (enum plugin_event): New event.
diff --git a/gcc/config/netbsd-elf.h b/gcc/config/netbsd-elf.h
index ea094293dd6..a679bbde238 100644
--- a/gcc/config/netbsd-elf.h
+++ b/gcc/config/netbsd-elf.h
@@ -70,6 +70,7 @@ along with GCC; see the file COPYING3. If not see
#define NETBSD_LINK_SPEC_ELF \
"%{assert*} %{R*} %{rpath*} \
%{shared:-shared} \
+ %{symbolic:-Bsymbolic} \
%{!shared: \
-dc -dp \
%{!nostdlib: \