http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46191
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-27 12:44:16 UTC --- Linker does that if -lfoo instead of libfoo.a form is used in the linker script. So perhaps we could just use that. As libgcc_s linker script name is different and -lgcc is only a library, it might DTRT.