aboutsummaryrefslogtreecommitdiff
blob: 4db281ef50065178384933319c5f83628ee0df9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/122698

--- 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: \