From: Jeff Law Date: Tue, 8 Feb 1994 05:09:34 +0000 (+0000) Subject: * som.c: This file is also used for HOST_HPPAOSF. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6941fd4d644db2e33a0b1cb63dc9a67a333b5046;p=binutils-gdb.git * som.c: This file is also used for HOST_HPPAOSF. * targets.c (bfd_target_vector): Enable som_vec for HOST_HPPAOSF. --- diff --git a/bfd/som.c b/bfd/som.c index dbee156610f..eef9c73bc23 100644 --- a/bfd/som.c +++ b/bfd/som.c @@ -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 */