From: H.J. Lu Date: Tue, 26 Sep 2017 21:41:22 +0000 (-0700) Subject: x86-64: Don't pass output_bfd to info->callbacks->minfo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac69a0d75bf472a140e5405c8a90420d5f63a998;p=binutils-gdb.git 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 --git a/bfd/ChangeLog b/bfd/ChangeLog index 20451d77606..aa55ed5afb9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2017-09-26 H.J. Lu + + 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 PR 22172 diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 4b19d022598..76343cab7bf 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);