This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
weak and alias
- From: Terje Eggestad <terje dot eggestad at scali dot com>
- To: gcc at gcc dot gnu dot org
- Date: 11 Mar 2003 09:26:02 +0100
- Subject: weak and alias
- Organization: Scali AS
In gcc 2.X the pragma
#pragma weak aliasname = realname
worked both for functions, and variables.
In gcc 3.2.x the pragma no longer seem to work, and you can't alias a
variable with __attribute__.
Is there anyway to re-enable the old pragma functionality?
Terje
--
_________________________________________________________________________
Terje Eggestad mailto:terje dot eggestad at scali dot no
Scali Scalable Linux Systems http://www.scali.com
Olaf Helsets Vei 6 tel: +47 22 62 89 61 (OFFICE)
P.O.Box 150, Oppsal +47 975 31 574 (MOBILE)
N-0619 Oslo fax: +47 22 62 89 51
NORWAY
_________________________________________________________________________