sdcc-gas/src/hc08
Xavi Del Campo cf1d3aec55 Fixed github sdcc-gas issues #1, #2 and #4
Issue #1 was caused because code_name and data_name had been incorrectly
defined as const-qualified pointers, but this must be an exception for
the z80 backend, as stated by the comments.

Issue #2 has been solved by removing the --gas switch from SDCCmain.c,
renaming it to "--asm=" (as requested by PKK) and moved to STM8's main.c,
so the option is limited to those targets supporting it.

Issue #4 was because of SDCCglue.c, that generated local labels using
"!labeldef" instead of "!slabeldef", causing those __str_%d labels to be
printed as "__str_%d::" (the double colons stand for globa label according
to asxxx documentation) instead of "__str_%d":".

I ran the regression tests and most of them passed, but "wchar" returned another
"Multiple definition of..." error that I cannot explain so far. It is better than
nothing, though.
2019-11-06 04:34:26 +01:00
..
Makefile.in sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
gen.c sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
gen.h sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
hc08.h sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
hc08.vcxproj sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
hc08.vcxproj.filters sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
main.c Fixed github sdcc-gas issues #1, #2 and #4 2019-11-06 04:34:26 +01:00
main.h sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
peeph.def sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
ralloc.c sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
ralloc.h sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00
ralloc2.cc sdcc-3.9.0 fork implementing GNU assembler syntax 2019-10-18 00:31:54 +02:00