summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-09-11 17:58:39 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-09-11 17:58:39 +0000
commit98e00f8fdd92174aad58612107fd2cee06fbe036 (patch)
tree53826aa951c0f2d9c5cda2e88f674b816fb87d9f /toolchain/binutils/patches/2.25.1/400-mips_no_dynamic_linking_sym.patch
parent0fdb4a458b08a802302801915801685b62c16f10 (diff)
downloadmtk-20170518-98e00f8fdd92174aad58612107fd2cee06fbe036.zip
mtk-20170518-98e00f8fdd92174aad58612107fd2cee06fbe036.tar.gz
mtk-20170518-98e00f8fdd92174aad58612107fd2cee06fbe036.tar.bz2
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> SVN-Revision: 46874
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 0000000..a63203d
--- /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)
+ {