https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83211
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |rx*-*-* arm*-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-25 CC| |olegendo at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |6.4.1 --- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> --- I can confirm this. It also happens on RX. I get: ltrans23.s: .section .init_array.00101,"aw",@progbits ltrans29.s: .section .init_array,"awx",@init_array It seems it also does not preserve the section flags as defined by INIT_ARRAY_SECTION_ASM_OP, CTORS_SECTION_ASM_OP etc. (Although the "w" flag in case of RX looks strange).