aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Celier <celier@adacore.com>2010-06-23 06:17:00 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2010-06-23 08:17:00 +0200
commiteeed09ef663f6c6f0c4f41f64d6029e6474263b0 (patch)
treecdb474977d541e032512b49fafab59f1f9e91e24
parent7665e4bd2cc96d483c59658d1d851765722d918c (diff)
downloadgcc-eeed09ef663f6c6f0c4f41f64d6029e6474263b0.zip
gcc-eeed09ef663f6c6f0c4f41f64d6029e6474263b0.tar.gz
gcc-eeed09ef663f6c6f0c4f41f64d6029e6474263b0.tar.bz2
a-reatim.adb: Call System.OS_Primitives.Initialize during elaboration
2010-06-23 Vincent Celier <celier@adacore.com> * a-reatim.adb: Call System.OS_Primitives.Initialize during elaboration From-SVN: r161245
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/a-reatim.adb6
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 39c2dad..8015d39 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-23 Vincent Celier <celier@adacore.com>
+
+ * a-reatim.adb: Call System.OS_Primitives.Initialize during elaboration
+
2010-06-23 Robert Dewar <dewar@adacore.com>
* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Properly handle
diff --git a/gcc/ada/a-reatim.adb b/gcc/ada/a-reatim.adb
index c3cbec6..355f0db 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;