aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-05-18 15:13:27 +0000
committerJeff Law <law@redhat.com>1994-05-18 15:13:27 +0000
commit673acecaa5f397c4e44538689b1426c6f88723d7 (patch)
treedfc0341a0a04729104530bf7476771f0290e7942 /bfd/som.c
parent298f0428b445a9316814ddd6e1bc9994db40d9e3 (diff)
downloadgdb-673acecaa5f397c4e44538689b1426c6f88723d7.zip
gdb-673acecaa5f397c4e44538689b1426c6f88723d7.tar.gz
gdb-673acecaa5f397c4e44538689b1426c6f88723d7.tar.bz2
* elf32-hppa.h (R_HPPA_ABS_CALL): Define.
* elf32-hppa.c (hppa_elf_gen_reloc_type): Handle absolute calls. * som.h (R_HPPA_ABS_CALL): Define. * som.c (hppa_som_gen_reloc_type): Delete complex relocation types.
Diffstat (limited to 'bfd/som.c')
-rw-r--r--bfd/som.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/som.c b/bfd/som.c
index 89ee89a..0460e17 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -1521,9 +1521,6 @@ hppa_som_gen_reloc_type (abfd, base_type, format, field)
case R_HPPA_NONE:
case R_HPPA_ABS_CALL:
case R_HPPA_PCREL_CALL:
- case R_HPPA_COMPLEX:
- case R_HPPA_COMPLEX_PCREL_CALL:
- case R_HPPA_COMPLEX_ABS_CALL:
/* Right now we can default all these. */
break;
}
@@ -2033,7 +2030,7 @@ som_prep_headers (abfd)
som_section_data (section)->space_dict->is_private =
som_section_data (section)->copy_data->is_private;
som_section_data (section)->space_dict->space_number =
- section->target_index;
+ som_section_data (section)->copy_data->space_number;
}
else
{
@@ -4357,7 +4354,7 @@ bfd_som_set_section_attributes (section, defined, private, sort_key, spnum)
som_section_data (section)->copy_data->is_defined = defined;
som_section_data (section)->copy_data->is_private = private;
som_section_data (section)->copy_data->container = section;
- section->target_index = spnum;
+ som_section_data (section)->copy_data->space_number = spnum;
return true;
}