aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.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 /ld/ldmain.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 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index bfa6066..96f3bda 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -151,7 +151,7 @@ static bfd_boolean unattached_reloc
(struct bfd_link_info *, const char *, bfd *, asection *, bfd_vma);
static bfd_boolean notice
(struct bfd_link_info *, struct bfd_link_hash_entry *,
- bfd *, asection *, bfd_vma);
+ bfd *, asection *, bfd_vma, flagword, const char *);
static struct bfd_link_callbacks link_callbacks =
{
@@ -1483,7 +1483,9 @@ notice (struct bfd_link_info *info,
struct bfd_link_hash_entry *h,
bfd *abfd,
asection *section,
- bfd_vma value)
+ bfd_vma value,
+ flagword flags ATTRIBUTE_UNUSED,
+ const char *string ATTRIBUTE_UNUSED)
{
const char *name;