[gcc/devel/omp/gcc-9] Ada, Darwin, PPC, backport fix for stack check probes.

Tobias Burnus burnus@gcc.gnu.org
Thu Mar 5 14:21:00 GMT 2020


https://gcc.gnu.org/g:0ae5ccfd0bc903b60b7008775eee8b847cfa4be6

commit 0ae5ccfd0bc903b60b7008775eee8b847cfa4be6
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Mon Aug 5 08:12:23 2019 +0000

    Ada, Darwin, PPC, backport fix for stack check probes.
    
    On PPC, Darwin uses the same code as other parts of the port.
    
    2019-08-05  Iain Sandoe  <iain@sandoe.co.uk>
    
    	Backport from mainline.
    	2019-07-02  Iain Sandoe  <iain@sandoe.co.uk>
    
    	* libgnat/system-darwin-ppc.ads: Set Stack_Check_Probes True for
    	PPC Darwin.
    
    From-SVN: r274111

Diff:
---
 gcc/ada/ChangeLog                     | 8 ++++++++
 gcc/ada/libgnat/system-darwin-ppc.ads | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 832b563..edf6953 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,6 +1,14 @@
 2019-08-05  Iain Sandoe  <iain@sandoe.co.uk>
 
 	Backport from mainline.
+	2019-07-02  Iain Sandoe  <iain@sandoe.co.uk>
+
+	* libgnat/system-darwin-ppc.ads: Set Stack_Check_Probes True for
+	PPC Darwin.
+
+2019-08-05  Iain Sandoe  <iain@sandoe.co.uk>
+
+	Backport from mainline.
 	2019-06-30  Iain Sandoe  <iain@sandoe.co.uk>
 
 	* gnatlink.adb (Link_Step): Remove duplicate -static-libgcc switches.
diff --git a/gcc/ada/libgnat/system-darwin-ppc.ads b/gcc/ada/libgnat/system-darwin-ppc.ads
index d314b66..9adc2de 100644
--- a/gcc/ada/libgnat/system-darwin-ppc.ads
+++ b/gcc/ada/libgnat/system-darwin-ppc.ads
@@ -158,7 +158,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_Aggregates        : constant Boolean := True;
    Support_Atomic_Primitives : constant Boolean := Word_Size = 64;



More information about the Gcc-cvs mailing list