From 1ac4dadbe2c311e7188f13ad8f2c8383229ee191 Mon Sep 17 00:00:00 2001 From: doko Date: Mon, 7 Apr 2008 12:30:03 +0000 Subject: [PATCH] 2008-04-07 Aurelien Jarno * s-osinte-linux-kfreebsd.ads (SC_NPROCESSORS_ONLN): New constant constant for sysconf call. (bit_field): New packed boolean type used by cpu_set_t. (cpu_set_t): New type corresponding to the C type with the same name. Note that on the Ada side we use a bit field array for the affinity mask. There is not need for the C macro for setting individual bit. (pthread_setaffinity_np): New imported routine. * Makefile.in: Use s-tasinf-linux.ads and s-tasinf-linux.adb on GNU/kFreeBSD. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133978 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/ChangeLog | 13 +++++++++++++ gcc/ada/Makefile.in | 2 ++ gcc/ada/s-osinte-kfreebsd-gnu.ads | 23 ++++++++++++++++++++++- 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 826cd0d..c4ed0e7 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,16 @@ +2008-04-07 Aurelien Jarno + + * s-osinte-linux-kfreebsd.ads (SC_NPROCESSORS_ONLN): New + constant constant for sysconf call. + (bit_field): New packed boolean type used by cpu_set_t. + (cpu_set_t): New type corresponding to the C type with + the same name. Note that on the Ada side we use a bit + field array for the affinity mask. There is not need + for the C macro for setting individual bit. + (pthread_setaffinity_np): New imported routine. + * Makefile.in: Use s-tasinf-linux.ads and s-tasinf-linux.adb + on GNU/kFreeBSD. + 2008-04-07 Eric Botcazou * utils2.c (build_binary_op): Fold ARRAY_REF and ARRAY_RANGE_REF too. diff --git a/gcc/ada/Makefile.in b/gcc/ada/Makefile.in index c27e7e2..291b0a8 100644 --- a/gcc/ada/Makefile.in +++ b/gcc/ada/Makefile.in @@ -892,6 +892,8 @@ ifeq ($(strip $(filter-out %86 kfreebsd%,$(arch) $(osys))),) s-osinte.ads