diff options
author | Jeff Law <law@redhat.com> | 1994-02-08 05:09:34 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-02-08 05:09:34 +0000 |
commit | 6941fd4d644db2e33a0b1cb63dc9a67a333b5046 (patch) | |
tree | 949d8b3d1d2432a96f1fa1945ffeb56aafe76fdb /bfd/som.c | |
parent | 1c8c89a8b2f8bab078c67d8d56559a891c113919 (diff) | |
download | gdb-6941fd4d644db2e33a0b1cb63dc9a67a333b5046.zip gdb-6941fd4d644db2e33a0b1cb63dc9a67a333b5046.tar.gz gdb-6941fd4d644db2e33a0b1cb63dc9a67a333b5046.tar.bz2 |
* som.c: This file is also used for HOST_HPPAOSF.
* targets.c (bfd_target_vector): Enable som_vec for HOST_HPPAOSF.
Diffstat (limited to 'bfd/som.c')
-rw-r--r-- | bfd/som.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -23,7 +23,7 @@ #include "bfd.h" #include "sysdep.h" -#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) +#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) #include "libbfd.h" #include "som.h" @@ -3579,6 +3579,7 @@ som_set_reloc_info (fixup, end, internal_relocs, section, symbols, just_count) rptr->address = offset; rptr->howto = &som_hppa_howto_table[op]; rptr->addend = 0; + rptr->sym_ptr_ptr = bfd_abs_section.symbol_ptr_ptr; } /* Set default input length to 0. Get the opcode class index @@ -3895,8 +3896,8 @@ som_new_section_hook (abfd, newsect) void bfd_som_set_section_attributes (section, defined, private, sort_key, spnum) asection *section; - char defined; - char private; + int defined; + int private; unsigned char sort_key; int spnum; { @@ -3919,7 +3920,7 @@ bfd_som_set_subsection_attributes (section, container, access, asection *section; asection *container; int access; - unsigned char sort_key; + unsigned int sort_key; int quadrant; { struct subspace_dictionary_record *subspace_dict; @@ -4215,4 +4216,4 @@ bfd_target som_vec = (PTR) 0 }; -#endif /* HOST_HPPAHPUX || HOST_HPPABSD */ +#endif /* HOST_HPPAHPUX || HOST_HPPABSD || HOST_HPPAOSF */ |