From 7c03c75e90b0285da390f0f2b0bc10a145aaf107 Mon Sep 17 00:00:00 2001 From: Scott Bambrough Date: Mon, 26 Jun 2000 16:50:29 +0000 Subject: [PATCH] 2000-06-26 Scott Bambrough * arm-dis.c (regnames): Add an additional register set to match the set used by GCC. Make it the default. --- opcodes/ChangeLog | 5 +++++ opcodes/arm-dis.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 1060d30b759..ceeff9352db 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2000-06-26 Scott Bambrough + + * arm-dis.c (regnames): Add an additional register set to match + the set used by GCC. Make it the default. + 2000-06-22 Alan Modra * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index a3e7112b3fc..4c6552e6ccd 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -60,6 +60,8 @@ static arm_regname regnames[] = { { "raw" , "Select raw register names", { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15"}}, + { "gcc", "Select register names used by GCC", + { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "sl", "fp", "ip", "sp", "lr", "pc" }}, { "std", "Select register names used in ARM's ISA documentation", { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "sp", "lr", "pc" }}, { "apcs", "Select register names used in the APCS", @@ -70,7 +72,7 @@ static arm_regname regnames[] = { "a1", "a2", "a3", "a4", "v1", "v2", "v3", "WR", "v5", "SB", "SL", "FP", "IP", "SP", "LR", "PC" }} }; -/* Default to standard register name set. */ +/* Default to GCC register name set. */ static unsigned int regname_selected = 1; #define NUM_ARM_REGNAMES NUM_ELEM (regnames) -- 2.30.2