Closed
Description
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 `@'
...
the code on line 9468 looks like this:
_ZN4core3num7dec2flt5rawfp10prev_float14_MSG_FILE_LINE17h5bcd06a3b0d78233E:
.short str.3@
.short 27
.short str.1v
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
@
- Modify
generate_local_symbol_name
to not emit@
on MSP430
Metadata
Metadata
Assignees
Labels
No labels