+Mon Sep 13 20:01:47 1999 Jeffrey A Law (law@cygnus.com)
+
+ * elf-hppa.h (elf_hppa_final_link): Remove unused variables.
+ (elf_hppa_final_link_relocate): Likewise.
+ (elf_hppa_relocate_insn): Likewise.
+ (elf_hppa_relocate_section): Initialize HOWTO.
+
1999-09-13 Donn Terry <donn@interix.com>
* coffcode.h (styp_to_sec_flags): Further refinement of COMDAT
/* Make sure we've got ourselves a suitable __gp value. */
if (!info->relocateable)
{
- bfd_vma min_short_vma = (bfd_vma) -1, max_short_vma = 0;
struct elf_link_hash_entry *gp;
bfd_vma gp_val = 0;
asection *os;
the start of .PARISC.global section. */
for (os = abfd->sections; os ; os = os->next)
{
- bfd_vma lo, hi;
-
/* This would be cleaner if we marked sections with an attribute
indicating they are short sections. */
if (strcmp (os->name, ".PARISC.global") == 0)
for (; rel < relend; rel++)
{
int r_type;
- reloc_howto_type *howto;
+ reloc_howto_type *howto = elf_hppa_howto_table + ELF_R_TYPE (rel->r_info);
unsigned long r_symndx;
struct elf_link_hash_entry *h;
Elf_Internal_Sym *sym;
bfd_vma addend = rel->r_addend;
reloc_howto_type *howto = elf_hppa_howto_table + ELF_R_TYPE (rel->r_info);
unsigned long r_type = howto->type;
- unsigned long r_format = howto->bitsize;
unsigned long r_field = e_fsel;
bfd_byte *hit_data = contents + offset;
struct elf64_hppa_link_hash_table *hppa_info = elf64_hppa_hash_table (info);
long sym_value;
unsigned long r_type;
{
- long constant_value;
-
switch (r_type)
{
/* This is any 22bit branch. In PA2.0 syntax it corresponds to
case R_PARISC_DIR16DF:
case R_PARISC_LTOFF16DF:
{
- int w;
-
/* Mask off bits in INSN we do not want. */
insn &= 0xffffc00e;
case R_PARISC_DIR14WR:
case R_PARISC_LTOFF16WF:
{
- int w;
-
/* Mask off bits in INSN we do not want. */
insn &= 0xffffc006;