summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_prag.adb
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 01:38:03 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 01:45:23 -0700
commit6bc500b626e1e06972391c60e4ed285d07525a30 (patch)
treeb96efa1285df9b6c30320c7820f01e2df3dd354c /gcc/ada/exp_prag.adb
parent3ff28a9d44de84d2cc3925fd84ea206b323f9169 (diff)
downloadgcc-6bc500b626e1e06972391c60e4ed285d07525a30.tar.gz
x32: Add and use libgnarl/s-taprop__x32.adbhjl/x86/master
s-taprop.adb failed to compile for x32: s-taprop.adb:341:29: operator for type "System.Linux.time_t" is not directly visible s-taprop.adb:341:29: add with_clause and use_clause for "Linux" which is caused by 2017-09-25 Doug Rupp <rupp@adacore.com> * libgnarl/s-taprop__linux.adb (Base_Monotonic_Clock): New variable. (Compute_Base_Monotonic_Clock): New function. (Timed_Sleep): Adjust to use Base_Monotonic_Clock. (Timed_Delay): Likewise. (Monotonic_Clock): Likewise. * s-oscons-tmplt.c (CLOCK_MONOTONIC): Use on Linux. This patch adds and uses libgnarl/s-taprop__x32.adb for x32, which is similar to libgnarl/s-taprop__linux.adb, but uses System.Linux.time_t. * gcc-interface/Makefile.in: Replace libgnarl/s-taprop__linux.adb with libgnarl/s-taprop__x32.adb for x32. * libgnarl/s-taprop__x32.adb: New file.
Diffstat (limited to 'gcc/ada/exp_prag.adb')
0 files changed, 0 insertions, 0 deletions