diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-21 00:22:00 +0200 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-21 00:22:00 +0200 |
| commit | 3fcc2d265f1521c2dcae0734de355962cc6cd7a0 (patch) | |
| tree | 9f914b554fa9af110fda60e6a3962fe9e3a40423 /src/SDCCdwarf2.c | |
| parent | a2a263dd383d76e4ee0ed62f393376ef2ae49171 (diff) | |
| download | sdcc-gas-3fcc2d265f1521c2dcae0734de355962cc6cd7a0.tar.gz | |
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.
Diffstat (limited to 'src/SDCCdwarf2.c')
| -rw-r--r-- | src/SDCCdwarf2.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |
