https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85429
--- Comment #10 from Rainer Orth <ro at gcc dot gnu.org> --- Created attachment 44043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44043&action=edit proposed patch Here's what I came up with: tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11, both with as and gas. All exclude-related gotools failures are gone.