On Tue, Apr 11, 2006 at 12:13:21AM +0100, Paul Jakma wrote:
> Hi,
> 
> (I'm not sure if this is the right list, it is a toolchain question..)
> 
> Do we have any kind of support for versioned symbols, specifically 
> having the /same/ global symbol alias to /different/ symbols according 
> to the version (as the GNU toolchain has)?

No.  Personally, I feel that putting this extra complexity into the way
linking works is a bad idea;  if you *really* need to change the way a
function works like this, that's what '#pragma redefine_extname' is for.

Cheers,
- jonathan

> The GNU toolchain allows one to introduce versioned symbols bound to 
> different symbols with:
> 
>   asm(".symver foo_old,[EMAIL PROTECTED]");
>   asm(".symver foo_new,foo@@FROBNICATOR_2.0");
> 
> Is there any way to do similar things with Sun Studio and Solaris LD?
> 
> regards,
> -- 
> Paul Jakma,
> Network Approachability, KISS.                http://quagga.ireland.sun.com/
> Sun Microsystems, Dublin, Ireland.    tel: EMEA x19190 / +353 1 819 9190
> _______________________________________________
> tools-discuss mailing list
> [email protected]

-- 
Jonathan Adams, Solaris Kernel Development
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to