summaryrefslogtreecommitdiff
path: root/src/SDCCasm.h
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-19 03:44:47 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-19 03:44:47 +0200
commita2a263dd383d76e4ee0ed62f393376ef2ae49171 (patch)
tree810d32d0296bae25d725cb2793f7b55d7239936d /src/SDCCasm.h
parent35f6532764c90dabeb131b165101a5f931fd68bb (diff)
downloadsdcc-gas-a2a263dd383d76e4ee0ed62f393376ef2ae49171.tar.gz
Creating GAS port in SDCCasm
SDCCasm proved a much more elegant way to implement GAS support for SDCC. In fact, I was surprised to see there was already an attempt that had been commented out. stm8-as only complaints about those nasty "Smain ==." statements, but that should be easy to fix.
Diffstat (limited to 'src/SDCCasm.h')
-rw-r--r--src/SDCCasm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/SDCCasm.h b/src/SDCCasm.h
index 4bad706..d1fcdcd 100644
--- a/src/SDCCasm.h
+++ b/src/SDCCasm.h
@@ -51,11 +51,8 @@ extern const ASM_MAPPINGS asm_asxxxx_mapping;
/* The default mapping for small (<16 bit word) Padauk architectures.
*/
extern const ASM_MAPPINGS asm_asxxxx_smallpdk_mapping;
-#if 0
-/* not used */
-extern const ASM_MAPPINGS asm_gas_mapping;
-#endif
extern const ASM_MAPPINGS asm_a390_mapping;
+extern const ASM_MAPPINGS asm_gas_mapping;
/** Last entry has szKey = NULL.
*/