| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
options.gasOutput is not defined yet when these options above are assigned, so they hold invalid values.
|
| |
|
|
|
|
| |
.data only needs a label with the smybol name and .byte/.word
directives defining it. Therefore, INITIALIZED_NAME is ignored
since no allocation must be done from emitRegularMap() for .data.
|
| |
|
|
|
|
| |
stm8/main.c: 0x8000 must contain the entry point aka "_start" for GNU as.
Some work on supporting debugging symbols with --gas. Not finished yet.
|
| |
|
|
|
|
| |
It was an experimental attempt to implement GNU as support, but it
was deprecated in favor of ad-hoc workarounds and using SDCC
cross-assembler capabilities.
|
| |
|
|
|
|
|
| |
Interrupt vector must be placed on section .vectors, according to
the default linker script file.
Intermediate labels must be $-terminated so they are not listed by nm.
|
| |
|
|
|
| |
A new (untested) startup routine has been written for GNU as.
Section names have been considered from stm8-binutils linker script.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| | |
|
|
|
This fork aims to provide better support for stm8-binutils
|