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

--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> ---
> 2. What should we do with sections like .data.rel.ro, .data.rel.ro.local?
> They suffer from this bug too, but it's not that easy to put globals there,
> as you must set various attributes onto decl to ensure it will receive the
> right reloc value.

Answer for this would be that we probably can't do that with approach #2 (as
defined in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c1). Btw. how can
one hit an invalid memory in .data.rel.ro (or .data.rel.ro.local)?

Reply via email to