aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-05-10 23:33:50 +0000
committerAlan Modra <amodra@gmail.com>2009-05-10 23:33:50 +0000
commit51408ec21550608709a7d3d070edf2e24b93c330 (patch)
treee3553053dcabf7ff4610ab1c9ba4a5167d0ccbee /bfd
parentfe52471618181288f4839c18c85fc5a2332216ff (diff)
downloadfsf-binutils-gdb-51408ec21550608709a7d3d070edf2e24b93c330.zip
fsf-binutils-gdb-51408ec21550608709a7d3d070edf2e24b93c330.tar.gz
fsf-binutils-gdb-51408ec21550608709a7d3d070edf2e24b93c330.tar.bz2
Remove unnecessary ATTRIBUTE_UNUSED
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/elf32-bfin.c11
2 files changed, 12 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9cafbf2..5e2b411 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index c7d1124..c7ce258 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;