From: Kevin Darbyshire-Bryant Date: Sun, 21 Apr 2019 13:57:44 +0000 (+0100) Subject: toolchain/binutils: refresh patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13ffdf44824e8e8d276c2cb3b1cc181471c33101;p=openwrt%2Fstaging%2Fnoltari.git toolchain/binutils: refresh patches Fix hunk offset warnings. Signed-off-by: Kevin Darbyshire-Bryant --- diff --git a/toolchain/binutils/patches/2.32/300-012_check_ldrunpath_length.patch b/toolchain/binutils/patches/2.32/300-012_check_ldrunpath_length.patch index 58ee759de6..1e8695f2fc 100644 --- a/toolchain/binutils/patches/2.32/300-012_check_ldrunpath_length.patch +++ b/toolchain/binutils/patches/2.32/300-012_check_ldrunpath_length.patch @@ -9,7 +9,7 @@ if (path && gld${EMULATION_NAME}_search_needed (path, &n, force)) break; -@@ -1751,6 +1753,8 @@ gld${EMULATION_NAME}_before_allocation ( +@@ -1746,6 +1748,8 @@ gld${EMULATION_NAME}_before_allocation ( rpath = command_line.rpath; if (rpath == NULL) rpath = (const char *) getenv ("LD_RUN_PATH"); diff --git a/toolchain/binutils/patches/2.32/400-mips_no_dynamic_linking_sym.patch b/toolchain/binutils/patches/2.32/400-mips_no_dynamic_linking_sym.patch index 91ff77f827..fb3f7f59b9 100644 --- a/toolchain/binutils/patches/2.32/400-mips_no_dynamic_linking_sym.patch +++ b/toolchain/binutils/patches/2.32/400-mips_no_dynamic_linking_sym.patch @@ -1,6 +1,6 @@ --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c -@@ -7888,6 +7888,7 @@ _bfd_mips_elf_create_dynamic_sections (b +@@ -8001,6 +8001,7 @@ _bfd_mips_elf_create_dynamic_sections (b name = SGI_COMPAT (abfd) ? "_DYNAMIC_LINK" : "_DYNAMIC_LINKING"; bh = NULL; @@ -8,7 +8,7 @@ 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))) -@@ -7900,6 +7901,7 @@ _bfd_mips_elf_create_dynamic_sections (b +@@ -8013,6 +8014,7 @@ _bfd_mips_elf_create_dynamic_sections (b if (! bfd_elf_link_record_dynamic_symbol (info, h)) return FALSE; diff --git a/toolchain/binutils/patches/2.32/500-Change-default-emulation-for-mips64-linux.patch b/toolchain/binutils/patches/2.32/500-Change-default-emulation-for-mips64-linux.patch index c6e123e88e..bd7f7f29ad 100644 --- a/toolchain/binutils/patches/2.32/500-Change-default-emulation-for-mips64-linux.patch +++ b/toolchain/binutils/patches/2.32/500-Change-default-emulation-for-mips64-linux.patch @@ -1,6 +1,6 @@ --- a/bfd/config.bfd +++ b/bfd/config.bfd -@@ -913,12 +913,12 @@ case "${targ}" in +@@ -919,12 +919,12 @@ case "${targ}" in targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips64*el-*-linux*) @@ -19,7 +19,7 @@ targ_defvec=mips_elf32_trad_le_vec --- a/ld/configure.tgt +++ b/ld/configure.tgt -@@ -464,11 +464,11 @@ mips*el-*-vxworks*) targ_emul=elf32elmip +@@ -468,11 +468,11 @@ mips*el-*-vxworks*) targ_emul=elf32elmip mips*-*-vxworks*) targ_emul=elf32ebmipvxworks targ_extra_emuls="elf32elmipvxworks" ;; mips*-*-windiss) targ_emul=elf32mipswindiss ;;