aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-avr.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-07-03 22:25:33 +0000
committerNick Clifton <nickc@redhat.com>2000-07-03 22:25:33 +0000
commit00d2865b835b1bba05334dcbb20201b6d99534d6 (patch)
tree7e0c931ab3e73f75424dfc50ef7c19190ef67401 /bfd/elf32-avr.c
parentc07ab2ec0cc5730de491dc2164d3af73ac5f904c (diff)
downloadfsf-binutils-gdb-00d2865b835b1bba05334dcbb20201b6d99534d6.zip
fsf-binutils-gdb-00d2865b835b1bba05334dcbb20201b6d99534d6.tar.gz
fsf-binutils-gdb-00d2865b835b1bba05334dcbb20201b6d99534d6.tar.bz2
Tidy up formatting.
Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
Diffstat (limited to 'bfd/elf32-avr.c')
-rw-r--r--bfd/elf32-avr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bfd/elf32-avr.c b/bfd/elf32-avr.c
index c99d667..ccdd6b5 100644
--- a/bfd/elf32-avr.c
+++ b/bfd/elf32-avr.c
@@ -369,7 +369,7 @@ struct avr_reloc_map
static reloc_howto_type *
bfd_elf32_bfd_reloc_type_lookup (abfd, code)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
bfd_reloc_code_real_type code;
{
unsigned int i;
@@ -389,7 +389,7 @@ bfd_elf32_bfd_reloc_type_lookup (abfd, code)
static void
avr_info_to_howto_rela (abfd, cache_ptr, dst)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
arelent *cache_ptr;
Elf32_Internal_Rela *dst;
{
@@ -403,7 +403,7 @@ avr_info_to_howto_rela (abfd, cache_ptr, dst)
static asection *
elf32_avr_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;
@@ -442,10 +442,10 @@ elf32_avr_gc_mark_hook (abfd, info, rel, h, sym)
static boolean
elf32_avr_gc_sweep_hook (abfd, info, sec, relocs)
- bfd *abfd;
- struct bfd_link_info *info;
- asection *sec;
- const Elf_Internal_Rela *relocs;
+ bfd *abfd ATTRIBUTE_UNUSED;
+ struct bfd_link_info *info ATTRIBUTE_UNUSED;
+ asection *sec ATTRIBUTE_UNUSED;
+ const Elf_Internal_Rela *relocs ATTRIBUTE_UNUSED;
{
/* We don't use got and plt entries for avr. */
return true;
@@ -717,7 +717,7 @@ avr_final_link_relocate (howto, input_bfd, input_section,
static boolean
elf32_avr_relocate_section (output_bfd, info, input_bfd, input_section,
contents, relocs, local_syms, local_sections)
- bfd *output_bfd;
+ bfd *output_bfd ATTRIBUTE_UNUSED;
struct bfd_link_info *info;
bfd *input_bfd;
asection *input_section;