patches/gcc/4.4.5/160-netbsd-symbolic.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 15 22:52:51 2011 +0200 (2011-08-15)
changeset 2933 be5d4773a894
permissions -rw-r--r--
cc/gcc: pass the language list to the core backend

As the core backend can be used to also build the bare-metal compiler,
we have to tel it what languages to build.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 diff -durN gcc-4.4.5.orig/gcc/config/netbsd-elf.h gcc-4.4.5/gcc/config/netbsd-elf.h
     2 --- gcc-4.4.5.orig/gcc/config/netbsd-elf.h	2007-09-03 18:14:04.000000000 +0200
     3 +++ gcc-4.4.5/gcc/config/netbsd-elf.h	2010-10-09 22:59:57.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: \