diff --git a/add-ulp-section.diff b/add-ulp-section.diff new file mode 100644 index 0000000..17e260e --- /dev/null +++ b/add-ulp-section.diff @@ -0,0 +1,162 @@ +This is for userspace live patching, adding some space into +shared libs or executable (in the .ulp section) when one of the +input files contains a section named .ulp.track. + +Index: bfd/elflink.c +=================================================================== +--- bfd/elflink.c.orig 2019-09-09 15:19:43.000000000 +0200 ++++ bfd/elflink.c 2019-11-18 18:02:54.000000000 +0100 +@@ -22,6 +22,7 @@ + #include "bfd.h" + #include "bfdlink.h" + #include "libbfd.h" ++#include "ulp.h" + #define ARCH_SIZE 0 + #include "elf-bfd.h" + #include "safe-ctype.h" +@@ -7070,6 +7071,11 @@ bfd_elf_size_dynamic_sections (bfd *outp + s = bfd_get_linker_section (dynobj, ".gnu.version"); + s->flags |= SEC_EXCLUDE; + } ++ ++ if (bfd_is_ulp_enabled(output_bfd)) ++ { ++ bfd_setup_ulp(info); ++ } + } + return TRUE; + } +Index: bfd/elfxx-x86.c +=================================================================== +--- bfd/elfxx-x86.c.orig 2019-09-09 15:19:43.000000000 +0200 ++++ bfd/elfxx-x86.c 2019-11-18 18:02:54.000000000 +0100 +@@ -23,6 +23,7 @@ + #include "objalloc.h" + #include "elf/i386.h" + #include "elf/x86-64.h" ++#include "ulp.h" + + /* The name of the dynamic interpreter. This is put in the .interp + section. */ +@@ -952,6 +953,64 @@ _bfd_x86_elf_link_check_relocs (bfd *abf + return _bfd_elf_link_check_relocs (abfd, info); + } + ++/* Check if input bfds are ulp-enabled by containing .ulp.track section */ ++ ++bfd_boolean ++bfd_x86_elf_is_ulp_enabled (struct bfd *input_bfd) ++{ ++ while (input_bfd != NULL) ++ for (; input_bfd != NULL; input_bfd = input_bfd->link.next) ++ { ++ if (input_bfd->section_count == 0) continue; ++ if (bfd_get_section_by_name (input_bfd, ".ulp.track")) return TRUE; ++ } ++ return FALSE; ++} ++ ++/* To be used by elf_link_hash_traverse when computing the ulp length */ ++ ++static bfd_boolean ++bfd_x86_elf_link_compute_ulp (struct elf_link_hash_entry *h, void *data) ++{ ++ unsigned long *ulp_length = (unsigned long *) data; ++ ++ if (h->dynindx != -1 && h->type == STT_FUNC && !h->def_dynamic) ++ { ++ ++(*ulp_length); ++ } ++ return TRUE; ++} ++ ++/* Fill the user-space live patching section */ ++ ++bfd_boolean ++bfd_x86_elf_setup_ulp (struct bfd_link_info *info) ++{ ++ struct elf_x86_link_hash_table *htab; ++ asection *ulp; ++ unsigned int ulp_length = 0; ++ ++ htab = elf_x86_hash_table (info, X86_64_ELF_DATA); ++ ++ elf_link_hash_traverse (elf_hash_table (info), ++ bfd_x86_elf_link_compute_ulp, ++ &ulp_length); ++ ++ ulp = htab->ulp; ++ ++ ulp->size = ulp_length * ULP_ENTRY_LEN; ++ ++ ulp->contents = (bfd_byte *) bfd_malloc (ulp->size); ++ if (ulp->contents == NULL) ++ return FALSE; ++ ++ if (!ulp->contents) ++ return FALSE; ++ ++ memset(ulp->contents, 0x00, ulp->size); ++ return TRUE; ++} ++ + /* Set the sizes of the dynamic sections. */ + + bfd_boolean +@@ -2935,7 +2994,26 @@ error_alignment: + + htab->plt_second = sec; + } +- } ++ ++ /* create sections to support user-space live patching */ ++ if (bfd_x86_elf_is_ulp_enabled(info->input_bfds)) ++ { ++ flagword flags = (bed->dynamic_sec_flags ++ | SEC_ALLOC ++ | SEC_CODE ++ | SEC_LOAD ++ | SEC_READONLY); ++ ++ sec = bfd_make_section_anyway_with_flags (dynobj, ".ulp", flags); ++ if (sec == NULL) ++ info->callbacks->einfo (_("%F%P: failed to create ULP section\n")); ++ ++ if (!bfd_set_section_alignment (dynobj, sec, plt_alignment)) ++ goto error_alignment; ++ ++ htab->ulp = sec; ++ } ++ } + + if (!info->no_ld_generated_unwind_info) + { +Index: bfd/elfxx-x86.h +=================================================================== +--- bfd/elfxx-x86.h.orig 2019-09-09 15:19:43.000000000 +0200 ++++ bfd/elfxx-x86.h 2019-11-18 18:02:54.000000000 +0100 +@@ -447,6 +447,7 @@ struct elf_x86_link_hash_table + asection *plt_second_eh_frame; + asection *plt_got; + asection *plt_got_eh_frame; ++ asection *ulp; + + /* Parameters describing PLT generation, lazy or non-lazy. */ + struct elf_x86_plt_layout plt; +Index: bfd/ulp.h +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ bfd/ulp.h 2019-11-18 18:02:54.000000000 +0100 +@@ -0,0 +1,12 @@ ++extern bfd_boolean bfd_x86_elf_is_ulp_enabled ++ (struct bfd *); ++ ++extern bfd_boolean bfd_x86_elf_setup_ulp ++ (struct bfd_link_info *); ++ ++#define bfd_is_ulp_enabled bfd_x86_elf_is_ulp_enabled ++ ++#define bfd_setup_ulp bfd_x86_elf_setup_ulp ++ ++#define ULP_ENTRY_LEN 16 ++ diff --git a/binutils.changes b/binutils.changes index e0c3c9d..6b1f01d 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/binutils.spec b/binutils.spec index bca9421..a5130d7 100644 --- a/binutils.spec +++ b/binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -95,6 +95,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 25470b1..193d3a3 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 4ce0958..e413783 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 592c72b..15508ac 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 673c320..64e2990 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 029c4fd..6274fd6 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index b9b7462..881afd9 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 8a2fff9..d2a0bb4 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 7d375f6..73d44e4 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 908e4c8..2757dae 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index e325d06..d82799f 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index c6e1a36..3541390 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index cade2a2..d12df5d 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 37844e9..45be785 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index c0f1fe2..d883da9 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index f4adb6a..d1415fd 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index a4e95ff..43ad4c3 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 5578fde..54ba032 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 4b4d607..4fc60aa 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index ddece5c..04a7cbe 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 5736845..dc7ae8a 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 5e746b0..fecad89 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index e0c3c9d..6b1f01d 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 17:06:15 UTC 2019 - matz@suse.com + +- Add add-ulp-section.diff for user space live patching. + ------------------------------------------------------------------- Tue Oct 22 13:45:51 UTC 2019 - Martin Liška diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index ddcff2d..74ac514 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90