summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2003-11-18 21:22:56 +0000
committerMaciej W. Rozycki <macro@codesourcery.com>2003-11-18 21:22:56 +0000
commit94e46ecf9ecf86cc524c96fe25295f97110c5ec1 (patch)
treeb3e04e8ea6b02f3d15c4a4ab571139513741348e
parenta472290f3eedcf897c817d64f81eb235b7bf937c (diff)
downloadcygnal-94e46ecf9ecf86cc524c96fe25295f97110c5ec1.tar.gz
cygnal-94e46ecf9ecf86cc524c96fe25295f97110c5ec1.tar.bz2
cygnal-94e46ecf9ecf86cc524c96fe25295f97110c5ec1.zip
* 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".
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/mips.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 9052a6e20..76fe5b2d1 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB.
+
2003-11-14 Nick Clifton <nickc@redhat.com>
* dis-asm.h (struct disassemble_info): Add new field
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 9dab62060..5c3ddfcd7 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -567,6 +567,7 @@ enum
M_DIVU_3,
M_DIVU_3I,
M_DLA_AB,
+ M_DLCA_AB,
M_DLI,
M_DMUL,
M_DMUL_I,
@@ -592,6 +593,7 @@ enum
M_LB_AB,
M_LBU_A,
M_LBU_AB,
+ M_LCA_AB,
M_LD_A,
M_LD_OB,
M_LD_AB,