summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/3.4.6/nios2-config-fix.patch.conditional
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:57:25 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:57:25 +0000
commit00f34a0cdc3e3f82d0408cc1b820fcba0ef4aee0 (patch)
treef18cdfbd7a55c15a382649ced78d8577f0dad261 /toolchain/gcc/3.4.6/nios2-config-fix.patch.conditional
parent3d4957b0dd431b0dd55809a1815abda7e0aa1989 (diff)
downloadbuildroot-novena-00f34a0cdc3e3f82d0408cc1b820fcba0ef4aee0.tar.gz
buildroot-novena-00f34a0cdc3e3f82d0408cc1b820fcba0ef4aee0.zip
update gcc nios2 support, thanks atle
Diffstat (limited to 'toolchain/gcc/3.4.6/nios2-config-fix.patch.conditional')
-rw-r--r--toolchain/gcc/3.4.6/nios2-config-fix.patch.conditional19
1 files changed, 19 insertions, 0 deletions
diff --git a/toolchain/gcc/3.4.6/nios2-config-fix.patch.conditional b/toolchain/gcc/3.4.6/nios2-config-fix.patch.conditional
new file mode 100644
index 000000000..9f1c37868
--- /dev/null
+++ b/toolchain/gcc/3.4.6/nios2-config-fix.patch.conditional
@@ -0,0 +1,19 @@
+--- gcc-3.4.6/gcc/config/t-linux-uclibc 2007-11-07 14:50:34.000000000 +0100
++++ /dev/null 2007-11-02 12:35:37.750656579 +0100
+@@ -1,5 +0,0 @@
+-# Remove glibc specific files added in t-linux
+-SHLIB_MAPFILES := $(filter-out $(srcdir)/config/libgcc-glibc.ver, $(SHLIB_MAPFILES))
+-
+-# Use unwind-dw2-fde instead of unwind-dw2-fde-glibc
+-LIB2ADDEH := $(subst unwind-dw2-fde-glibc.c,unwind-dw2-fde.c,$(LIB2ADDEH))
+--- gcc-3.4.6/gcc/config.gcc.orig 2007-11-07 14:50:34.000000000 +0100
++++ gcc-3.4.6/gcc/config.gcc 2007-11-07 15:32:31.000000000 +0100
+@@ -2334,7 +2334,7 @@
+ # Rather than hook into each target, just do it after all the linux
+ # targets have been processed
+ case ${target} in
+-*-linux-uclibc*) tm_defines="${tm_defines} USE_UCLIBC" ; tmake_file="${tmake_file} t-linux-uclibc"
++*-linux-uclibc*) tm_defines="${tm_defines} USE_UCLIBC"
+ esac
+
+ # Support for --with-cpu and related options (and a few unrelated options,