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]

Re: Eliminate crtstuff.c warnings


Matt Kraai <kraai@alumni.cmu.edu> writes:

> On Tue, Jul 01, 2003 at 11:20:36PM -0700, Zack Weinberg wrote:
>> Better to change the signature of __register_frame_info and
>> __deregister_frame_info, unless there is a reason this cannot be done
>> (which I doubt).
>
> Like this?

Exactly.

> Bootstrapped and regression tested on powerpc-unknown-linux-gnu.
>
> -- 
> Matt Kraai          kraai@alumni.cmu.edu          Debian GNU/Linux
>
> 	* collect2.c (write_c_file_stat, write_c_file_glob):
> 	Constify the first argument of __deregister_frame_info.
> 	* crtstuff.c (__register_frame_info)
> 	(__register_frame_info_bases, __deregister_frame_info)
> 	(__deregister_frame_info_bases): Constify first argument.
> 	* unwind-fde-dw2.c (__register_frame_info)
> 	(__register_frame_info_bases, __deregister_frame_info)
> 	(__deregister_frame_info_bases): Likewise.
> 	* unwind-fde-dw2.h (__register_frame_info)
> 	(__register_frame_info_bases, __deregister_frame_info)
> 	(__deregister_frame_info_bases): Likewise.

Please apply.

zw


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