From 51408ec21550608709a7d3d070edf2e24b93c330 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 10 May 2009 23:33:50 +0000 Subject: [PATCH] Remove unnecessary ATTRIBUTE_UNUSED --- bfd/ChangeLog | 7 +++++++ bfd/elf32-bfin.c | 11 +++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9cafbf21a1e..5e2b41146c7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2009-05-11 Masaki Muranaka + + * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Remove unnecessary + ATTRIBUTE_UNUSED. + (bfinfdpic_link_omit_section_dynsym): Likewise. + (elf32_bfinfdpic_finish_dynamic_sections): Likewise. + 2009-05-05 Paul Brook * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype. diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c index c7d11240a70..c7ce2584f08 100644 --- a/bfd/elf32-bfin.c +++ b/bfd/elf32-bfin.c @@ -1123,7 +1123,7 @@ bfin_reloc_type_lookup (bfd * abfd ATTRIBUTE_UNUSED, bfin local labels begin with L$. */ static bfd_boolean bfin_is_local_label_name ( - bfd *abfd ATTRIBUTE_UNUSED, + bfd *abfd, const char *label) { if (label[0] == 'L' && label[1] == '$' ) @@ -3351,9 +3351,8 @@ bfinfdpic_gc_sweep_hook (bfd *abfd, relocate independently. */ static bfd_boolean _bfinfdpic_link_omit_section_dynsym (bfd *output_bfd ATTRIBUTE_UNUSED, - struct bfd_link_info *info - ATTRIBUTE_UNUSED, - asection *p ATTRIBUTE_UNUSED) + struct bfd_link_info *info ATTRIBUTE_UNUSED, + asection *p) { switch (elf_section_data (p)->this_hdr.sh_type) { @@ -4415,8 +4414,8 @@ elf32_bfinfdpic_finish_dynamic_sections (bfd *output_bfd, static bfd_boolean elf32_bfinfdpic_adjust_dynamic_symbol -(struct bfd_link_info *info ATTRIBUTE_UNUSED, - struct elf_link_hash_entry *h ATTRIBUTE_UNUSED) +(struct bfd_link_info *info, + struct elf_link_hash_entry *h) { bfd * dynobj; -- 2.30.2