* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 18 Nov 2003 21:22:57 +0000 (21:22 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Tue, 18 Nov 2003 21:22:57 +0000 (21:22 +0000)
commit1abe91b1db3777cfb5ed135baa33e16c7744abfd
tree41fbff7437dc55eab52e797ec43524ae21dece2c
parent5659daa1d9d69b21490a7624abaa6f88e9e33f31
* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
for loading addresses using CALL relocations.
Don't emit CALL relocations when a base register is used.

* gas/mips/lca-svr4pic.d: New test for the "lca" macro.
* gas/mips/lca-xgot.d: Likewise.
* gas/mips/lca.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.

* opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB.

* mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and
"dlca".
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/lca-svr4pic.d [new file with mode: 0644]
gas/testsuite/gas/mips/lca-xgot.d [new file with mode: 0644]
gas/testsuite/gas/mips/lca.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
include/ChangeLog
include/opcode/mips.h
opcodes/ChangeLog
opcodes/mips-opc.c