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: An egcs 1.1.2 patch for frame.h and crtstuff.c
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: An egcs 1.1.2 patch for frame.h and crtstuff.c
- From: Joern Rennecke <amylaar@cygnus.co.uk>
- Date: Thu, 25 Feb 1999 21:06:34 +0000 (GMT)
- Cc: law@cygnus.com, egcs@egcs.cygnus.com, egcs-patches@egcs.cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-Reply-To: <m10G6is-000390C@ocean.lucon.org> from "H.J. Lu" at "Feb 25, 99 11:45:26 am"
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- Sender: owner-egcs@egcs.cygnus.com
> > 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.