system-linux-armeb.ads (Backend_Overflow_Checks): Change to True.

* system-linux-armeb.ads (Backend_Overflow_Checks): Change to True.
	* system-linux-mips.ads (Backend_Overflow_Checks): Likewise.
	* system-linux-mips64el.ads (Backend_Overflow_Checks): Likewise.
	* system-linux-mipsel.ads (Backend_Overflow_Checks): Likewise.
	* system-linux-sparcv9.ads (Backend_Overflow_Checks): Likewise.
	* system-rtems.ads: Likewise.

From-SVN: r241003
This commit is contained in:
Eric Botcazou 2016-10-11 19:50:31 +00:00
parent acda0629ff
commit 2560723055
7 changed files with 32 additions and 22 deletions

View File

@ -1,32 +1,42 @@
2016-10-11 Eric Botcazou <ebotcazou@adacore.com>
* system-linux-armeb.ads (Backend_Overflow_Checks): Change to True.
* system-linux-mips.ads (Backend_Overflow_Checks): Likewise.
* system-linux-mips64el.ads (Backend_Overflow_Checks): Likewise.
* system-linux-mipsel.ads (Backend_Overflow_Checks): Likewise.
* system-linux-sparcv9.ads (Backend_Overflow_Checks): Likewise.
* system-rtems.ads: Likewise.
2016-10-11 Andris Pavenis <andris.pavenis@iki.fi> 2016-10-11 Andris Pavenis <andris.pavenis@iki.fi>
* adaint.c: Include process.h, signal.h, dir.h and utime.h for DJGPP. * adaint.c: Include process.h, signal.h, dir.h and utime.h for DJGPP.
ISALPHA: include <ctype.h> and define to isalpha for DJGPP when IN_RTS is defined. ISALPHA: include <ctype.h> and define to isalpha for DJGPP when IN_RTS
is defined.
(DIR_SEPARATOR) define to '\\' for DJGPP. (DIR_SEPARATOR) define to '\\' for DJGPP.
(__gnat_get_file_names_case_sensitive): return 0 for DJGPP unless (__gnat_get_file_names_case_sensitive): Return 0 for DJGPP unless
overriden in environment overriden in environment.
(__gnat_is_absolute_path): Support MS-DOS style absolute paths for DJGPP. (__gnat_is_absolute_path): Support MS-DOS absolute paths for DJGPP.
(__gnat_portable_spawn): Use spewnvp for DJGPP. (__gnat_portable_spawn): Use spewnvp for DJGPP.
(__gnat_portable_no_block_spawn): Use spawnvp for DJGPP. (__gnat_portable_no_block_spawn): Use spawnvp for DJGPP.
(__gnat_portable_wait): Return 0 for DJGPP. (__gnat_portable_wait): Return 0 for DJGPP.
2016-10-11 Andris Pavenis <andris.pavenis@iki.fi> 2016-10-11 Andris Pavenis <andris.pavenis@iki.fi>
* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP.
(EH_MECHANISM): Define to -gcc for DJGPP (EH_MECHANISM): Define to -gcc for DJGPP.
* system-djgpp.ads: New file * system-djgpp.ads: New file.
2016-10-11 Andris Pavenis <andris.pavenis@iki.fi> 2016-10-11 Andris Pavenis <andris.pavenis@iki.fi>
* ctrl_c.c: Do not use macro SA_RESTART for DJGPP. * ctrl_c.c: Do not use macro SA_RESTART for DJGPP.
* gsocket.h: Do not support sockets for DJGPP. * gsocket.h: Do not support sockets for DJGPP.
* init.c (__gnat_install_handler): Implememt for DJGPP * init.c (__gnat_install_handler): Implememt for DJGPP.
* sysdep.c: Include <io.h> for DJGPP * sysdep.c: Include <io.h> for DJGPP.
(_setmode): Define to setmode for DJGPP (_setmode): Define to setmode for DJGPP.
(__gnat_set_mode): Add implementation for DJGPP (__gnat_set_mode): Add implementation for DJGPP.
(__gnat_localtime_tzoff): Use localtime_r for DJGPP (__gnat_localtime_tzoff): Use localtime_r for DJGPP.
* terminals.c: Add DJGPP to list of unsupported platforms. * terminals.c: Add DJGPP to list of unsupported platforms.
* env.c (__gnat_clearenv): use _gnat_unsetenv on all entries for DJGPP * env.c (__gnat_clearenv): Use _gnat_unsetenv on all entries for DJGPP.
2016-10-11 Pierre-Marie de Rodat <derodat@adacore.com> 2016-10-11 Pierre-Marie de Rodat <derodat@adacore.com>

View File

@ -7,7 +7,7 @@
-- S p e c -- -- S p e c --
-- (GNU-Linux/ARMEB Version) -- -- (GNU-Linux/ARMEB Version) --
-- -- -- --
-- Copyright (C) 1992-2015, Free Software Foundation, Inc. -- -- Copyright (C) 1992-2016, Free Software Foundation, Inc. --
-- -- -- --
-- This specification is derived from the Ada Reference Manual for use with -- -- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow -- -- GNAT. The copyright notice above, and the license provisions that follow --
@ -127,7 +127,7 @@ private
-- of the individual switch values. -- of the individual switch values.
Backend_Divide_Checks : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False;
Backend_Overflow_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := True;
Command_Line_Args : constant Boolean := True; Command_Line_Args : constant Boolean := True;
Configurable_Run_Time : constant Boolean := False; Configurable_Run_Time : constant Boolean := False;
Denorm : constant Boolean := True; Denorm : constant Boolean := True;
@ -150,7 +150,7 @@ private
Always_Compatible_Rep : constant Boolean := False; Always_Compatible_Rep : constant Boolean := False;
Suppress_Standard_Library : constant Boolean := False; Suppress_Standard_Library : constant Boolean := False;
Use_Ada_Main_Program_Name : constant Boolean := False; Use_Ada_Main_Program_Name : constant Boolean := False;
Frontend_Exceptions : constant Boolean := True; Frontend_Exceptions : constant Boolean := False;
ZCX_By_Default : constant Boolean := False; ZCX_By_Default : constant Boolean := True;
end System; end System;

View File

@ -119,7 +119,7 @@ private
-- of the individual switch values. -- of the individual switch values.
Backend_Divide_Checks : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False;
Backend_Overflow_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := True;
Command_Line_Args : constant Boolean := True; Command_Line_Args : constant Boolean := True;
Configurable_Run_Time : constant Boolean := False; Configurable_Run_Time : constant Boolean := False;
Denorm : constant Boolean := True; Denorm : constant Boolean := True;

View File

@ -119,7 +119,7 @@ private
-- of the individual switch values. -- of the individual switch values.
Backend_Divide_Checks : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False;
Backend_Overflow_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := True;
Command_Line_Args : constant Boolean := True; Command_Line_Args : constant Boolean := True;
Configurable_Run_Time : constant Boolean := False; Configurable_Run_Time : constant Boolean := False;
Denorm : constant Boolean := True; Denorm : constant Boolean := True;

View File

@ -119,7 +119,7 @@ private
-- of the individual switch values. -- of the individual switch values.
Backend_Divide_Checks : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False;
Backend_Overflow_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := True;
Command_Line_Args : constant Boolean := True; Command_Line_Args : constant Boolean := True;
Configurable_Run_Time : constant Boolean := False; Configurable_Run_Time : constant Boolean := False;
Denorm : constant Boolean := True; Denorm : constant Boolean := True;

View File

@ -119,7 +119,7 @@ private
-- of the individual switch values. -- of the individual switch values.
Backend_Divide_Checks : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False;
Backend_Overflow_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := True;
Command_Line_Args : constant Boolean := True; Command_Line_Args : constant Boolean := True;
Configurable_Run_Time : constant Boolean := False; Configurable_Run_Time : constant Boolean := False;
Denorm : constant Boolean := True; Denorm : constant Boolean := True;

View File

@ -138,7 +138,7 @@ private
-- of the individual switch values. -- of the individual switch values.
Backend_Divide_Checks : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False;
Backend_Overflow_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := True;
Command_Line_Args : constant Boolean := True; Command_Line_Args : constant Boolean := True;
Configurable_Run_Time : constant Boolean := False; Configurable_Run_Time : constant Boolean := False;
Denorm : constant Boolean := True; Denorm : constant Boolean := True;