Christo Crause via fpc-pascal wrote:
The assembly line you showed above is obviously missing a closing
parenthesis, so the error from avr-as is correct. I tested building
ppcrosssavr 3.2.2 with all your cross options and added -a to retain the
generated assembler source. This worked fine and line 28783 from
system.s has balanced parentheses: ldi r20,lo8(gs(FPC_FINALIZE))
My mistake while copying the line, sorry.
Somehow that line got truncated when you were building the cross
compiler, but I have no idea what could have caused that.
PS. My avr binutils version is 2.26 - old, but your version is about 10
years older still.
I use 2.17 because of this still unresolved bug
<https://sourceware.org/bugzilla/show_bug.cgi?id=11337> but that is probably relevant for windows
only. I will try 2.26 and report the result.
Regards,
Adriaan van Os
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal