summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.3.2/generic/gentoo/11_all_gcc-netbsd-symbolic.patch
blob: f924ff818dfe7a987b804434e9bb0037e2aeb8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
http://bugs.gentoo.org/122698

---
 gcc/config/netbsd-elf.h |    1 +
 1 file changed, 1 insertion(+)

Index: gcc-4.3.1/gcc/config/netbsd-elf.h
===================================================================
--- gcc-4.3.1.orig/gcc/config/netbsd-elf.h
+++ gcc-4.3.1/gcc/config/netbsd-elf.h
@@ -82,6 +82,7 @@ along with GCC; see the file COPYING3.  
 #define NETBSD_LINK_SPEC_ELF \
   "%{assert*} %{R*} %{rpath*} \
    %{shared:-shared} \
+   %{symbolic:-Bsymbolic} \
    %{!shared: \
      -dc -dp \
      %{!nostdlib: \