This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: glibc2.1 [offtopic]
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: glibc2.1 [offtopic]
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Tue, 23 Feb 1999 19:42:10 -0700
- cc: egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <m10FKRf-000390C@ocean.lucon.org>you write:
> > > Thanks for clearing it up. I am gald I asked. Now, where should I
> > > define ATTRIBUTE_WEAK? Since it will be used in more than once
> > > place, it should be in somethere more general.
> > For the mainline it belongs in gansidecl.h with the rest of the attribute
> > definitions.
> >
> > Note that these attribute defines are not target specific defines and
> Its use in frame.h is target specific.
HJ, there is nothing about that attribute that is target specific. It's
just like the unused attribute, any other attribute. There is NOTHING
target specific about it.
Please put the define in gansidecl.h with all the rest of the attribute
definitions for the mainline tree.
> > However, egcs-1.1 pre-dates the conversion to using gansidecl in a more
> > consistent manner. So I would recommend that you place the define for
> > ATTRIBUTE_WEAK within crtstuff.c for the egcs-1.1 branch.
> >
>
> Since those functions are delcared in frame.h, did you mean to say I
> should put ATTRIBUTE_WEAK in frame.h?
frame.h is fine for egcs-1.1 if that's where we'll actually use
ATTRIBUTE_WEAK.
jeff