diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-01-19 18:23:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-01-19 18:23:21 +0000 |
commit | fa2b89f1032989451742a5a75bcdec34736f903a (patch) | |
tree | 5151dd5df772f938bbf3fb9d7b8733f770d6974b /bfd/bout.c | |
parent | b6bef86226f54af747d927ec4a818e14e6e63ebe (diff) | |
download | gdb-fa2b89f1032989451742a5a75bcdec34736f903a.zip gdb-fa2b89f1032989451742a5a75bcdec34736f903a.tar.gz gdb-fa2b89f1032989451742a5a75bcdec34736f903a.tar.bz2 |
Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
* aoutx.h (swap_ext_reloc_in, swap_std_reloc_in),
bout.c (b_out_slurp_reloc_table),
coff-mips.c (ecoff_swap_reloc_in),
coff-msym.c (ecoff_swap_sym_in, ecoff_swap_rndx_in,
ecoff_swap_opt_in): Added casts to int to avoid muttering by
MIPS compiler.
Diffstat (limited to 'bfd/bout.c')
-rw-r--r-- | bfd/bout.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -522,11 +522,11 @@ b_out_slurp_reloc_table (abfd, asect, symbols) cache_ptr->howto = 0; if (abfd->xvec->header_byteorder_big_p) { - symnum = (raw[4] << 16) | (raw[5] << 8) | raw[6]; + symnum = ((int) raw[4] << 16) | ((int) raw[5] << 8) | (int) raw[6]; } else { - symnum = (raw[6] << 16) | (raw[5] << 8) | raw[4]; + symnum = ((int) raw[6] << 16) | ((int) raw[5] << 8) | (int) raw[4]; } if (raw[7] & extern_mask) |