diff options
author | Alan Modra <amodra@gmail.com> | 2011-05-17 13:02:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-05-17 13:02:18 +0000 |
commit | 16d96b5b8fc6ea4aeccccfd805a7049438ad1f6b (patch) | |
tree | a7d64dee0a9e5322558b8fbd450a04b715f4d1f7 /bfd/linker.c | |
parent | cd3da28e23c6fe0f229cd09975b28c6b3b1d8779 (diff) | |
download | gdb-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.c | 3 |
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; } |