http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46790
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-21 19:23:36 UTC --- Created attachment 23431 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23431 variant 3 This is code-wide like variant 1, but configury is actually checking for the bug (slightly adapted EH-compatible --gc-section support test can be used for this). So, any preferences among these? Perhaps another alternative would be to use .gcc_except_table.startup.main and similar, though not sure how hard would that be.