summaryrefslogtreecommitdiff
path: root/toolchain/gcc
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
commitb4d03a27803299a9fce03cdf8c012b4ce774d101 (patch)
tree483f12b7054a4fa67ff13364f6d77ebc32b843ad /toolchain/gcc
parentde6c0303ee0fac475d5a5a6807c6272d207d9f76 (diff)
downloadmtk-20170518-b4d03a27803299a9fce03cdf8c012b4ce774d101.zip
mtk-20170518-b4d03a27803299a9fce03cdf8c012b4ce774d101.tar.gz
mtk-20170518-b4d03a27803299a9fce03cdf8c012b4ce774d101.tar.bz2
binutils: add support for non-pic handling and use it in the codesourcery based gcc, fixes mips support for this toolchain
SVN-Revision: 18070
Diffstat (limited to 'toolchain/gcc')
-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 cf6503b..0000000
--- 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