aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-openrisc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-04 05:28:52 +0000
committerAlan Modra <amodra@gmail.com>2002-06-04 05:28:52 +0000
commit8d2c33be032d817bfce67cb975bb25fdc28f1c5d (patch)
tree70192b582b1f3579c343629f30f331d36020c2a1 /bfd/elf32-openrisc.c
parent5b0e55b627d80fe3220036737d639cbba71a3e1e (diff)
downloadgdb-8d2c33be032d817bfce67cb975bb25fdc28f1c5d.zip
gdb-8d2c33be032d817bfce67cb975bb25fdc28f1c5d.tar.gz
gdb-8d2c33be032d817bfce67cb975bb25fdc28f1c5d.tar.bz2
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Remove
ATTRIBUTE_UNUSED on used params. * elf32-vax.c (elf_vax_gc_mark_hook): Remove unnecessary checks before calling bfd_section_from_elf_index on local syms. * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise.
Diffstat (limited to 'bfd/elf32-openrisc.c')
-rw-r--r--bfd/elf32-openrisc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elf32-openrisc.c b/bfd/elf32-openrisc.c
index 34d4d9f..2dd7fb7 100644
--- a/bfd/elf32-openrisc.c
+++ b/bfd/elf32-openrisc.c
@@ -469,11 +469,11 @@ openrisc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
static asection *
openrisc_elf_gc_mark_hook (abfd, info, rel, h, sym)
- bfd *abfd ATTRIBUTE_UNUSED;
+ bfd *abfd;
struct bfd_link_info *info ATTRIBUTE_UNUSED;
- Elf_Internal_Rela *rel ATTRIBUTE_UNUSED;
- struct elf_link_hash_entry *h ATTRIBUTE_UNUSED;
- Elf_Internal_Sym *sym ATTRIBUTE_UNUSED;
+ Elf_Internal_Rela *rel;
+ struct elf_link_hash_entry *h;
+ Elf_Internal_Sym *sym;
{
if (h != NULL)
{