aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-v850.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-01-17 13:02:40 +0000
committerAlan Modra <amodra@gmail.com>2002-01-17 13:02:40 +0000
commitaf746e92cb01c5f1a2d0bdb194716a0542a86762 (patch)
treefd3becbca4116ca29eec1bc34dfcaec0c9fc5922 /bfd/elf32-v850.c
parent06f030db350108824d2a06fec35992ba084d92ca (diff)
downloadgdb-af746e92cb01c5f1a2d0bdb194716a0542a86762.zip
gdb-af746e92cb01c5f1a2d0bdb194716a0542a86762.tar.gz
gdb-af746e92cb01c5f1a2d0bdb194716a0542a86762.tar.bz2
* elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
Remove "Elf_Internal_Shdr *" param. (_bfd_mips_elf_section_from_bfd_section): Ditto. * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. * elf.c (_bfd_elf_section_from_bfd_section): Allow backend function to override special sections. Remove hdr arg from backend call, and don't loop.
Diffstat (limited to 'bfd/elf32-v850.c')
-rw-r--r--bfd/elf32-v850.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index a111730..ae0a0c4 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -69,7 +69,7 @@ static boolean v850_elf_merge_private_bfd_data
static boolean v850_elf_print_private_bfd_data
PARAMS ((bfd *, PTR));
static boolean v850_elf_section_from_bfd_section
- PARAMS ((bfd *, Elf32_Internal_Shdr *, asection *, int *));
+ PARAMS ((bfd *, asection *, int *));
static void v850_elf_symbol_processing
PARAMS ((bfd *, asymbol *));
static boolean v850_elf_add_symbol_hook
@@ -1930,9 +1930,8 @@ static asymbol * v850_elf_zcom_symbol_ptr;
corresponding ELF section index. */
static boolean
-v850_elf_section_from_bfd_section (abfd, hdr, sec, retval)
+v850_elf_section_from_bfd_section (abfd, sec, retval)
bfd * abfd ATTRIBUTE_UNUSED;
- Elf32_Internal_Shdr * hdr ATTRIBUTE_UNUSED;
asection * sec;
int * retval;
{