* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
commitbb19100f33a28da3981022df870349f96d276b24
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 18 Nov 2003 21:22:57 +0000 (18 21:22 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Tue, 18 Nov 2003 21:22:57 +0000 (18 21:22 +0000)
treee0b4cdffcd8775d8e242b0f27350283e3f01031f
parent6e3acc6d7379767ed5578c35b0439b69d3c89d47
* 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