This is the mail archive of the gcc-patches@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: An egcs 1.1.2 patch for frame.h and crtstuff.c


> > I assume the IN_CRTSTUFF is needed because we only want the external
> > references in crtstuff to be weak, not the definitions in frame.c?
> 
> Yes.

How about adding a second declaration of __register_frame_info /
__deregister_frame_info in crtstuff.c ?  They would not need to have
argument prototypes.  Argument prototypes and attributes are cumulative,
i.e. when the second declaration is seen, the compiler maintains a new
merged symbol definition wich has the argument prototypes and the
merged attribute list.


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