aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.3.3+cs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-19 07:41:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-19 07:41:33 +0000
commitdb56f6acc3217c945c0ae090fd7db5881c119c63 (patch)
treef8ca85c0972655a6cf17f1cbc967c510e85c3e9f /toolchain/gcc/patches/4.3.3+cs
parent48bba4c0b59315a01c3358ac98cb269394b63446 (diff)
downloadupstream-db56f6acc3217c945c0ae090fd7db5881c119c63.tar.gz
upstream-db56f6acc3217c945c0ae090fd7db5881c119c63.tar.bz2
upstream-db56f6acc3217c945c0ae090fd7db5881c119c63.zip
binutils: add support for non-pic handling and use it in the codesourcery based gcc, fixes mips support for this toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18070 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.3.3+cs')
-rw-r--r--toolchain/gcc/patches/4.3.3+cs/001-no_mips_nonpic_default.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/toolchain/gcc/patches/4.3.3+cs/001-no_mips_nonpic_default.patch b/toolchain/gcc/patches/4.3.3+cs/001-no_mips_nonpic_default.patch
deleted file mode 100644
index cf6503b793..0000000000
--- a/toolchain/gcc/patches/4.3.3+cs/001-no_mips_nonpic_default.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/gcc/config/mips/linux.h
-+++ b/gcc/config/mips/linux.h
-@@ -75,8 +75,7 @@ along with GCC; see the file COPYING3.
- %{static:-static}}}"
-
- #undef SUBTARGET_ASM_SPEC
--#define SUBTARGET_ASM_SPEC \
-- "%{mabi=64: -64} %{mabicalls:%{fpic|fPIC|fpie|fPIE:-KPIC;:-mnon-pic-abicalls}}"
-+#define SUBTARGET_ASM_SPEC "%{mabi=64: -64} %{!mno-abicalls:-KPIC}"
-
- /* The MIPS assembler has different syntax for .set. We set it to
- .dummy to trap any errors. */
---- a/gcc/config/mips/linux64.h
-+++ b/gcc/config/mips/linux64.h
-@@ -28,7 +28,7 @@ NO_SHARED_SPECS \
-
- #undef SUBTARGET_ASM_SPEC
- #define SUBTARGET_ASM_SPEC "\
--%{mabicalls:%{fpic|fPIC|fpie|fPIE:-KPIC;:-mnon-pic-abicalls}} \
-+%{!fno-PIC:%{!fno-pic:-KPIC}} \
- %{fno-PIC:-non_shared} %{fno-pic:-non_shared}"
-
- #undef LIB_SPEC