From a1a49b204cfa73ef8877cdd18620065c8249d0ef Mon Sep 17 00:00:00 2001 From: emteere <47253321+emteere@users.noreply.github.com> Date: Mon, 5 Oct 2020 17:33:17 -0400 Subject: [PATCH] GP-183_emteere split cspec for SH2A which includes floating point registers. Couldn't use superh.cspec. 1/2 don't have these floating point registers --- .../Processors/SuperH/certification.manifest | 1 + .../SuperH/data/languages/superh.cspec | 16 ---- .../SuperH/data/languages/superh.ldefs | 2 +- .../SuperH/data/languages/superh2a.cspec | 88 +++++++++++++++++++ 4 files changed, 90 insertions(+), 17 deletions(-) create mode 100644 Ghidra/Processors/SuperH/data/languages/superh2a.cspec diff --git a/Ghidra/Processors/SuperH/certification.manifest b/Ghidra/Processors/SuperH/certification.manifest index 3fb7943de3..2b74928187 100644 --- a/Ghidra/Processors/SuperH/certification.manifest +++ b/Ghidra/Processors/SuperH/certification.manifest @@ -8,3 +8,4 @@ data/languages/superh.cspec||GHIDRA||||END| data/languages/superh.ldefs||GHIDRA||||END| data/languages/superh.pspec||GHIDRA||||END| data/languages/superh.sinc||GHIDRA||||END| +data/languages/superh2a.cspec||GHIDRA||||END| diff --git a/Ghidra/Processors/SuperH/data/languages/superh.cspec b/Ghidra/Processors/SuperH/data/languages/superh.cspec index 0114e1f5f8..2a06d7a5a0 100644 --- a/Ghidra/Processors/SuperH/data/languages/superh.cspec +++ b/Ghidra/Processors/SuperH/data/languages/superh.cspec @@ -29,19 +29,6 @@ - - - - - - - - - - - - - @@ -59,9 +46,6 @@ - - - diff --git a/Ghidra/Processors/SuperH/data/languages/superh.ldefs b/Ghidra/Processors/SuperH/data/languages/superh.ldefs index effc230b68..c105dbd35f 100644 --- a/Ghidra/Processors/SuperH/data/languages/superh.ldefs +++ b/Ghidra/Processors/SuperH/data/languages/superh.ldefs @@ -10,7 +10,7 @@ processorspec="superh.pspec" id="SuperH:BE:32:SH-2A"> SuperH SH-2A processor 32-bit big-endian - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +