r128780 - in /trunk/gcc/ada: a-calend-vms.adb a...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Wed Sep 26 10:41:00 GMT 2007
Author: charlet
Date: Wed Sep 26 10:41:35 2007
New Revision: 128780
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128780
Log:
2007-09-26 Hristian Kirtchev <kirtchev@adacore.com>
* a-calend-vms.adb, a-calend.adb:
Add a section on leap seconds control along with two entities used to
enable and disable leap seconds support. The array Leap_Second_Times is
now constant and contains hard time values pre-generated. Remove
all elaboration code used to populate the table of leap seconds.
* bindgen.adb:
Add entity Leap_Seconds_Support to the list of global run-time variables
along with a comment on its usage and values.
(Gen_Adainit_Ada): Add code to generate the declaration and import of
Integer variable Leap_Seconds_Support. Set its value to zero (disabled)
or one (enabled) depending on the presence of binder switch "-y".
(Gen_Adainit_C): Add code to generate the declaration of external int
__gl_leap_seconds_support. Set is value to zero (disabled) or one
(enabled) depending on the presence of binder switch "-y".
* init.c: Add __gl_leap_seconds_support to the list of global values
computed by the binder.
Modified:
trunk/gcc/ada/a-calend-vms.adb
trunk/gcc/ada/a-calend.adb
trunk/gcc/ada/bindgen.adb
trunk/gcc/ada/init.c
More information about the Gcc-cvs
mailing list