comparison gcc/ada/bindgen.adb @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
4 -- -- 4 -- --
5 -- B I N D G E N -- 5 -- B I N D G E N --
6 -- -- 6 -- --
7 -- B o d y -- 7 -- B o d y --
8 -- -- 8 -- --
9 -- Copyright (C) 1992-2017, Free Software Foundation, Inc. -- 9 -- Copyright (C) 1992-2018, Free Software Foundation, Inc. --
10 -- -- 10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under -- 11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- -- 12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- -- 13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
743 WBI (" pragma Import (C, Detect_Blocking, " & 743 WBI (" pragma Import (C, Detect_Blocking, " &
744 """__gl_detect_blocking"");"); 744 """__gl_detect_blocking"");");
745 WBI (" Default_Stack_Size : Integer;"); 745 WBI (" Default_Stack_Size : Integer;");
746 WBI (" pragma Import (C, Default_Stack_Size, " & 746 WBI (" pragma Import (C, Default_Stack_Size, " &
747 """__gl_default_stack_size"");"); 747 """__gl_default_stack_size"");");
748 WBI (" Default_Secondary_Stack_Size : " & 748
749 "System.Parameters.Size_Type;"); 749 if Sec_Stack_Used then
750 WBI (" pragma Import (C, Default_Secondary_Stack_Size, " & 750 WBI (" Default_Secondary_Stack_Size : " &
751 """__gnat_default_ss_size"");"); 751 "System.Parameters.Size_Type;");
752 WBI (" pragma Import (C, Default_Secondary_Stack_Size, " &
753 """__gnat_default_ss_size"");");
754 end if;
755
752 WBI (" Leap_Seconds_Support : Integer;"); 756 WBI (" Leap_Seconds_Support : Integer;");
753 WBI (" pragma Import (C, Leap_Seconds_Support, " & 757 WBI (" pragma Import (C, Leap_Seconds_Support, " &
754 """__gl_leap_seconds_support"");"); 758 """__gl_leap_seconds_support"");");
755 WBI (" Bind_Env_Addr : System.Address;"); 759 WBI (" Bind_Env_Addr : System.Address;");
756 WBI (" pragma Import (C, Bind_Env_Addr, " & 760 WBI (" pragma Import (C, Bind_Env_Addr, " &