diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-02-11 06:18:13 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2002-02-11 06:18:13 +0000 |
commit | dd5f708d6a611220159868785af2c43bc95a2fa2 (patch) | |
tree | 2996d9bf64b72c2ae2320f09a45453d326169098 /bfd/elf32-sh.c | |
parent | 0ed91f273a14f422ab7463196bc61ab4da3f9d7c (diff) | |
download | gdb-dd5f708d6a611220159868785af2c43bc95a2fa2.tar.gz |
* elf32-sh.c: Added missing prototypes.
* elf32-sh64.c: Likewise.
(sh_elf_align_loads): Mark unused args as such.
* elf64-sh64.c: Added missing prototypes.
(struct elf_sh64_link_hash_entry): Fix typo.
(sh_elf64_relocate_section): Fix info argument passed to
_bfd_elf_section_offset.
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r-- | bfd/elf32-sh.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c index d6033456b2a..6c13404fd05 100644 --- a/bfd/elf32-sh.c +++ b/bfd/elf32-sh.c @@ -85,6 +85,9 @@ static boolean sh_elf_gc_sweep_hook const Elf_Internal_Rela *)); static enum elf_reloc_type_class sh_elf_reloc_type_class PARAMS ((const Elf_Internal_Rela *)); +#ifdef INCLUDE_SHMEDIA +inline static void movi_shori_putval PARAMS ((bfd *, unsigned long, char *)); +#endif /* The name of the dynamic interpreter. This is put in the .interp section. */ @@ -2808,10 +2811,10 @@ sh_elf_relax_delete_bytes (abfd, sec, addr, count) static boolean sh_elf_align_loads (abfd, sec, internal_relocs, contents, pswapped) - bfd *abfd; + bfd *abfd ATTRIBUTE_UNUSED; asection *sec; Elf_Internal_Rela *internal_relocs; - bfd_byte *contents; + bfd_byte *contents ATTRIBUTE_UNUSED; boolean *pswapped; { Elf_Internal_Rela *irel, *irelend; |