summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-07-12 08:15:36 +0000
committerAndreas Schwab <schwab@suse.de>1999-07-12 08:15:36 +0000
commit819fa17ec4f839411f25b636a984f5de923b41a0 (patch)
tree2ffdc8536dbf147630182dd92244f9ff0d111821
parentdf25848f787b2060ff12521f05130a58be70d49e (diff)
downloadgdb-819fa17ec4f839411f25b636a984f5de923b41a0.tar.gz
* elf32-m68k.c: Add some ATTRIBUTE_UNUSED.
* m68klinux.c: Likewise.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-m68k.c8
-rw-r--r--bfd/m68klinux.c2
3 files changed, 10 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e6ccff91ac1..b1e80f6bdac 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-12 Andreas Schwab <schwab@suse.de>
+
+ * elf32-m68k.c: Add some ATTRIBUTE_UNUSED.
+ * m68klinux.c: Likewise.
+
1999-07-12 Ian Lance Taylor <ian@zembu.com>
* Many files: Changes to avoid gcc warnings: Remove unused local
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index c7ca78599fb..36f62797566 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;
diff --git a/bfd/m68klinux.c b/bfd/m68klinux.c
index c8f47a89fb0..aa5e7b1e8e7 100644
--- a/bfd/m68klinux.c
+++ b/bfd/m68klinux.c
@@ -301,7 +301,7 @@ new_fixup (info, h, value, builtin)
static boolean
linux_link_create_dynamic_sections (abfd, info)
bfd *abfd;
- struct bfd_link_info *info;
+ struct bfd_link_info *info ATTRIBUTE_UNUSED;
{
flagword flags;
register asection *s;