This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] x86-64: Don't pass output_bfd to info->callbacks->minfo
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 26 Sep 2017 21:43:11 -0000
- Subject: [binutils-gdb] x86-64: Don't pass output_bfd to info->callbacks->minfo
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ac69a0d75bf472a140e5405c8a90420d5f63a998
commit ac69a0d75bf472a140e5405c8a90420d5f63a998
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Sep 26 14:41:22 2017 -0700
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.
Diff:
---
bfd/ChangeLog | 6 ++++++
bfd/elf64-x86-64.c | 1 -
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 20451d7..aa55ed5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/22199
+ * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Don't pass
+ output_bfd to info->callbacks->minfo.
+
2017-09-26 Nick Clifton <nickc@redhat.com>
PR 22172
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 4b19d02..76343ca 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -4274,7 +4274,6 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd,
if (SYMBOL_REFERENCES_LOCAL_P (info, h))
{
info->callbacks->minfo (_("Local IFUNC function `%s' in %B\n"),
- output_bfd,
h->root.root.string,
h->root.u.def.section->owner);