patches/gcc/4.4.3/160-netbsd-symbolic.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jan 01 19:14:20 2014 +0100 (2014-01-01)
changeset 3265 c010db3c6ab7
parent 1611 e2516bba8fe5
permissions -rw-r--r--
kernel/linux: fix fall-out due to arm64 special case

Cset 3b61be3d7aa6 (prepare for arch whose kenel name is not the standard name)
failed to name a variable consistently, so all archs but arm64 were broken.

Fix that by renaming the variable in a consistent way.

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     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: \