aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m68k.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>1999-07-12 08:15:36 +0000
committerAndreas Schwab <schwab@linux-m68k.org>1999-07-12 08:15:36 +0000
commit121089cbf08a912591115bbeeb181eb09ccee448 (patch)
tree33ea1f8317093b588578c44cad85b4332606b621 /bfd/elf32-m68k.c
parente049a0de5aa29277c6e42046a9fc960cce1ff6ed (diff)
downloadgdb-121089cbf08a912591115bbeeb181eb09ccee448.zip
gdb-121089cbf08a912591115bbeeb181eb09ccee448.tar.gz
gdb-121089cbf08a912591115bbeeb181eb09ccee448.tar.bz2
* elf32-m68k.c: Add some ATTRIBUTE_UNUSED.
* m68klinux.c: Likewise.
Diffstat (limited to 'bfd/elf32-m68k.c')
-rw-r--r--bfd/elf32-m68k.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index c7ca785..36f6279 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -121,7 +121,7 @@ static reloc_howto_type howto_table[] = {
static void
rtype_to_howto (abfd, cache_ptr, dst)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
arelent *cache_ptr;
Elf_Internal_Rela *dst;
{
@@ -166,7 +166,7 @@ static const struct
static reloc_howto_type *
reloc_type_lookup (abfd, code)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
bfd_reloc_code_real_type code;
{
unsigned int i;
@@ -791,7 +791,7 @@ elf_m68k_check_relocs (abfd, info, sec, relocs)
static asection *
elf_m68k_gc_mark_hook (abfd, info, rel, h, sym)
bfd *abfd;
- struct bfd_link_info *info;
+ struct bfd_link_info *info ATTRIBUTE_UNUSED;
Elf_Internal_Rela *rel;
struct elf_link_hash_entry *h;
Elf_Internal_Sym *sym;
@@ -1370,7 +1370,7 @@ elf_m68k_adjust_dynindx (h, cparg)
static boolean
elf_m68k_discard_copies (h, ignore)
struct elf_m68k_link_hash_entry *h;
- PTR ignore;
+ PTR ignore ATTRIBUTE_UNUSED;
{
struct elf_m68k_pcrel_relocs_copied *s;