https://sourceware.org/bugzilla/show_bug.cgi?id=33779

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
It isn't just a matter of the section flags being wrong when you trick the
compiler like this.  The compiler is expecting that the two switches to
.init.text get the same section, as evidenced by it not emitting flags for the
second instance, and thus could conceivably emit code that only works when
there is just one section.
(.text and .text.* get the expected flags since they are well known sections,
see bfd/elf.c special_sections[].  I'm not sure why .init is treated specially
but not .init.*.  If you used .text.init then you likely wouldn't hit the flag
problem.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to