aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-03-16 10:08:46 +1030
committerAlan Modra <amodra@gmail.com>2022-03-16 10:08:46 +1030
commitdc3ff92676409a1c468c1cf1a00b4da67c25e2cc (patch)
treea1ae8a3ee20078d9dbfa6e3c55ea3a9915e22d1e /include/opcode
parent8736318e4e066778fe7625d3a4e1ffc6c0ef615d (diff)
downloadgdb-dc3ff92676409a1c468c1cf1a00b4da67c25e2cc.zip
gdb-dc3ff92676409a1c468c1cf1a00b4da67c25e2cc.tar.gz
gdb-dc3ff92676409a1c468c1cf1a00b4da67c25e2cc.tar.bz2
Delete PowerPC macro insn support
Let's hope this stays dead, but it's here as a patch separate from those that removed use of powerpc_macros just in case it needs to be resurrected. include/ * opcode/ppc.h (struct powerpc_macro): Delete declaration. (powerpc_macros, powerpc_num_macros): Likewise.. opcodes/ * ppc-opc.c (powerpc_macros, powerpc_num_macros): Delete. gas/ * config/tc-ppc.c (ppc_macro): Delete function. (ppc_macro_hash): Delete. (ppc_setup_opcodes, md_assemble): Delete macro support.
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ppc.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index 463965d..a9c2529 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -453,32 +453,6 @@ extern const unsigned int num_powerpc_operands;
#define PPC_OPERAND_FSL (0x800000)
#define PPC_OPERAND_FCR (0x1000000)
#define PPC_OPERAND_UDI (0x2000000)
-
-/* The POWER and PowerPC assemblers use a few macros. We keep them
- with the operands table for simplicity. The macro table is an
- array of struct powerpc_macro. */
-
-struct powerpc_macro
-{
- /* The macro name. */
- const char *name;
-
- /* The number of operands the macro takes. */
- unsigned int operands;
-
- /* One bit flags for the opcode. These are used to indicate which
- specific processors support the instructions. The values are the
- same as those for the struct powerpc_opcode flags field. */
- ppc_cpu_t flags;
-
- /* A format string to turn the macro into a normal instruction.
- Each %N in the string is replaced with operand number N (zero
- based). */
- const char *format;
-};
-
-extern const struct powerpc_macro powerpc_macros[];
-extern const int powerpc_num_macros;
extern ppc_cpu_t ppc_parse_cpu (ppc_cpu_t, ppc_cpu_t *, const char *);