From 3fcc2d265f1521c2dcae0734de355962cc6cd7a0 Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Mon, 21 Oct 2019 00:22:00 +0200 Subject: More work on GNU as generation On _gas_mapping, label definitions do not allow "::". ":" must be used instead. gasOutput is now part of "options". Unneeded sections, such as HOME/GSINIT/etc., are no longer declared and/or defined. GNU as just does not need them. Startup function name must equal "_start" for GNU ld. The value of some macros, such as CODE_NAME or DATA_NAME, must change according to options.gasOutput, as "CODE" or "DATA" (among many others) are not understood by GNU as. STM8 port now selects GNU as format on --gas switch enabled. --- src/SDCCdwarf2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/SDCCdwarf2.c') diff --git a/src/SDCCdwarf2.c b/src/SDCCdwarf2.c index 8041641..a5e8bd8 100644 --- a/src/SDCCdwarf2.c +++ b/src/SDCCdwarf2.c @@ -1805,8 +1805,6 @@ dwWriteLineNumbers (void) lp->begin_sequence = 1; while (lp) { - fprintf(dwarf2FilePtr, ";sdccrm - label [\"%s\"], line %d\n", lp->label, lp->line); - dwWriteLineNumber (lp); if (lp->end_sequence && lp->next) lp->next->begin_sequence = 1; -- cgit v1.2.3