From 2560723055a6b607259d6de8e789c73fe7c37c80 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 11 Oct 2016 19:50:31 +0000 Subject: [PATCH] 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 --- gcc/ada/ChangeLog | 36 ++++++++++++++++++++----------- gcc/ada/system-linux-armeb.ads | 8 +++---- gcc/ada/system-linux-mips.ads | 2 +- gcc/ada/system-linux-mips64el.ads | 2 +- gcc/ada/system-linux-mipsel.ads | 2 +- gcc/ada/system-linux-sparcv9.ads | 2 +- gcc/ada/system-rtems.ads | 2 +- 7 files changed, 32 insertions(+), 22 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b3b1955c92c..7e71e44b269 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,32 +1,42 @@ +2016-10-11 Eric Botcazou + + * 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 * adaint.c: Include process.h, signal.h, dir.h and utime.h for DJGPP. - ISALPHA: include and define to isalpha for DJGPP when IN_RTS is defined. + ISALPHA: include and define to isalpha for DJGPP when IN_RTS + is defined. (DIR_SEPARATOR) define to '\\' for DJGPP. - (__gnat_get_file_names_case_sensitive): return 0 for DJGPP unless - overriden in environment - (__gnat_is_absolute_path): Support MS-DOS style absolute paths for DJGPP. + (__gnat_get_file_names_case_sensitive): Return 0 for DJGPP unless + overriden in environment. + (__gnat_is_absolute_path): Support MS-DOS absolute paths for DJGPP. (__gnat_portable_spawn): Use spewnvp for DJGPP. (__gnat_portable_no_block_spawn): Use spawnvp for DJGPP. (__gnat_portable_wait): Return 0 for DJGPP. 2016-10-11 Andris Pavenis - * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target - (EH_MECHANISM): Define to -gcc for DJGPP - * system-djgpp.ads: New file + * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP. + (EH_MECHANISM): Define to -gcc for DJGPP. + * system-djgpp.ads: New file. 2016-10-11 Andris Pavenis * ctrl_c.c: Do not use macro SA_RESTART for DJGPP. * gsocket.h: Do not support sockets for DJGPP. - * init.c (__gnat_install_handler): Implememt for DJGPP - * sysdep.c: Include for DJGPP - (_setmode): Define to setmode for DJGPP - (__gnat_set_mode): Add implementation for DJGPP - (__gnat_localtime_tzoff): Use localtime_r for DJGPP + * init.c (__gnat_install_handler): Implememt for DJGPP. + * sysdep.c: Include for DJGPP. + (_setmode): Define to setmode for DJGPP. + (__gnat_set_mode): Add implementation for DJGPP. + (__gnat_localtime_tzoff): Use localtime_r for DJGPP. * 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 diff --git a/gcc/ada/system-linux-armeb.ads b/gcc/ada/system-linux-armeb.ads index e855eb20cf3..6c08d428624 100644 --- a/gcc/ada/system-linux-armeb.ads +++ b/gcc/ada/system-linux-armeb.ads @@ -7,7 +7,7 @@ -- S p e c -- -- (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 -- -- GNAT. The copyright notice above, and the license provisions that follow -- @@ -127,7 +127,7 @@ private -- of the individual switch values. Backend_Divide_Checks : constant Boolean := False; - Backend_Overflow_Checks : constant Boolean := False; + Backend_Overflow_Checks : constant Boolean := True; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; @@ -150,7 +150,7 @@ private Always_Compatible_Rep : constant Boolean := False; Suppress_Standard_Library : constant Boolean := False; Use_Ada_Main_Program_Name : constant Boolean := False; - Frontend_Exceptions : constant Boolean := True; - ZCX_By_Default : constant Boolean := False; + Frontend_Exceptions : constant Boolean := False; + ZCX_By_Default : constant Boolean := True; end System; diff --git a/gcc/ada/system-linux-mips.ads b/gcc/ada/system-linux-mips.ads index d5dc2cd2897..8b56a30a3b3 100644 --- a/gcc/ada/system-linux-mips.ads +++ b/gcc/ada/system-linux-mips.ads @@ -119,7 +119,7 @@ private -- of the individual switch values. Backend_Divide_Checks : constant Boolean := False; - Backend_Overflow_Checks : constant Boolean := False; + Backend_Overflow_Checks : constant Boolean := True; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; diff --git a/gcc/ada/system-linux-mips64el.ads b/gcc/ada/system-linux-mips64el.ads index 995fb8161e8..a4d98f57ee3 100644 --- a/gcc/ada/system-linux-mips64el.ads +++ b/gcc/ada/system-linux-mips64el.ads @@ -119,7 +119,7 @@ private -- of the individual switch values. Backend_Divide_Checks : constant Boolean := False; - Backend_Overflow_Checks : constant Boolean := False; + Backend_Overflow_Checks : constant Boolean := True; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; diff --git a/gcc/ada/system-linux-mipsel.ads b/gcc/ada/system-linux-mipsel.ads index 405ab7a0f95..91a9dbbb12e 100644 --- a/gcc/ada/system-linux-mipsel.ads +++ b/gcc/ada/system-linux-mipsel.ads @@ -119,7 +119,7 @@ private -- of the individual switch values. Backend_Divide_Checks : constant Boolean := False; - Backend_Overflow_Checks : constant Boolean := False; + Backend_Overflow_Checks : constant Boolean := True; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; diff --git a/gcc/ada/system-linux-sparcv9.ads b/gcc/ada/system-linux-sparcv9.ads index e4d11560d20..575619aa72c 100644 --- a/gcc/ada/system-linux-sparcv9.ads +++ b/gcc/ada/system-linux-sparcv9.ads @@ -119,7 +119,7 @@ private -- of the individual switch values. Backend_Divide_Checks : constant Boolean := False; - Backend_Overflow_Checks : constant Boolean := False; + Backend_Overflow_Checks : constant Boolean := True; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; diff --git a/gcc/ada/system-rtems.ads b/gcc/ada/system-rtems.ads index 664c228038e..261a588725d 100644 --- a/gcc/ada/system-rtems.ads +++ b/gcc/ada/system-rtems.ads @@ -138,7 +138,7 @@ private -- of the individual switch values. Backend_Divide_Checks : constant Boolean := False; - Backend_Overflow_Checks : constant Boolean := False; + Backend_Overflow_Checks : constant Boolean := True; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; -- 2.30.2