From bdced9a8444c0744780a4de8ad09fdd35caedf82e0ee236a971c8aad90da0404 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 18 Nov 2019 19:52:06 +0000 Subject: [PATCH] Pfft, another change. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=323 --- add-ulp-section.diff | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/add-ulp-section.diff b/add-ulp-section.diff index 4fbbfa3..7dda47e 100644 --- a/add-ulp-section.diff +++ b/add-ulp-section.diff @@ -5,7 +5,7 @@ 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:50:53.000000000 +0100 ++++ bfd/elflink.c 2019-11-18 20:48:33.000000000 +0100 @@ -7070,6 +7070,13 @@ bfd_elf_size_dynamic_sections (bfd *outp s = bfd_get_linker_section (dynobj, ".gnu.version"); s->flags |= SEC_EXCLUDE; @@ -23,7 +23,7 @@ Index: bfd/elflink.c 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:51:01.000000000 +0100 ++++ bfd/elfxx-x86.c 2019-11-18 20:50:24.000000000 +0100 @@ -31,6 +31,8 @@ #define ELF64_DYNAMIC_INTERPRETER "/lib/ld64.so.1" #define ELFX32_DYNAMIC_INTERPRETER "/lib/ldx32.so.1" @@ -105,7 +105,7 @@ Index: bfd/elfxx-x86.c - } + + /* create sections to support user-space live patching */ -+ if (bfd_x86_elf_is_ulp_enabled(info->input_bfds)) ++ if (_bfd_x86_elf_is_ulp_enabled(info->input_bfds)) + { + flagword flags = (bed->dynamic_sec_flags + | SEC_ALLOC @@ -129,7 +129,7 @@ Index: bfd/elfxx-x86.c 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:47:32.000000000 +0100 ++++ bfd/elfxx-x86.h 2019-11-18 20:48:33.000000000 +0100 @@ -447,6 +447,7 @@ struct elf_x86_link_hash_table asection *plt_second_eh_frame; asection *plt_got; @@ -162,7 +162,7 @@ Index: bfd/elfxx-x86.h Index: bfd/elf-bfd.h =================================================================== --- bfd/elf-bfd.h.orig 2019-09-09 15:19:43.000000000 +0200 -+++ bfd/elf-bfd.h 2019-11-18 18:47:43.000000000 +0100 ++++ bfd/elf-bfd.h 2019-11-18 20:48:33.000000000 +0100 @@ -1423,6 +1423,10 @@ struct elf_backend_data (const bfd *ibfd, bfd *obfd, const Elf_Internal_Shdr *isection, Elf_Internal_Shdr *osection); @@ -177,7 +177,7 @@ Index: bfd/elf-bfd.h Index: bfd/elfxx-target.h =================================================================== --- bfd/elfxx-target.h.orig 2019-09-09 15:19:43.000000000 +0200 -+++ bfd/elfxx-target.h 2019-11-18 18:50:34.000000000 +0100 ++++ bfd/elfxx-target.h 2019-11-18 20:48:33.000000000 +0100 @@ -754,6 +754,14 @@ #define elf_backend_copy_special_section_fields NULL #endif