diff options
author | Thiemo Seufer <ths@networkno.de> | 2001-12-04 14:38:48 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2001-12-04 14:38:48 +0000 |
commit | 956cd1d64de3f4438ea16af0c3fdccf98cbf4d26 (patch) | |
tree | 7c20fa7242ac4c5c44a47d509598a8372a3a4351 /bfd | |
parent | 956c53ee2897f62a5108ebc8833bd280ab73b68e (diff) | |
download | gdb-956cd1d64de3f4438ea16af0c3fdccf98cbf4d26.zip gdb-956cd1d64de3f4438ea16af0c3fdccf98cbf4d26.tar.gz gdb-956cd1d64de3f4438ea16af0c3fdccf98cbf4d26.tar.bz2 |
* 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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/config.bfd | 2 | ||||
-rw-r--r-- | bfd/elf32-mips.c | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3d0c6a8..5fd2dcd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config.bfd: Remove trailing blanks. + * elf32-mips.c (gprel16_with_gp): Remove superfluous casts. + 2001-12-04 Alexandre Oliva <aoliva@redhat.com> * elf32-d10v.c (elf_d10v_howto_table): Adjust bit-size of diff --git a/bfd/config.bfd b/bfd/config.bfd index 3dd4111..48beacf 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -389,7 +389,7 @@ case "${targ}" in targ_defvec=bfd_elf32_i386_vec targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec" ;; -#ifdef BFD64 +#ifdef BFD64 x86_64-*-freebsd*) targ_defvec=bfd_elf64_x86_64_vec targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec" diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 8cd4742..78e89b1 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; |