diff options
author | Thiemo Seufer <ths@networkno.de> | 2001-12-04 14:38:46 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2001-12-04 14:38:46 +0000 |
commit | 19e285b0f9d2c0f893eace7e7e2ae7d00252ee19 (patch) | |
tree | 7fc1d27548aa7e07503de936c2dae39e7e9e8c98 /bfd/elf32-mips.c | |
parent | dc6dc3e95504f2721827c4b2a71c17fdaecaa722 (diff) | |
download | gdb-19e285b0f9d2c0f893eace7e7e2ae7d00252ee19.tar.gz |
* config.bfd: Remove trailing blanks.
* elf32-mips.c (gprel16_with_gp): Remove superfluous casts.
* strings.c (get_char): Initialize value.
* config/tc-mips.c (mips_cpreturn_offset): Better comment.
(load_register): Better error message. Cast away signedness
mismatches. Add casts needed for varargs.
(load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl.
Remove superfluous casts.
(macro): Cast away signedness mismatches. Remove superfluous casts.
(s_cpload): Fix wrong comment.
(s_mips_weakext): Standardize output message.
(get_number): Likewise.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 8cd47429019..78e89b17d05 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -2094,8 +2094,8 @@ gprel16_with_gp (abfd, symbol, reloc_entry, input_section, relocateable, data, || (symbol->flags & BSF_SECTION_SYM) != 0) val += relocation - gp; - insn = (insn &~ (bfd_vma) 0xffff) | (val & 0xffff); - bfd_put_32 (abfd, (bfd_vma) insn, (bfd_byte *) data + reloc_entry->address); + insn = (insn & ~0xffff) | (val & 0xffff); + bfd_put_32 (abfd, insn, (bfd_byte *) data + reloc_entry->address); if (relocateable) reloc_entry->address += input_section->output_offset; |