package binutils: remove binutils 2.27 patches
PATCH 1/1 package binutils: remove binutils 2.27 patches
binutils 2.27 support was removed with [1]
[1] 453d29f1f45736d0156071930a09015def68994a
---
This patch must be backported to 2018.02 and 2018.08.
--- .../2.27/0100-elf32-arm-no-data-fix.patch | 22 -- package/binutils/2.27/0120-sh-conf.patch | 46 --- ....c-fixup-xg_reverse_shift_count-typo.patch | 33 -- ...-memory-corruption-by-broken-sysregs.patch | 42 --- package/binutils/2.27/0300-ld-makefile.patch | 41 --- .../2.27/0301-check-ldrunpath-length.patch | 36 --- .../0500-add-sysroot-fix-from-bug-3049.patch | 52 --- .../2.27/0600-poison-system-directories.patch | 306 ------------------ ...dynamic-tag-VMA-and-size-from-dynami.patch | 36 --- .../2.27/0906-microblaze-pr21180.patch | 33 -- ...able-CRC-instructions-on-supported-A.patch | 88 ----- 11 files changed, 735 deletions(-) delete mode 100644 package/binutils/2.27/0100-elf32-arm-no-data-fix.patch delete mode 100644 package/binutils/2.27/0120-sh-conf.patch delete mode 100644 package/binutils/2.27/0130-tc-xtensa.c-fixup-xg_reverse_shift_count-typo.patch delete mode 100644 package/binutils/2.27/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch delete mode 100644 package/binutils/2.27/0300-ld-makefile.patch delete mode 100644 package/binutils/2.27/0301-check-ldrunpath-length.patch delete mode 100644 package/binutils/2.27/0500-add-sysroot-fix-from-bug-3049.patch delete mode 100644 package/binutils/2.27/0600-poison-system-directories.patch delete mode 100644 package/binutils/2.27/0900-Revert-part-Set-dynamic-tag-VMA-and-size-from-dynami.patch delete mode 100644 package/binutils/2.27/0906-microblaze-pr21180.patch delete mode 100644 package/binutils/2.27/0907-Automatically-enable-CRC-instructions-on-supported-A.patch
package/binutils/2.27/0100-elf32-arm-no-data-fix.patch deleted +0 -22
@@ -1,22 +0,0 @@ -bfd/ChangeLog -2016-08-23 Nick Clifton <address@hidden> - - * elf32-arm.c (elf32_arm_count_additional_relocs): Return zero if - there is no arm data associated with the section. - -[Thomas: taken from https://lists.gnu.org/archive/html/bug-binutils/2016-08/msg00165.html.] -Signed-off-by: Thomas Petazzoni <[email protected]> - -diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c -index 1eba21b..4478238 100644 ---- a/bfd/elf32-arm.c -+++ b/bfd/elf32-arm.c -@@ -18688,7 +18688,7 @@ elf32_arm_count_additional_relocs (asection *sec) - { - struct _arm_elf_section_data *arm_data; - arm_data = get_arm_elf_section_data (sec); -- return arm_data->additional_reloc_count; -+ return arm_data == NULL ? 0 : arm_data->additional_reloc_count; - } - - /* Called to set the sh_flags, sh_link and sh_info fields of OSECTION which
package/binutils/2.27/0120-sh-conf.patch deleted +0 -46
46 lines not on this page · raw message
package/binutils/2.27/0130-tc-xtensa.c-fixup-xg_reverse_shift_count-typo.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 78fb7e37eb8bb08ae537d6c487996ff17c810332 Mon Sep 17 00:00:00 2001 -From: Trevor Saunders <[email protected]> -Date: Mon, 26 Sep 2016 12:42:11 -0400 -Subject: [PATCH] tc-xtensa.c: fixup xg_reverse_shift_count typo - -gas/ChangeLog: - -2016-09-26 Trevor Saunders <[email protected]> - - * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of - cnt_argp to concat. - -Signed-off-by: Max Filippov <[email protected]> ---- - gas/config/tc-xtensa.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index d062044..ca261ae 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -2228,7 +2228,7 @@ xg_reverse_shift_count (char **cnt_argp) - cnt_arg = *cnt_argp; - - /* replace the argument with "31-(argument)" */ -- new_arg = concat ("31-(", cnt_argp, ")", (char *) NULL); -+ new_arg = concat ("31-(", cnt_arg, ")", (char *) NULL); - - free (cnt_arg); - *cnt_argp = new_arg; --- -2.1.4 -
package/binutils/2.27/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch deleted +0 -42
42 lines not on this page · raw message
package/binutils/2.27/0300-ld-makefile.patch deleted +0 -41
41 lines not on this page · raw message
package/binutils/2.27/0301-check-ldrunpath-length.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From ebe1cba46df52d7bf86def3d681271fd05fb453b Mon Sep 17 00:00:00 2001 -From: Romain Naour <[email protected]> -Date: Fri, 25 Dec 2015 11:41:47 +0100 -Subject: [PATCH] check-ldrunpath-length - -[Romain: rebase on top of 2.26] -Signed-off-by: Romain Naour <[email protected]> ---- - ld/emultempl/elf32.em | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em -index 0405d4f..efd3300 100644 ---- a/ld/emultempl/elf32.em -+++ b/ld/emultempl/elf32.em -@@ -1242,6 +1242,8 @@ fragment <<EOF - && command_line.rpath == NULL) - { - lib_path = (const char *) getenv ("LD_RUN_PATH"); -+ if ((lib_path) && (strlen (lib_path) == 0)) -+ lib_path = NULL; - if (gld${EMULATION_NAME}_search_needed (lib_path, &n, - force)) - break; -@@ -1523,6 +1525,8 @@ gld${EMULATION_NAME}_before_allocation (void) - rpath = command_line.rpath; - if (rpath == NULL) - rpath = (const char *) getenv ("LD_RUN_PATH"); -+ if ((rpath) && (strlen (rpath) == 0)) -+ rpath = NULL; - - for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) - if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) --- -2.4.3 -
package/binutils/2.27/0500-add-sysroot-fix-from-bug-3049.patch deleted +0 -52
52 lines not on this page · raw message
package/binutils/2.27/0600-poison-system-directories.patch deleted +0 -306
306 lines not on this page · raw message
package/binutils/2.27/0900-Revert-part-Set-dynamic-tag-VMA-and-size-from-dynami.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From c646b02fdcae5f37bd88f33a0c4683ef13ad5c82 Mon Sep 17 00:00:00 2001 -From: Alan Modra <[email protected]> -Date: Mon, 31 Oct 2016 12:46:38 +1030 -Subject: [PATCH] Revert part "Set dynamic tag VMA and size from dynamic - section when possible" - - PR 20748 - * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Revert - 2016-05-13 change. - -Signed-off-by: Alan Modra <[email protected]> -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c -index 477e7b3..5c66808 100644 ---- a/bfd/elf32-microblaze.c -+++ b/bfd/elf32-microblaze.c -@@ -3396,13 +3396,13 @@ microblaze_elf_finish_dynamic_sections (bfd *output_bfd, - { - asection *s; - -- s = bfd_get_linker_section (dynobj, name); -+ s = bfd_get_section_by_name (output_bfd, name); - if (s == NULL) - dyn.d_un.d_val = 0; - else - { - if (! size) -- dyn.d_un.d_ptr = s->output_section->vma + s->output_offset; -+ dyn.d_un.d_ptr = s->vma; - else - dyn.d_un.d_val = s->size; - } --- -2.1.4 -
package/binutils/2.27/0906-microblaze-pr21180.patch deleted +0 -33
@@ -1,33 +0,0 @@ -Fix ld segfault for microblaze when --gc-sections is used -Upstream: pending -https://sourceware.org/bugzilla/show_bug.cgi?id=21180 - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur binutils-2.27.orig/bfd/elf32-microblaze.c binutils-2.27/bfd/elf32-microblaze.c ---- binutils-2.27.orig/bfd/elf32-microblaze.c 2016-08-03 09:36:50.000000000 +0200 -+++ binutils-2.27/bfd/elf32-microblaze.c 2017-02-23 19:43:12.612313590 +0100 -@@ -3297,13 +3297,20 @@ - || h->dynindx == -1)) - { - asection *sec = h->root.u.def.section; -+ bfd_vma value; -+ -+ value = h->root.u.def.value; -+ if (sec->output_section != NULL) -+ /* PR 21180: If the output section is NULL, then the symbol is no -+ longer needed, and in theory the GOT entry is redundant. But -+ it is too late to change our minds now... */ -+ value += sec->output_section->vma + sec->output_offset; -+ - microblaze_elf_output_dynamic_relocation (output_bfd, - srela, srela->reloc_count++, - /* symindex= */ 0, - R_MICROBLAZE_REL, offset, -- h->root.u.def.value -- + sec->output_section->vma -- + sec->output_offset); -+ value); - } - else - {
package/binutils/2.27/0907-Automatically-enable-CRC-instructions-on-supported-A.patch deleted +0 -88
88 lines not on this page · raw message
Signature · 1 line
2.17.2
Thomas Petazzoni
AppliedPATCH 1/1 package binutils: remove binutils 2.27 patches
Hello,
Quoted 23 lines · Romain Naour
binutils 2.27 support was removed with [1]
[1]
453d29f1f45736d0156071930a09015def68994aSigned-off-by Romain Naour <[email protected]>---
This patch must be backported to 2018.02 and 2018.08.--- .../2.27/0100-elf32-arm-no-data-fix.patch | 22 -- package/binutils/2.27/0120-sh-conf.patch | 46 --- ....c-fixup-xg_reverse_shift_count-typo.patch | 33 -- ...-memory-corruption-by-broken-sysregs.patch | 42 --- package/binutils/2.27/0300-ld-makefile.patch | 41 --- .../2.27/0301-check-ldrunpath-length.patch | 36 --- .../0500-add-sysroot-fix-from-bug-3049.patch | 52 --- .../2.27/0600-poison-system-directories.patch | 306 ------------------ ...dynamic-tag-VMA-and-size-from-dynami.patch | 36 --- .../2.27/0906-microblaze-pr21180.patch | 33 -- ...able-CRC-instructions-on-supported-A.patch | 88 ----- 11 files changed, 735 deletions(-) delete mode 100644 package/binutils/2.27/0100-elf32-arm-no-data-fix.patch delete mode 100644 package/binutils/2.27/0120-sh-conf.patch delete mode 100644 package/binutils/2.27/0130-tc-xtensa.c-fixup-xg_reverse_shift_count-typo.patch
Quoted 8 lines
delete mode 100644 package/binutils/2.27/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch delete mode 100644 package/binutils/2.27/0300-ld-makefile.patch delete mode 100644 package/binutils/2.27/0301-check-ldrunpath-length.patch delete mode 100644 package/binutils/2.27/0500-add-sysroot-fix-from-bug-3049.patch delete mode 100644 package/binutils/2.27/0600-poison-system-directories.patch delete mode 100644 package/binutils/2.27/0900-Revert-part-Set-dynamic-tag-VMA-and-size-from-dynami.patch delete mode 100644 package/binutils/2.27/0906-microblaze-pr21180.patch delete mode 100644 package/binutils/2.27/0907-Automatically-enable-CRC-instructions-on-supported-A.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package binutils: remove binutils 2.27 patches
In reply to Romain NaourQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
binutils 2.27 support was removed with [1]
[1]453d29f1f45736d0156071930a09015def68994aSigned-off-by Romain Naour <[email protected]>---
This patch must be backported to 2018.02 and 2018.08.
I guess you mean "is applicable"? It doesn't seem very important, but it also cannot hurt.
Committed to 2018.02.x and 2018.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard