aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-05 01:49:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-05 01:49:20 +0000
commit0429992d65ce8e4e4aea213ab25dc36a3b363d27 (patch)
tree6b24af26527c27882d1772aa9a34550a2e1eba39 /toolchain
parent565d7138d99a8017f7bb3377066cbffd8d6d10ad (diff)
downloadupstream-0429992d65ce8e4e4aea213ab25dc36a3b363d27.tar.gz
upstream-0429992d65ce8e4e4aea213ab25dc36a3b363d27.tar.bz2
upstream-0429992d65ce8e4e4aea213ab25dc36a3b363d27.zip
binutils: fix build errors in 2.20 (patch from #6094)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18307 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/patches/2.20/200-mips_non_pic.patch11
1 files changed, 9 insertions, 2 deletions
diff --git a/toolchain/binutils/patches/2.20/200-mips_non_pic.patch b/toolchain/binutils/patches/2.20/200-mips_non_pic.patch
index 71799ff1fe..56891432e7 100644
--- a/toolchain/binutils/patches/2.20/200-mips_non_pic.patch
+++ b/toolchain/binutils/patches/2.20/200-mips_non_pic.patch
@@ -179,11 +179,18 @@
if (! bfd_set_arch_mach (stdoutput, bfd_arch_mips, file_mips_arch))
as_warn (_("Could not set architecture and machine"));
-@@ -11359,6 +11365,8 @@ struct option md_longopts[] =
+@@ -11264,6 +11264,7 @@
+ OPTION_PDR,
+ OPTION_NO_PDR,
+ OPTION_MVXWORKS_PIC,
++ OPTION_NON_PIC_ABICALLS,
+ #endif /* OBJ_ELF */
+ OPTION_END_OF_ENUM
+ };
+@@ -11365,6 +11372,7 @@ struct option md_longopts[] =
{"mpdr", no_argument, NULL, OPTION_PDR},
{"mno-pdr", no_argument, NULL, OPTION_NO_PDR},
{"mvxworks-pic", no_argument, NULL, OPTION_MVXWORKS_PIC},
-+#define OPTION_NON_PIC_ABICALLS (OPTION_ELF_BASE + 13)
+ {"mnon-pic-abicalls", no_argument, NULL, OPTION_NON_PIC_ABICALLS},
#endif /* OBJ_ELF */