Remove unnecessary ATTRIBUTE_UNUSED
authorAlan Modra <amodra@gmail.com>
Sun, 10 May 2009 23:33:50 +0000 (23:33 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 10 May 2009 23:33:50 +0000 (23:33 +0000)
bfd/ChangeLog
bfd/elf32-bfin.c

index 9cafbf21a1e8be3570a9ffe5e05428486e98214e..5e2b41146c7238fe0fe91b6ad7133f824b814f82 100644 (file)
@@ -1,3 +1,10 @@
+2009-05-11  Masaki Muranaka  <monaka@monami-software.com>
+
+       * 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  <paul@codesourcery.com>
 
        * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype.
index c7d11240a70f57f1fed14ba4fb4a0577ef78ea65..c7ce2584f08000ed474df8713b8121a32418b5b0 100644 (file)
@@ -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;