https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89269
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andreas Schwab <sch...@linux-m68k.org> --- GCC generates a copy from a read-only data object to a stack object allocated for the local variable. If the linker puts that read-only data at a place that isn't readable then it is a bug in the linker, or the linker script, or the binary loader. Nothing of that is related to GCC.