From 36ed32caf8708a1fb646cdf8e92f2c1b86c68ae9 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 24 Jun 2022 12:59:45 +0200 Subject: [PATCH] [Ada] Adjust name of stack checking function gcc/ada/ * gcc-interface/trans.cc (gigi): Add one more leading underscore to name of stack checking function. --- gcc/ada/gcc-interface/trans.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/gcc-interface/trans.cc b/gcc/ada/gcc-interface/trans.cc index 8164801..5eff4df 100644 --- a/gcc/ada/gcc-interface/trans.cc +++ b/gcc/ada/gcc-interface/trans.cc @@ -364,7 +364,7 @@ gigi (Node_Id gnat_root, /* Enable GNAT stack checking method if needed */ if (!Stack_Check_Probes_On_Target) - set_stack_check_libfunc ("_gnat_stack_check"); + set_stack_check_libfunc ("__gnat_stack_check"); /* Retrieve alignment settings. */ double_float_alignment = get_target_double_float_alignment (); -- 2.7.4