You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I tried to compile core and I get this errors from assembler:
core.s: Assembler messages:
core.s:9468: Error: junk at end of line, first unrecognized character is `@'
core.s:9740: Error: junk at end of line, first unrecognized character is `@'
...
I tried both msp430-gcc (4.6.3) and msp430-elf-gcc (5.3.0) and both give the same errors. Then I've renamed symbol str.3@ to str.3_at in assembly and it compiled successfully. I think msp430 assembler just does not like @ character in symbol names. So I see 2 options:
Modify MSP430 target in LLVM so it will rename symbols with @
[MSP430] Do not generate '@' character in symbol names.
MSP430 assembler does not like '@' character in symbol names, so we need
to replace it with some other character.
Fixes#38116
So I tried to compile core and I get this errors from assembler:
the code on line 9468 looks like this:
I tried both
msp430-gcc
(4.6.3) andmsp430-elf-gcc
(5.3.0) and both give the same errors. Then I've renamed symbolstr.3@
tostr.3_at
in assembly and it compiled successfully. I think msp430 assembler just does not like@
character in symbol names. So I see 2 options:@
generate_local_symbol_name
to not emit@
on MSP430The text was updated successfully, but these errors were encountered: