patches/gcc/4.4.3/160-netbsd-symbolic.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 18:10:53 2011 +0200 (2011-07-17)
changeset 2890 a59712c236df
parent 1611 e2516bba8fe5
permissions -rw-r--r--
cc/gcc: add host parameter to core compiler build process

Tell the core compiler what host it should run on (instead of
hard-coding runing on CT_HOST).

No functional change so far, switching between CT_HOST and CT_BUILD
will come in a following patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.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: \