diff options
Diffstat (limited to 'abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch')
-rw-r--r-- | abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch b/abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch new file mode 100644 index 0000000..ce719e7 --- /dev/null +++ b/abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch @@ -0,0 +1,29 @@ +From 7a7431ddc2332ddc3753330a8dd815bb5f7193c0 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" <hjl.tools@gmail.com> +Date: Tue, 26 Sep 2017 14:41:22 -0700 +Subject: [PATCH] x86-64: Don't pass output_bfd to info->callbacks->minfo + +Don't pass output_bfd to info->callbacks->minfo when dumping local IFUNC +functions in the map file. + + PR ld/22199 + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Don't pass + output_bfd to info->callbacks->minfo. + +(cherry picked from commit ac69a0d75bf472a140e5405c8a90420d5f63a998) + +diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c +index d9225ad..1f6dfb8 100644 +--- a/bfd/elf64-x86-64.c ++++ b/bfd/elf64-x86-64.c +@@ -6133,7 +6133,6 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd, + if (SYMBOL_REFERENCES_LOCAL (info, h)) + { + info->callbacks->minfo (_("Local IFUNC function `%s' in %B\n"), +- output_bfd, + h->root.root.string, + h->root.u.def.section->owner); + +-- +2.9.3 + |