diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-07-07 18:05:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-07-07 18:05:06 +0000 |
commit | ebd2413529426b488d9519f9360aeec6df5f5d84 (patch) | |
tree | a4621c08f27999db503edb78aead41412e4b2ca6 /bfd/hp300hpux.c | |
parent | fde326fbc96db64f3dd9352bcb10ac97b51d0d50 (diff) | |
download | gdb-ebd2413529426b488d9519f9360aeec6df5f5d84.zip gdb-ebd2413529426b488d9519f9360aeec6df5f5d84.tar.gz gdb-ebd2413529426b488d9519f9360aeec6df5f5d84.tar.bz2 |
* aoutx.h (translate_from_native_sym_flags): Removed statep
argument. Just let an indirect symbol point to the next symbol
without forcing the next symbol to be undefined. Changed all
callers.
* hp300hpux.c (slurp_symbol_table): Changed call to
translate_from_native_sym_flags.
* targets.c: Added hp300hpux_vec.
* Makefile.in (hp300hpux.o): Added dependencies.
Diffstat (limited to 'bfd/hp300hpux.c')
-rw-r--r-- | bfd/hp300hpux.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bfd/hp300hpux.c b/bfd/hp300hpux.c index eb5ff22..410d639 100644 --- a/bfd/hp300hpux.c +++ b/bfd/hp300hpux.c @@ -451,7 +451,6 @@ DEFUN(MY(slurp_symbol_table),(abfd), aout_symbol_type *cached; unsigned num_syms = 0; unsigned num_secondary = 0; - int xxx = 0; /* for translate_from_native_sym_flags */ /* If there's no work to be done, don't do any */ if (obj_aout_symbols (abfd) != (aout_symbol_type *)NULL) return true; @@ -516,8 +515,7 @@ DEFUN(MY(slurp_symbol_table),(abfd), cache_save = *cache_ptr; convert_sym_type(sym_pointer, cache_ptr, abfd); - translate_from_native_sym_flags (sym_pointer, cache_ptr, abfd, - &xxx); + translate_from_native_sym_flags (sym_pointer, cache_ptr, abfd); /********************************************************/ /* for hpux, the 'lenght' value indicates the length of */ @@ -562,8 +560,8 @@ DEFUN(MY(slurp_symbol_table),(abfd), strings += length+10; cache_ptr2->type &= ~HP_SECONDARY_SYMBOL; /* clear secondary */ convert_sym_type(sym_pointer, cache_ptr2, abfd); - translate_from_native_sym_flags (sym_pointer, cache_ptr2, abfd, - &xxx); + translate_from_native_sym_flags (sym_pointer, cache_ptr2, + abfd); } /* skip over the embedded symbol. */ @@ -590,7 +588,6 @@ DEFUN(MY(swap_std_reloc_in), (abfd, bytes, cache_ptr, symbols), int r_extern = 0; unsigned int r_length; int r_pcrel = 0; - int r_baserel = 0, r_jmptable = 0, r_relative = 0; struct aoutdata *su = &(abfd->tdata.aout_data->a); cache_ptr->address = bfd_h_get_32 (abfd, bytes->r_address); @@ -638,6 +635,7 @@ DEFUN(MY(swap_std_reloc_in), (abfd, bytes, cache_ptr, symbols), break; default: printf("illegal relocation length: %x\n",bytes->r_length[0] ); + r_length = 0; } cache_ptr->howto = howto_table_std + r_length + 4 * r_pcrel; |