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]

Re: glibc2.1 [offtopic]



  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


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