[PATCH 2/2] [ADA] Fix constants in s-linux-mips.ads

Arnaud Charlet charlet@adacore.com
Tue Jan 3 15:05:00 GMT 2017


> This patch corrects various constants in s-linux-mips.ads. A large
> proportion (especially the signals) were simply wrong on MIPS. It also
> fixes the struct sigaction offsets which are incorrect on 64-bit
> systems because sa_flags is an int (always 32-bits), and not a pointer.
> 
> Thanks,
> James
> 
> gcc/ada/Changelog:
> 
> 2017-01-03  James Cowgill  <James.Cowgill@imgtec.com>
> 
> 	* s-linux-mips.ads: Use correct signal and errno constants.
> 	(sa_handler_pos, sa_mask_pos): Fix offsets for 64-bit MIPS.

Change is OK.



More information about the Gcc-patches mailing list