[ bfd/ChangeLog ]
authorChris Demetriou <cgd@google.com>
Thu, 1 Nov 2001 01:33:47 +0000 (01:33 +0000)
committerChris Demetriou <cgd@google.com>
Thu, 1 Nov 2001 01:33:47 +0000 (01:33 +0000)
commitafdbd6d03b32209a99c57bfe2ee96e87a58a25bc
tree60c1b65cbc1e9743b1eea0d03fb250c7bf0a3129
parentd45fc520b151732db6a0e87a8684fa6c4f7d9b7a
[ bfd/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@demetriou.com>

* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.

[ gas/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)".  In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.

[ gas/testsuite/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.

* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.
13 files changed:
bfd/ChangeLog
bfd/elf32-mips.c
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/elempic.d
gas/testsuite/gas/mips/empic.d
gas/testsuite/gas/mips/empic.s
gas/testsuite/gas/mips/empic2.d [new file with mode: 0644]
gas/testsuite/gas/mips/empic2.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/telempic.d
gas/testsuite/gas/mips/tempic.d