jcmvbkbc wrote:Squonk wrote:I have the issue when compiling dumbcraft's "dumbutils.c" from https://github.com/cnlohr/dumbcraft8266
This is using your latest crosstoll-NG from github.
Hope it helps!
Thanks. Confirmed assembler issue. Will fix.
Turns out to be a feature: assembler implicitly creates .literal_position at every entry instruction. I've added explicit .literal_position emitting in gcc for call0 ABI.
gcc and crosstool repos are updated with the fix; now gcc should be able to build code with -mtext-section-literals.