From a7c95a23a556f96697a0f83df8c3df57347df3e6ceb180494319f1fabe567a1b Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 18 Nov 2019 20:47:39 +0000 Subject: [PATCH] Sigh. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=324 --- add-ulp-section.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/add-ulp-section.diff b/add-ulp-section.diff index 7dda47e..781a2dd 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 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 s = bfd_get_linker_section (dynobj, ".gnu.version"); s->flags |= SEC_EXCLUDE; @@ -13,7 +13,7 @@ Index: bfd/elflink.c + + if (bed->elf_backend_is_ulp_enabled != 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); + }