Subject: Re: gcc3 "millicode" problems with sh3 (toolchain/22452)
To: Valeriy E. Ushakov <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 09/03/2003 08:04:10
On Wed, 3 Sep 2003, Valeriy E. Ushakov wrote:
: AFAIK, linux-sh folks solved this by simply linking all shared libs
: against libgcc_pic.a (that has relevant symbols marked as .hidden).
: I'm not sure if this is ok, as it will mean that each shared lib will
: pull in *all* the symbols it needs from libgcc.
This part should already be happening. NetBSD's gcc LIBGCC_SPEC will use
-lgcc_pic in place of -lgcc when invoking "gcc -shared" for link.
-- Todd Vierling <firstname.lastname@example.org>