aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2015-09-11 17:58:39 +0000
committerHauke Mehrtens <hauke@openwrt.org>2015-09-11 17:58:39 +0000
commit0ba7b4358b6dd12fe5c194be04ee8f5a653d6db9 (patch)
treee0456b518b98bdbd4ec56ba2305cfeb4aa9999ee /toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch
parentb4fa411c557274cb9c126b171155acad2ed839a8 (diff)
downloadmaster-187ad058-0ba7b4358b6dd12fe5c194be04ee8f5a653d6db9.tar.gz
master-187ad058-0ba7b4358b6dd12fe5c194be04ee8f5a653d6db9.tar.bz2
master-187ad058-0ba7b4358b6dd12fe5c194be04ee8f5a653d6db9.zip
binutils: add binutils 2.25.1
This adds binutils 2.25.1 as an option to OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46874 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch')
-rw-r--r--toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch b/toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch
new file mode 100644
index 0000000000..a63203d1cc
--- /dev/null
+++ b/toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch
@@ -0,0 +1,18 @@
+--- a/bfd/elfxx-mips.c
++++ b/bfd/elfxx-mips.c
+@@ -7689,6 +7689,7 @@ _bfd_mips_elf_create_dynamic_sections (b
+
+ name = SGI_COMPAT (abfd) ? "_DYNAMIC_LINK" : "_DYNAMIC_LINKING";
+ bh = NULL;
++ if (0) {
+ if (!(_bfd_generic_link_add_one_symbol
+ (info, abfd, name, BSF_GLOBAL, bfd_abs_section_ptr, 0,
+ NULL, FALSE, get_elf_backend_data (abfd)->collect, &bh)))
+@@ -7701,6 +7702,7 @@ _bfd_mips_elf_create_dynamic_sections (b
+
+ if (! bfd_elf_link_record_dynamic_symbol (info, h))
+ return FALSE;
++ }
+
+ if (! mips_elf_hash_table (info)->use_rld_obj_head)
+ {