Hi Paul,
I asked a colleague of mine about this and this was his response:
=============
We have a pragma that allows redefines of names
#pragma redefine_extname
Theres also #pragma weak that allows one name to be an weak alias for
another.
The Users guide defines both.
Look up Chapter 2 of C user's guide and look for #pragma definitions....
http://docs.sun.com/source/819-3688/sun.specific.html
=============
In particular, 2.8.22 and 2.8.27 may be of interest.
HTHs!
/kso
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)?
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,
--
Kuldip Oberoi
Product Line Manager, Sun Studio
Sun Microsystems, Inc.
650.786.0149 (x80149)
_______________________________________________
tools-discuss mailing list
[email protected]