Re: gcc3 "millicode" problems with sh3 (toolchain/22452)

Todd Vierling <[email protected]> Wed, 3 Sep 2003 08:04:10 -0400 (EDT)
Newsgroups gmane.os.netbsd.ports.sh3,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
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 <[email protected]>