* elf32-hppa.h (R_HPPA_ABS_CALL): Define.
authorJeff Law <law@redhat.com>
Wed, 18 May 1994 15:13:27 +0000 (15:13 +0000)
committerJeff Law <law@redhat.com>
Wed, 18 May 1994 15:13:27 +0000 (15:13 +0000)
* 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.

bfd/ChangeLog
bfd/som.c

index be70765bc371fdd2f485e4e670d15acb915428d5..902e7a2107ace0486856528a6359fb0344e15256 100644 (file)
@@ -1,3 +1,11 @@
+Wed May 18 09:09:32 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * 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.
+
 Tue May 17 19:33:12 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
 
        * coff-i960.c (icoff_little_vec, icoff_big_vec): Indicate leading
index 89ee89a484dd101a970705eef2bd2c3ba3f46957..0460e17734abeb43ec9190a3c4aa999ced7f1495 100644 (file)
--- 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;
 }