Skip to content

Ghidra is a software reverse engineering (SRE) framework

Removed unneeded SuperH4 dummy exports

ghidorahrexb5f950bb2c09
diff --git a/Ghidra/Processors/SuperH4/data/languages/SuperH4.sinc b/Ghidra/Processors/SuperH4/data/languages/SuperH4.sinc
index cfb4adc8af..724c889b7f 100644
--- a/Ghidra/Processors/SuperH4/data/languages/SuperH4.sinc
+++ b/Ghidra/Processors/SuperH4/data/languages/SuperH4.sinc
@@ -518,15 +518,15 @@ N_0t_dbr1: @^N_0^"+,"^DBR is N_0 & DBR { export N_0; }
N_0t_bank1: @^N_0^"+" is N_0 { export N_0; }
-FR0_t: fr0 is OP_0 & fr0 { x:4 = 0; export x; } # dummy export, just looking for the display
+FR0_t: fr0 is OP_0 & fr0 { export fr0; }
XMTRX_t: "xmtrx" is OP_0 { x:4 = 0; export x; } # dummy export, just looking for the display
-mach_t: MACH is OP_0 & MACH { x:4 = 0; export x; } # dummy export, just looking for the display
+mach_t: MACH is OP_0 & MACH { export MACH; }
-macl_t: MACL is OP_0 & MACL { x:4 = 0; export x; } # dummy export, just looking for the display
+macl_t: MACL is OP_0 & MACL { export MACL; }
-fpul_t: FPUL is OP_0 & FPUL { x:4 = 0; export x; } # dummy export, just looking for the display
+fpul_t: FPUL is OP_0 & FPUL { export FPUL; }
fpscr_t: "FPSCR" is OP_0 { x:4 = 0; export x; } # dummy export, just looking for the display