-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should still work with sdcc fork of asxxxx #4
Comments
XaviDCR92
added a commit
that referenced
this issue
Nov 6, 2019
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.
Solved on commit cf1d3ae. Could you please try it yourself? |
stm8 regression tests now work for me. pdk15 still fails. |
Confirmed stm8-large tests fail:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be better, if, when --gas is not used, everything still works as before.
However, something seems wrong, as regression testing for stm8 or stm8-large fails:
The text was updated successfully, but these errors were encountered: