This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Ada] Use probes for stack checking on more Linux platforms
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Nov 2009 13:39:40 +0100
- Subject: [Ada] Use probes for stack checking on more Linux platforms
There are no reasons not to use them since they work fine with the vendor OS.
Applied on the mainline.
2009-11-10 Eric Botcazou <ebotcazou@adacore.com>
PR ada/20548
* system-linux-alpha.ads (Stack_Check_Probes): Set to true.
* system-linux-hppa.ads (Stack_Check_Probes): Likewise.
* system-linux-sparc.ads (Stack_Check_Probes): Likewise.
* system-linux-sparcv9.ads (Stack_Check_Probes): Likewise.
--
Eric Botcazou
Index: system-linux-alpha.ads
===================================================================
--- system-linux-alpha.ads (revision 154062)
+++ system-linux-alpha.ads (working copy)
@@ -127,7 +127,7 @@ private
Preallocated_Stacks : constant Boolean := False;
Signed_Zeros : constant Boolean := True;
Stack_Check_Default : constant Boolean := False;
- Stack_Check_Probes : constant Boolean := False;
+ Stack_Check_Probes : constant Boolean := True;
Stack_Check_Limits : constant Boolean := False;
Support_64_Bit_Divides : constant Boolean := True;
Support_Aggregates : constant Boolean := True;
Index: system-linux-hppa.ads
===================================================================
--- system-linux-hppa.ads (revision 154059)
+++ system-linux-hppa.ads (working copy)
@@ -129,7 +129,7 @@ private
Preallocated_Stacks : constant Boolean := False;
Signed_Zeros : constant Boolean := True;
Stack_Check_Default : constant Boolean := False;
- Stack_Check_Probes : constant Boolean := False;
+ Stack_Check_Probes : constant Boolean := True;
Stack_Check_Limits : constant Boolean := False;
Support_64_Bit_Divides : constant Boolean := True;
Support_Aggregates : constant Boolean := True;
Index: system-linux-sparc.ads
===================================================================
--- system-linux-sparc.ads (revision 154062)
+++ system-linux-sparc.ads (working copy)
@@ -127,7 +127,7 @@ private
Preallocated_Stacks : constant Boolean := False;
Signed_Zeros : constant Boolean := True;
Stack_Check_Default : constant Boolean := False;
- Stack_Check_Probes : constant Boolean := False;
+ Stack_Check_Probes : constant Boolean := True;
Stack_Check_Limits : constant Boolean := False;
Support_64_Bit_Divides : constant Boolean := True;
Support_Aggregates : constant Boolean := True;
Index: system-linux-sparcv9.ads
===================================================================
--- system-linux-sparcv9.ads (revision 154062)
+++ system-linux-sparcv9.ads (working copy)
@@ -127,7 +127,7 @@ private
Preallocated_Stacks : constant Boolean := False;
Signed_Zeros : constant Boolean := True;
Stack_Check_Default : constant Boolean := False;
- Stack_Check_Probes : constant Boolean := False;
+ Stack_Check_Probes : constant Boolean := True;
Stack_Check_Limits : constant Boolean := False;
Support_64_Bit_Divides : constant Boolean := True;
Support_Aggregates : constant Boolean := True;