From eeed09ef663f6c6f0c4f41f64d6029e6474263b0 Mon Sep 17 00:00:00 2001 From: Vincent Celier Date: Wed, 23 Jun 2010 06:17:00 +0000 Subject: [PATCH] a-reatim.adb: Call System.OS_Primitives.Initialize during elaboration 2010-06-23 Vincent Celier * a-reatim.adb: Call System.OS_Primitives.Initialize during elaboration From-SVN: r161245 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/a-reatim.adb | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 39c2dad2d7c..8015d397062 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2010-06-23 Vincent Celier + + * a-reatim.adb: Call System.OS_Primitives.Initialize during elaboration + 2010-06-23 Robert Dewar * sem_ch6.adb (Analyze_Subprogram_Body_Helper): Properly handle diff --git a/gcc/ada/a-reatim.adb b/gcc/ada/a-reatim.adb index c3cbec69ddc..355f0db4c10 100644 --- a/gcc/ada/a-reatim.adb +++ b/gcc/ada/a-reatim.adb @@ -7,7 +7,7 @@ -- B o d y -- -- -- -- Copyright (C) 1991-1994, Florida State University -- --- Copyright (C) 1995-2009, AdaCore -- +-- Copyright (C) 1995-2010, AdaCore -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -32,6 +32,8 @@ -- -- ------------------------------------------------------------------------------ +with System.OS_Primitives; + package body Ada.Real_Time is --------- @@ -242,4 +244,6 @@ package body Ada.Real_Time is return Time_Span (D); end To_Time_Span; +begin + System.OS_Primitives.Initialize; end Ada.Real_Time; -- 2.30.2