forked from pool/binutils
Pfft, another change.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=323
This commit is contained in:
parent
d6d76202e8
commit
bdced9a844
@ -5,7 +5,7 @@ input files contains a section named .ulp.track.
|
|||||||
Index: bfd/elflink.c
|
Index: bfd/elflink.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- bfd/elflink.c.orig 2019-09-09 15:19:43.000000000 +0200
|
--- 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
|
@@ -7070,6 +7070,13 @@ bfd_elf_size_dynamic_sections (bfd *outp
|
||||||
s = bfd_get_linker_section (dynobj, ".gnu.version");
|
s = bfd_get_linker_section (dynobj, ".gnu.version");
|
||||||
s->flags |= SEC_EXCLUDE;
|
s->flags |= SEC_EXCLUDE;
|
||||||
@ -23,7 +23,7 @@ Index: bfd/elflink.c
|
|||||||
Index: bfd/elfxx-x86.c
|
Index: bfd/elfxx-x86.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- bfd/elfxx-x86.c.orig 2019-09-09 15:19:43.000000000 +0200
|
--- 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 @@
|
@@ -31,6 +31,8 @@
|
||||||
#define ELF64_DYNAMIC_INTERPRETER "/lib/ld64.so.1"
|
#define ELF64_DYNAMIC_INTERPRETER "/lib/ld64.so.1"
|
||||||
#define ELFX32_DYNAMIC_INTERPRETER "/lib/ldx32.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 */
|
+ /* 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
|
+ flagword flags = (bed->dynamic_sec_flags
|
||||||
+ | SEC_ALLOC
|
+ | SEC_ALLOC
|
||||||
@ -129,7 +129,7 @@ Index: bfd/elfxx-x86.c
|
|||||||
Index: bfd/elfxx-x86.h
|
Index: bfd/elfxx-x86.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- bfd/elfxx-x86.h.orig 2019-09-09 15:19:43.000000000 +0200
|
--- 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
|
@@ -447,6 +447,7 @@ struct elf_x86_link_hash_table
|
||||||
asection *plt_second_eh_frame;
|
asection *plt_second_eh_frame;
|
||||||
asection *plt_got;
|
asection *plt_got;
|
||||||
@ -162,7 +162,7 @@ Index: bfd/elfxx-x86.h
|
|||||||
Index: bfd/elf-bfd.h
|
Index: bfd/elf-bfd.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- bfd/elf-bfd.h.orig 2019-09-09 15:19:43.000000000 +0200
|
--- 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
|
@@ -1423,6 +1423,10 @@ struct elf_backend_data
|
||||||
(const bfd *ibfd, bfd *obfd, const Elf_Internal_Shdr *isection,
|
(const bfd *ibfd, bfd *obfd, const Elf_Internal_Shdr *isection,
|
||||||
Elf_Internal_Shdr *osection);
|
Elf_Internal_Shdr *osection);
|
||||||
@ -177,7 +177,7 @@ Index: bfd/elf-bfd.h
|
|||||||
Index: bfd/elfxx-target.h
|
Index: bfd/elfxx-target.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- bfd/elfxx-target.h.orig 2019-09-09 15:19:43.000000000 +0200
|
--- 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 @@
|
@@ -754,6 +754,14 @@
|
||||||
#define elf_backend_copy_special_section_fields NULL
|
#define elf_backend_copy_special_section_fields NULL
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user