From: Alan Modra Date: Sun, 10 May 2009 23:33:50 +0000 (+0000) Subject: Remove unnecessary ATTRIBUTE_UNUSED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51408ec21550608709a7d3d070edf2e24b93c330;p=binutils-gdb.git Remove unnecessary ATTRIBUTE_UNUSED --- 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;