[Bug c/93108] mmix generates invalid assembly on newlib (-fstack-protector-strong -ffunction-sections): internal error: fixup not contained within frag

slyfox at inbox dot ru gcc-bugzilla@gcc.gnu.org
Mon Dec 30 22:10:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93108

--- Comment #2 from Sergei Trofimovich <slyfox at inbox dot ru> ---
Commenting out 'GETA $2,LC:0' makes assembler get past the error.

'LC:0' is defined in '.rodata'. If I change '.rodata' manually to '.text'
assembler can assemble ELF file from modified source.

I guess 'fixup not contained within frag' is an equivalent of 'relocation
points outside current ELF section'.


More information about the Gcc-bugs mailing list