aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-12 07:35:20 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-12 07:35:20 +0000
commite049a0de5aa29277c6e42046a9fc960cce1ff6ed (patch)
treef864ee52079ac788bb502a42e361f8794a51aa13 /bfd/elf32-hppa.c
parent5d341b0e2a8e31c93bc32ce3d4ed447fcfb34c6f (diff)
downloadfsf-binutils-gdb-e049a0de5aa29277c6e42046a9fc960cce1ff6ed.zip
fsf-binutils-gdb-e049a0de5aa29277c6e42046a9fc960cce1ff6ed.tar.gz
fsf-binutils-gdb-e049a0de5aa29277c6e42046a9fc960cce1ff6ed.tar.bz2
* Many files: Changes to avoid gcc warnings: Remove unused local
variables. Add default case to enum switches. * coff-arm.c (bfd_arm_allocate_interworking_sections): Only compile if not COFF_IMAGE_WITH_PE. (record_arm_to_thumb_glue, record_thumb_to_arm_glue): Likewise. (bfd_arm_get_bfd_for_interworking): Likewise. (bfd_arm_process_before_allocation): Likewise. * epoc-pei-arm.c: Don't rename bfd_arm functions. * pei-arm.c: Likewise. * elf32-mips.c (mips_elf_link_hash_table_create): Don't declare. (MIPS_ELF_ADD_DYNAMIC_ENTRY): Correct last change. (mips_elf_got16_entry): Put parens around & in body of ==. (mips_elf_calculate_relocation): Correct test for empty string. * vms-gsd.c: Use _bfd_error_handler rather than fprintf to stderr. * vms-misc.c (_bfd_vms_length_hash_symbol): Correct sprintf format.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index c8d20cd..1877008 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -1,5 +1,5 @@
/* BFD back-end for HP PA-RISC ELF files.
- Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1997
+ Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999
Free Software Foundation, Inc.
Written by
@@ -636,7 +636,7 @@ elf32_hppa_bfd_final_link_relocate (howto, input_bfd, output_bfd,
case R_PARISC_PCREL17F:
{
bfd_vma location;
- unsigned int len, caller_args, callee_args;
+ unsigned int len;
char *new_name, *stub_name;
/* Get the field selector right. We'll need it in a minute. */
@@ -986,8 +986,7 @@ elf32_hppa_size_stubs (stub_bfd, output_bfd, link_info)
bfd *input_bfd;
asection *section, *stub_sec = 0;
Elf_Internal_Shdr *symtab_hdr;
- Elf_Internal_Sym *local_syms, *isym, **all_local_syms;
- Elf32_External_Sym *ext_syms, *esym;
+ Elf_Internal_Sym *local_syms, **all_local_syms;
unsigned int i, index, bfd_count = 0;
struct elf32_hppa_stub_hash_table *stub_hash_table = 0;