This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: weak and alias


Never mind, 2.x didn't require the weak symbol to be declared, nor the
strong symbol to be initialized.

On Tue, 2003-03-11 at 09:26, Terje Eggestad wrote:
> 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            
_________________________________________________________________________


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]