https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #10) > > unused_rodata: > > .section .sdata.used_rodata,"awR" This is symbol *un*used_rodata. > used_rodata is in a writable section. Is this intentional? -m64 generates Does -mno-readonly-in-sdata help? Does -msdata=none help?