[binutils-gdb/binutils-2_29-branch] x86-64: Don't pass output_bfd to info->callbacks->minfo

H.J.Lu hjl@sourceware.org
Tue Sep 26 21:48:00 GMT 2017


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7a7431ddc2332ddc3753330a8dd815bb5f7193c0

commit 7a7431ddc2332ddc3753330a8dd815bb5f7193c0
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.
    
    (cherry picked from commit ac69a0d75bf472a140e5405c8a90420d5f63a998)

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 7091d75..d09a3c6 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-22  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR binutils/22170
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);



More information about the Binutils-cvs mailing list