patches/gcc/4.4.2/160-netbsd-symbolic.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Fri Nov 09 19:42:32 2012 +0100 (2012-11-09)
changeset 3104 7da91f9ba328
parent 1544 2228ea3f6b79
permissions -rw-r--r--
cc/gcc: fix patches for 4.6.{0,1}

Remove the sparc part, as it touches code that does not exist in
those versions of gcc (it was added at 4.6.2).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
CC: Florian Fainelli <f.fainelli@gmail.com>
     1 diff -durN gcc-4.4.0.orig/gcc/config/netbsd-elf.h gcc-4.4.0/gcc/config/netbsd-elf.h
     2 --- gcc-4.4.0.orig/gcc/config/netbsd-elf.h	2007-09-03 18:14:04.000000000 +0200
     3 +++ gcc-4.4.0/gcc/config/netbsd-elf.h	2009-05-27 21:38:14.000000000 +0200
     4 @@ -82,6 +82,7 @@
     5  #define NETBSD_LINK_SPEC_ELF \
     6    "%{assert*} %{R*} %{rpath*} \
     7     %{shared:-shared} \
     8 +   %{symbolic:-Bsymbolic} \
     9     %{!shared: \
    10       -dc -dp \
    11       %{!nostdlib: \