Michael Matz 2019-11-18 20:47:39 +00:00 committed by Git OBS Bridge
parent bdced9a844
commit a7c95a23a5

View File

@ -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 20:48:33.000000000 +0100 +++ bfd/elflink.c 2019-11-18 21:43:18.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;
@ -13,7 +13,7 @@ Index: bfd/elflink.c
+ +
+ if (bed->elf_backend_is_ulp_enabled != NULL + if (bed->elf_backend_is_ulp_enabled != NULL
+ && bed->elf_backend_setup_ulp != NULL + && bed->elf_backend_setup_ulp != NULL
+ && (*bed->elf_backend_is_ulp_enabled) (output_bfd)) + && (*bed->elf_backend_is_ulp_enabled) (info->input_bfds))
+ { + {
+ (*bed->elf_backend_setup_ulp)(info); + (*bed->elf_backend_setup_ulp)(info);
+ } + }