http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57651
--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> --- please lets fix it in gcc. I fixed it in gcc.c last year, and this behaviour is now re-introduced, so it is a regression. shared libraries work without the x bit set too, so lets just recognize these too.