x86-64: Don't pass output_bfd to info->callbacks->minfo
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 26 Sep 2017 21:41:22 +0000 (14:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 26 Sep 2017 21:41:22 +0000 (14:41 -0700)
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.

bfd/ChangeLog
bfd/elf64-x86-64.c

index 20451d77606d36be5123320d4f98d182aa7c65ee..aa55ed5afb9c1b594d8b11564e49eb76b7437730 100644 (file)
@@ -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
index 4b19d0225988a7c5910d9a0f923b8932b3e07b07..76343cab7bfc1b16287466b39790ab9eba378d24 100644 (file)
@@ -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);