r291107 has broken things for me, because I have following in my linker script:
.data : { *(.data*) /* .. other "aw" sections go here ... */ PROVIDE_HIDDEN(__init_array_start = .); *(.init_array*) PROVIDE_HIDDEN(__init_array_end = .); }
This patch bypasses type check when section comes from linker script (it might make sense to eliminate it completely, though).