OSDN Git Service

[ bfd/ChangeLog ]
authorChris Demetriou <cgd@google.com>
Thu, 1 Nov 2001 01:33:45 +0000 (01:33 +0000)
committerChris Demetriou <cgd@google.com>
Thu, 1 Nov 2001 01:33:45 +0000 (01:33 +0000)
commitc1348e627adbd69f65b3ff373728552932593438
tree8de36befc893fff3b2d669efc67dee3371a84ad6
parent4af23b52b75e56bdc50131f130c45aa6b3b0855f
[ 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.
bfd/ChangeLog
bfd/elf32-mips.c