diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-02-11 06:17:43 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2002-02-11 06:17:43 +0000 |
commit | 518313c3d66913867edf45e349c4fb026ae11a5e (patch) | |
tree | 95a6e427eeeab288a5a1e3a275d8dd8068ed9f5a /bfd/elf32-sh.c | |
parent | 7eb27ef29f14089d83faa5dae85c009df7748c72 (diff) | |
download | gdb-518313c3d66913867edf45e349c4fb026ae11a5e.zip gdb-518313c3d66913867edf45e349c4fb026ae11a5e.tar.gz gdb-518313c3d66913867edf45e349c4fb026ae11a5e.tar.bz2 |
* 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 d603345..6c13404 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; |