Subject: Re: More libgcc
To: Nick Hudson <skrll@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-toolchain
Date: 06/18/2004 08:28:03
On Jun 18, 2004, at 12:49 AM, Nick Hudson wrote:

> We have diverged from stock gcc in the way that libgcc_s.so is built 
> in that
> stock gcc uses symbol versioning. This exposed a problem for sh3 where 
> a
> couple of integer support functions were available that couldn't be 
> called
> via a PLT. We have a solution to this in place atm, but I'd like to 
> replace
> it with the symbol versioning trick.

Our ld.elf_so doesn't know about symbol versioning.

> sh3 requires its own libgcc-std.ver to remove the functions 
> (libgcc-std.ver).
> A similar fix has been included in gcc 3.4 and will be queued for 
> 3.3.x.

That seems bogus to rely on symbol versioning.  How does it work for
HPUX which doesn't have symver support?

-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this 
message.