This is the mail archive of the
egcs@egcs.cygnus.com
mailing list for the EGCS project. See the EGCS
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: ATTRIBUTE_WEAK
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: ATTRIBUTE_WEAK
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 24 Feb 1999 18:11:12 -0300
- Cc: bcurrie@tssc.co.nz (Bill Currie), law@cygnus.com, egcs@egcs.cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-Reply-To: hjl@lucon.org's message of "Wed, 24 Feb 1999 12:53:22 -0800 (PST)"
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- References: <m10FlJ4-000390C@ocean.lucon.org>
- Sender: owner-egcs@egcs.cygnus.com
- Sender: oliva@araguaia.dcc.unicamp.br
- User-Agent: Gnus/5.070077 (Pterodactyl Gnus v0.77) XEmacs/20.4 (Emerald)
On Feb 24, 1999, hjl@lucon.org (H.J. Lu) wrote:
> #pragma weak foo
> extern void foo ();
> Can __attribute__ do it?
AFAIK, weak applies only to definitions, not to external references.
What do you mean with a weak external reference, after all?
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil