summaryrefslogtreecommitdiff
path: root/gcc/ada/s-soflin.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-soflin.adb')
-rw-r--r--gcc/ada/s-soflin.adb15
1 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ada/s-soflin.adb b/gcc/ada/s-soflin.adb
index 518c14ca7f0..61cda2dc07c 100644
--- a/gcc/ada/s-soflin.adb
+++ b/gcc/ada/s-soflin.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- $Revision: 1.15 $
+-- $Revision$
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -112,8 +112,8 @@ package body System.Soft_Links is
SS_Ratio_Dynamic : constant Boolean :=
Parameters.Sec_Stack_Ratio = Parameters.Dynamic;
- begin
+ begin
if SS_Ratio_Dynamic then
SST.SS_Init
(New_TSD.Sec_Stack_Addr, SST.Default_Secondary_Stack_Size);
@@ -266,6 +266,8 @@ package body System.Soft_Links is
---------------------------
procedure Set_Exc_Stack_Addr_NT (Self_ID : Address; Addr : Address) is
+ pragma Warnings (Off, Self_ID);
+
begin
NT_TSD.Exc_Stack_Addr := Addr;
end Set_Exc_Stack_Addr_NT;
@@ -356,6 +358,15 @@ package body System.Soft_Links is
Ada.Exceptions.Save_Occurrence (NT_TSD.Current_Excep, X);
end Update_Exception_NT;
+ ------------------
+ -- Task_Name_NT --
+ -------------------
+
+ function Task_Name_NT return String is
+ begin
+ return "main_task";
+ end Task_Name_NT;
+
-------------------------
-- Package Elaboration --
-------------------------