> From: Andrew Pinski [mailto:pins...@gmail.com] > > I think your patch is broken since the object file (_eprintf.o) should > not be pulled in unless it is used and it is part of an archive and > for archives cause the linker to only bring in object files which have > things referenced to them.
Indeed, and after spending more time on it it is clear that the culprit is a function in another library (and that function is needed unfortunately). So no problem with eprintf in libgcc.a after all, sorry for the noise. Best regards, Thomas