diff options
Diffstat (limited to 'toolchain/binutils/patches/2.25.1')
-rw-r--r-- | toolchain/binutils/patches/2.25.1/bfin.patch | 13 | ||||
-rw-r--r-- | toolchain/binutils/patches/2.25.1/m68k.patch | 11 | ||||
-rw-r--r-- | toolchain/binutils/patches/2.25.1/microblaze.patch | 16 | ||||
-rw-r--r-- | toolchain/binutils/patches/2.25.1/nds32.patch | 14 | ||||
-rw-r--r-- | toolchain/binutils/patches/2.25.1/sheb.patch | 54 |
5 files changed, 0 insertions, 108 deletions
diff --git a/toolchain/binutils/patches/2.25.1/bfin.patch b/toolchain/binutils/patches/2.25.1/bfin.patch deleted file mode 100644 index 1f287518a..000000000 --- a/toolchain/binutils/patches/2.25.1/bfin.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c -index 7cc8b6d..12f0add 100644 ---- a/bfd/elf32-bfin.c -+++ b/bfd/elf32-bfin.c -@@ -4457,7 +4457,7 @@ elf32_bfinfdpic_finish_dynamic_sections (bfd *output_bfd, - if (bfinfdpic_got_section (info)) - { - BFD_ASSERT (bfinfdpic_gotrel_section (info)->size -- == (bfinfdpic_gotrel_section (info)->reloc_count -+ >= (bfinfdpic_gotrel_section (info)->reloc_count - * sizeof (Elf32_External_Rel))); - - if (bfinfdpic_gotfixup_section (info)) diff --git a/toolchain/binutils/patches/2.25.1/m68k.patch b/toolchain/binutils/patches/2.25.1/m68k.patch deleted file mode 100644 index baa5c7b7c..000000000 --- a/toolchain/binutils/patches/2.25.1/m68k.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nur binutils-2.25.1.orig/bfd/elf32-m68k.c binutils-2.25.1/bfd/elf32-m68k.c ---- binutils-2.25.1.orig/bfd/elf32-m68k.c 2015-07-21 10:20:58.000000000 +0200 -+++ binutils-2.25.1/bfd/elf32-m68k.c 2016-10-30 17:32:01.125211066 +0100 -@@ -2637,7 +2637,6 @@ - if (sgot == NULL) - { - sgot = bfd_get_linker_section (dynobj, ".got"); -- BFD_ASSERT (sgot != NULL); - } - - if (srelgot == NULL diff --git a/toolchain/binutils/patches/2.25.1/microblaze.patch b/toolchain/binutils/patches/2.25.1/microblaze.patch deleted file mode 100644 index 8b39a10f9..000000000 --- a/toolchain/binutils/patches/2.25.1/microblaze.patch +++ /dev/null @@ -1,16 +0,0 @@ -From here: -https://sourceware.org/bugzilla/show_bug.cgi?id=19516 - -diff -Nur binutils-2.25.1.orig/bfd/elf32-microblaze.c binutils-2.25.1/bfd/elf32-microblaze.c ---- binutils-2.25.1.orig/bfd/elf32-microblaze.c 2015-07-21 10:20:58.000000000 +0200 -+++ binutils-2.25.1/bfd/elf32-microblaze.c 2016-02-14 11:38:45.822387506 +0100 -@@ -3293,8 +3293,7 @@ - The entry in the global offset table will already have been - initialized in the relocate_section function. */ - if (info->shared -- && (info->symbolic || h->dynindx == -1) -- && h->def_regular) -+ && ((info->symbolic && h->def_regular) || h->dynindx == -1)) - { - asection *sec = h->root.u.def.section; - microblaze_elf_output_dynamic_relocation (output_bfd, diff --git a/toolchain/binutils/patches/2.25.1/nds32.patch b/toolchain/binutils/patches/2.25.1/nds32.patch deleted file mode 100644 index a7fcc5120..000000000 --- a/toolchain/binutils/patches/2.25.1/nds32.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nur binutils-2.25.1.orig/ld/configure.tgt binutils-2.25.1/ld/configure.tgt ---- binutils-2.25.1.orig/ld/configure.tgt 2014-10-14 09:32:04.000000000 +0200 -+++ binutils-2.25.1/ld/configure.tgt 2016-03-10 00:45:31.000000000 +0100 -@@ -525,8 +525,8 @@ - nds32*be-*-elf*) targ_emul=nds32belf - targ_extra_emuls="nds32elf nds32elf16m nds32belf16m" - ;; --nds32*le-*-linux-gnu*) targ_emul=nds32elf_linux ;; --nds32*be-*-linux-gnu*) targ_emul=nds32belf_linux ;; -+nds32*le-*-linux*) targ_emul=nds32elf_linux ;; -+nds32*be-*-linux*) targ_emul=nds32belf_linux ;; - nios2*-*-linux*) targ_emul=nios2linux ;; - nios2*-*-*) targ_emul=nios2elf ;; - ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; diff --git a/toolchain/binutils/patches/2.25.1/sheb.patch b/toolchain/binutils/patches/2.25.1/sheb.patch deleted file mode 100644 index cb155e663..000000000 --- a/toolchain/binutils/patches/2.25.1/sheb.patch +++ /dev/null @@ -1,54 +0,0 @@ -Patch from Rich Felker -From here: -https://github.com/richfelker/musl-cross-make/blob/master/patches/binutils-2.25.1/0003-shemuls.diff - -Required to build sh2 big endian toolchain. - -diff -Nur binutils-2.25.1.orig/bfd/config.bfd binutils-2.25.1/bfd/config.bfd ---- binutils-2.25.1.orig/bfd/config.bfd 2014-10-14 09:32:02.000000000 +0200 -+++ binutils-2.25.1/bfd/config.bfd 2015-12-06 15:17:26.703094863 +0100 -@@ -1370,6 +1370,7 @@ - sh-*-linux*) - targ_defvec=sh_elf32_linux_be_vec - targ_selvecs="sh_elf32_linux_vec sh64_elf32_linux_vec sh64_elf32_linux_be_vec sh64_elf64_linux_vec sh64_elf64_linux_be_vec" -+ targ_selvecs="${targ_selvecs} sh_elf32_vec sh_elf32_le_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec" - want64=true - ;; - #endif /* BFD64 */ -@@ -1377,10 +1378,12 @@ - sh*eb-*-linux*) - targ_defvec=sh_elf32_linux_be_vec - targ_selvecs=sh_elf32_linux_vec -+ targ_selvecs="${targ_selvecs} sh_elf32_vec sh_elf32_le_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec" - ;; - sh*-*-linux*) - targ_defvec=sh_elf32_linux_vec - targ_selvecs=sh_elf32_linux_be_vec -+ targ_selvecs="${targ_selvecs} sh_elf32_vec sh_elf32_le_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec" - ;; - - sh-*-uclinux* | sh[12]-*-uclinux*) -diff -Nur binutils-2.25.1.orig/ld/configure.tgt binutils-2.25.1/ld/configure.tgt ---- binutils-2.25.1.orig/ld/configure.tgt 2014-10-14 09:32:04.000000000 +0200 -+++ binutils-2.25.1/ld/configure.tgt 2015-12-06 15:17:26.723094193 +0100 -@@ -623,15 +623,17 @@ - score-*-elf) targ_emul=score7_elf - targ_extra_emuls=score3_elf ;; - sh-*-linux*) targ_emul=shlelf_linux -- targ_extra_emuls=shelf_linux -+ targ_extra_emuls="shelf_linux shlelf_fd shelf_fd shlelf shelf" - targ_extra_libpath=shelf_linux ;; - sh64eb-*-linux*) targ_emul=shelf32_linux - targ_extra_emuls="shlelf32_linux" ;; - sh64-*-linux*) targ_emul=shlelf32_linux - targ_extra_emuls="shelf32_linux" - targ_extra_libpath=shelf32_linux ;; --sh*eb-*-linux*) targ_emul=shelf_linux ;; --sh*-*-linux*) targ_emul=shlelf_linux ;; -+sh*eb-*-linux*) targ_emul=shelf_linux -+ targ_extra_emuls="shelf_fd shelf" ;; -+sh*-*-linux*) targ_emul=shlelf_linux -+ targ_extra_emuls="shlelf_fd shlelf" ;; - sh5le-*-netbsd*) targ_emul=shlelf32_nbsd - targ_extra_emuls="shelf32_nbsd shelf64_nbsd shlelf64_nbsd shelf_nbsd shlelf_nbsd" ;; - sh5-*-netbsd*) targ_emul=shelf32_nbsd |