[Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints
amylaar at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 2 12:43:00 GMT 2007
------- Comment #2 from amylaar at gcc dot gnu dot org 2007-05-02 13:42 -------
(In reply to comment #1)
Actually, struct unnamed_section is not suitable for garbage collected memory.
The data member is skipped, and the callback member points to a function,
which can change position when address space randomization is in effect.
I think the best solution is not to garbage collect unnamed sections.
If precompiled headers are compatible, we should be using the same set of
unnamed
sections in the compilation that uses the header as in the compilation that
created the precompiled header.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31634
More information about the Gcc-bugs
mailing list