aboutsummaryrefslogtreecommitdiff
path: root/bfd/linker.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-17 13:02:18 +0000
committerAlan Modra <amodra@gmail.com>2011-05-17 13:02:18 +0000
commit16d96b5b8fc6ea4aeccccfd805a7049438ad1f6b (patch)
treea7d64dee0a9e5322558b8fbd450a04b715f4d1f7 /bfd/linker.c
parentcd3da28e23c6fe0f229cd09975b28c6b3b1d8779 (diff)
downloadgdb-16d96b5b8fc6ea4aeccccfd805a7049438ad1f6b.zip
gdb-16d96b5b8fc6ea4aeccccfd805a7049438ad1f6b.tar.gz
gdb-16d96b5b8fc6ea4aeccccfd805a7049438ad1f6b.tar.bz2
PR ld/12760
include/ * bfdlink.h (struct bfd_link_callbacks <notice>): Add "flags" and "string" param. bfd/ * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Adjust "notice" call. * elflink.c (elf_link_add_object_symbols): Likewise. * linker.c (_bfd_generic_link_add_one_symbol): Likewise. ld/ * ldmain.c (notice): Add "flags" and "string" param. * plugin.c (plugin_notice): Likewise. Handle indirect, warning and constructor syms.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r--bfd/linker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c
index d92a9d8..90ab63e 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -1607,7 +1607,8 @@ _bfd_generic_link_add_one_symbol (struct bfd_link_info *info,
|| (info->notice_hash != NULL
&& bfd_hash_lookup (info->notice_hash, name, FALSE, FALSE) != NULL))
{
- if (! (*info->callbacks->notice) (info, h, abfd, section, value))
+ if (! (*info->callbacks->notice) (info, h,
+ abfd, section, value, flags, string))
return FALSE;
}