http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48086
--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-12 09:56:07 UTC --- confirmed that: (a) we create too many sections for the gcc.dg/torture/builtin-attr-1.c testcase (598) (b) that 'as' does not detect this @XCode 3.2.5 looking at the output of otool -l, we have all the sections preserved in the initial .o files; I guess this is because 'as' places all the output in one segment and encodes the seg/sect information manually. The next question is 'do we ever present too many sections to the final (post LTO) link?' (and, if so, why?) [it might be that we can live with excess sections in the intermediate objects (the extras are all in GNU_LTO) - so long as those are removed before we try to carry out the final link].