patches/gcc/4.4.4/160-netbsd-symbolic.patch
author Esben Haabendal <esben.haabendal@prevas.dk>
Wed Sep 26 09:09:23 2012 +0200 (2012-09-26)
changeset 3065 603ccf80c48b
parent 1948 d341be24dc68
permissions -rw-r--r--
kernel/linux: change m68k/no-mmu linux arch tuple to use -uclinux

GCC requires m68k arch tuples to be *-*-uclinux-* to support Linux on
no-mmu m68k (ColdFire) cpus.

Blackfin arch tuple must be *-*-linux-uclibc for FD_PIC_ELF toolchains,
so we cannot just switch to uclinux for no-mmu Linux toolchains.

Signed-off-by: "Esben Haabendal" <esben@haabendal.dk>
Message-Id: <876271s1ee.fsf@arh128.prevas.dk>
PatchWork-Id: 186976
     1 diff -durN gcc-4.4.4.orig/gcc/config/netbsd-elf.h gcc-4.4.4/gcc/config/netbsd-elf.h
     2 --- gcc-4.4.4.orig/gcc/config/netbsd-elf.h	2007-09-03 18:14:04.000000000 +0200
     3 +++ gcc-4.4.4/gcc/config/netbsd-elf.h	2010-05-16 19:11:50.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: \