aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-10-13 18:21:32 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2013-10-13 18:21:32 +0200
commitad0d71b531e7d06b96e1b3675ba99845f43f766d (patch)
tree17541ff65910eb69bb15a9689634fda36c44df38 /gcc/ada/init.c
parentcf895a0159fe915e00213fa700fbe8a1bc838b7a (diff)
downloadgcc-ad0d71b531e7d06b96e1b3675ba99845f43f766d.zip
gcc-ad0d71b531e7d06b96e1b3675ba99845f43f766d.tar.gz
gcc-ad0d71b531e7d06b96e1b3675ba99845f43f766d.tar.bz2
[multiple changes]
2013-10-13 Thomas Quinot <quinot@adacore.com> * scos.ads: Minor documentation clarification. 2013-10-13 Thomas Quinot <quinot@adacore.com> * s-oscons-tmplt.c (CLOCK_RT_Ada): Set to CLOCK_MONOTONIC when building on AIX 5.3 or later, and to CLOCK_REALTIME on older versions of AIX. * init.c (pthread_condattr_setclock): Remove now useless weak symbol. * thread.c(__gnat_pthread_condattr_setup): Remove bogus AIX 5.2 compatibility shim. * s-osinte-aix.ads(clock_id_t): Fix C mapping (this is a 64-bit type). (clock_gettime): Import from C runtime library. * s-osinte-aix.adb (clock_gettime): Remove bogus emulation body, this routine is provided by the system in current supported versions of AIX. 2013-10-13 Robert Dewar <dewar@adacore.com> * sem_ch3.adb: Minor reformatting. 2013-10-13 Ed Schonberg <schonberg@adacore.com> * freeze.adb (Freeze_Entity): For a function whose return type is incomplete, do not replace the type with the full view if the type is a limited view. In that case the full view appears in a different unit, and the back-end will retrieve it at the proper elaboration point. 2013-10-13 Yannick Moy <moy@adacore.com> * exp_spark.adb (Expand_SPARK_Call): Do not introduce temporaries for actuals. From-SVN: r203503
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 1b2e188..c8de26b 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -226,19 +226,6 @@ nanosleep (struct timestruc_t *Rqtp, struct timestruc_t *Rmtp)
#endif /* _AIXVERSION_430 */
-/* Version of AIX before 5.3 don't have pthread_condattr_setclock:
- * supply it as a weak symbol here so that if linking on a 5.3 or newer
- * machine, we get the real one.
- */
-
-#ifndef _AIXVERSION_530
-#pragma weak pthread_condattr_setclock
-int
-pthread_condattr_setclock (pthread_condattr_t *attr, clockid_t cl) {
- return 0;
-}
-#endif
-
static void
__gnat_error_handler (int sig,
siginfo_t *si ATTRIBUTE_UNUSED,