summaryrefslogtreecommitdiff
path: root/include/opcode/mips.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2003-11-18 21:22:57 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2003-11-18 21:22:57 +0000
commit83f23b0469c228be5ff8ced5372070bb625a0eb5 (patch)
treed0b75f4e5312bb8f61122bb03f6e976fe8301ce2 /include/opcode/mips.h
parent404d88aa65d8f6d2bbd710bac46d6c3dc51f800d (diff)
downloadgdb-83f23b0469c228be5ff8ced5372070bb625a0eb5.tar.gz
* 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".
Diffstat (limited to 'include/opcode/mips.h')
-rw-r--r--include/opcode/mips.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 9dab6206097..5c3ddfcd7b5 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,