aboutsummaryrefslogtreecommitdiff
blob: a24766b9d0450b845166d177d1c9946885cbdd3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://bugs.gentoo.org/122698
https://gcc.gnu.org/ml/gcc-patches/2015-05/msg02854.html

--- gcc/config/netbsd-elf.h
+++ gcc/config/netbsd-elf.h
@@ -83,6 +83,7 @@
 #define NETBSD_LINK_SPEC_ELF \
   "%{assert*} %{R*} %{rpath*} \
    %{shared:-shared} \
+   %{symbolic:-Bsymbolic} \
    %{!shared: \
      -dc -dp \
      %{!nostdlib: \