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] |
Other format: | [Raw text] |
"Zack Weinberg" <zack@codesourcery.com> writes: > Andreas Jaeger <aj@suse.de> writes: > >> /cvs/gcc/gcc/crtstuff.c: In function `__do_global_dtors_aux': >> >> /cvs/gcc/gcc/crtstuff.c:282: warning: passing arg 1 of `__deregister_frame_info' discards qualifiers from pointer target type >> /cvs/gcc/gcc/crtstuff.c: In function `frame_dummy': >> >> /cvs/gcc/gcc/crtstuff.c:310: warning: passing arg 1 of `__register_frame_info' discards qualifiers from pointer target type >> make[2]: *** [crtbeginT.o] Error 1 >> >> Is the following the right fix? >> >> I'm bootstrapping/regtesting on x86_64-linux-gnu now, >> >> Andreas >> >> 2003-10-26 Andreas Jaeger <aj@suse.de> >> >> * crtstuff.c (frame_dummy): Cast __EH_FRAME_BEGIN__ properly. >> (__do_global_dtors_aux): Likewise. > > __EH_FRAME_BEGIN__ points into a read-only section, so better to > change the prototypes of __deregister_frame_info{,_bases}, > __register_frame_info{,_bases}, if at all possible. It should be possible - but is a major surgery of unwind-dw2-fde.* since that variable is passed around again... So, let's ask the experts first whether there's any objection for changing it before I try it... Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |