summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-11 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-11 08:29:22 +0000
commit5c12c8eecd5f2e06c200651e90befe85efcf166f (patch)
treedbaed54145d28357e3b145ad8631529ffd0c2344 /libc/sysdeps
parenta924265e43cf2fcad97fc9489da482a27b0faf93 (diff)
Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.
He sent this patch to me a month ago, but I forgot to apply it...
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c16
-rw-r--r--libc/sysdeps/linux/v850/Makefile57
-rw-r--r--libc/sysdeps/linux/v850/bits/ATTENTION10
-rw-r--r--libc/sysdeps/linux/v850/bits/byteswap.h59
-rw-r--r--libc/sysdeps/linux/v850/bits/cmathcalls.h160
-rw-r--r--libc/sysdeps/linux/v850/bits/confname.h408
-rw-r--r--libc/sysdeps/linux/v850/bits/dirent.h62
-rw-r--r--libc/sysdeps/linux/v850/bits/dlfcn.h37
-rw-r--r--libc/sysdeps/linux/v850/bits/elfclass.h11
-rw-r--r--libc/sysdeps/linux/v850/bits/endian.h18
-rw-r--r--libc/sysdeps/linux/v850/bits/environments.h59
-rw-r--r--libc/sysdeps/linux/v850/bits/errno.h66
-rw-r--r--libc/sysdeps/linux/v850/bits/fcntl.h141
-rw-r--r--libc/sysdeps/linux/v850/bits/fenv.h61
-rw-r--r--libc/sysdeps/linux/v850/bits/huge_val.h88
-rw-r--r--libc/sysdeps/linux/v850/bits/in.h128
-rw-r--r--libc/sysdeps/linux/v850/bits/ioctl-types.h77
-rw-r--r--libc/sysdeps/linux/v850/bits/ioctls.h108
-rw-r--r--libc/sysdeps/linux/v850/bits/ipc.h50
-rw-r--r--libc/sysdeps/linux/v850/bits/libc-lock.h214
-rw-r--r--libc/sysdeps/linux/v850/bits/local_lim.h55
-rw-r--r--libc/sysdeps/linux/v850/bits/mathcalls.h336
-rw-r--r--libc/sysdeps/linux/v850/bits/mathdef.h53
-rw-r--r--libc/sysdeps/linux/v850/bits/mathinline.h12
-rw-r--r--libc/sysdeps/linux/v850/bits/mman.h75
-rw-r--r--libc/sysdeps/linux/v850/bits/msq.h70
-rw-r--r--libc/sysdeps/linux/v850/bits/nan.h48
-rw-r--r--libc/sysdeps/linux/v850/bits/poll.h51
-rw-r--r--libc/sysdeps/linux/v850/bits/posix1_lim.h141
-rw-r--r--libc/sysdeps/linux/v850/bits/posix2_lim.h100
-rw-r--r--libc/sysdeps/linux/v850/bits/posix_opt.h110
-rw-r--r--libc/sysdeps/linux/v850/bits/pthreadtypes.h122
-rw-r--r--libc/sysdeps/linux/v850/bits/resource.h204
-rw-r--r--libc/sysdeps/linux/v850/bits/sched.h73
-rw-r--r--libc/sysdeps/linux/v850/bits/select.h35
-rw-r--r--libc/sysdeps/linux/v850/bits/sem.h88
-rw-r--r--libc/sysdeps/linux/v850/bits/setjmp.h37
-rw-r--r--libc/sysdeps/linux/v850/bits/shm.h84
-rw-r--r--libc/sysdeps/linux/v850/bits/sigaction.h77
-rw-r--r--libc/sysdeps/linux/v850/bits/sigcontext.h29
-rw-r--r--libc/sysdeps/linux/v850/bits/siginfo.h279
-rw-r--r--libc/sysdeps/linux/v850/bits/signum.h80
-rw-r--r--libc/sysdeps/linux/v850/bits/sigset.h128
-rw-r--r--libc/sysdeps/linux/v850/bits/sigstack.h55
-rw-r--r--libc/sysdeps/linux/v850/bits/sigthread.h41
-rw-r--r--libc/sysdeps/linux/v850/bits/sockaddr.h47
-rw-r--r--libc/sysdeps/linux/v850/bits/socket.h305
-rw-r--r--libc/sysdeps/linux/v850/bits/stab.def234
-rw-r--r--libc/sysdeps/linux/v850/bits/stat.h127
-rw-r--r--libc/sysdeps/linux/v850/bits/statfs.h61
-rw-r--r--libc/sysdeps/linux/v850/bits/statvfs.h94
-rw-r--r--libc/sysdeps/linux/v850/bits/stdio-lock.h39
-rw-r--r--libc/sysdeps/linux/v850/bits/stdio.h168
-rw-r--r--libc/sysdeps/linux/v850/bits/stdio_lim.h37
-rw-r--r--libc/sysdeps/linux/v850/bits/string.h10
-rw-r--r--libc/sysdeps/linux/v850/bits/string2.h1214
-rw-r--r--libc/sysdeps/linux/v850/bits/stropts.h219
-rw-r--r--libc/sysdeps/linux/v850/bits/syscalls.h4
-rw-r--r--libc/sysdeps/linux/v850/bits/termios.h212
-rw-r--r--libc/sysdeps/linux/v850/bits/time.h59
-rw-r--r--libc/sysdeps/linux/v850/bits/types.h153
-rw-r--r--libc/sysdeps/linux/v850/bits/uio.h46
-rw-r--r--libc/sysdeps/linux/v850/bits/ustat.h27
-rw-r--r--libc/sysdeps/linux/v850/bits/utmp.h105
-rw-r--r--libc/sysdeps/linux/v850/bits/utmpx.h86
-rw-r--r--libc/sysdeps/linux/v850/bits/utsname.h29
-rw-r--r--libc/sysdeps/linux/v850/bits/waitflags.h30
-rw-r--r--libc/sysdeps/linux/v850/bits/waitstatus.h104
-rw-r--r--libc/sysdeps/linux/v850/bits/wordsize.h19
-rw-r--r--libc/sysdeps/linux/v850/bits/xopen_lim.h96
-rw-r--r--libc/sysdeps/linux/v850/clinkage.h14
-rw-r--r--libc/sysdeps/linux/v850/crt0.S51
-rw-r--r--libc/sysdeps/linux/v850/longjmp.S48
-rw-r--r--libc/sysdeps/linux/v850/setjmp.S39
-rw-r--r--libc/sysdeps/linux/v850/vfork.S42
75 files changed, 7930 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 05179548d..0d470db8c 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -2,7 +2,7 @@
/*
* Syscalls for uClibc
*
- * Copyright (C) 2000 by Lineo, inc. Written by Erik Andersen
+ * Copyright (C) 2000, 2001 by Lineo, inc. Written by Erik Andersen
* <andersen@lineo.com>, <andersee@debian.org>
*
* This program is free software; you can redistribute it and/or modify it
@@ -635,13 +635,16 @@ int reboot(int flag)
//#define __NR_readdir 89
//#define __NR_mmap 90
-#ifdef L__mmap
+#ifdef L_mmap
#define __NR__mmap __NR_mmap
#ifdef __STR_NR_mmap
#define __STR_NR__mmap __STR_NR_mmap
#endif
#include <unistd.h>
#include <sys/mman.h>
+
+#if __UCLIBC_OLD_STYLE_MMAP__
+
extern __ptr_t _mmap(unsigned long *buffer);
_syscall1(__ptr_t, _mmap, unsigned long *, buffer);
@@ -659,6 +662,15 @@ __ptr_t mmap(__ptr_t addr, size_t len, int prot,
buffer[5] = (unsigned long) offset;
return (__ptr_t) _mmap(buffer);
}
+
+#else /* !__UCLIBC_OLD_STYLE_MMAP__ */
+
+_syscall6(__ptr_t, mmap,
+ __ptr_t, addr, size_t, len, int, prot,
+ int, flags, int, fd, __off_t, offset);
+
+#endif /* __UCLIBC_OLD_STYLE_MMAP__ */
+
#endif
//#define __NR_munmap 91
diff --git a/libc/sysdeps/linux/v850/Makefile b/libc/sysdeps/linux/v850/Makefile
new file mode 100644
index 000000000..a48dcfd1d
--- /dev/null
+++ b/libc/sysdeps/linux/v850/Makefile
@@ -0,0 +1,57 @@
+#
+# libc/sysdeps/linux/v850/Makefile -- Makefile for v850 machine-dependent dir
+#
+# Copyright (C) 2001 NEC Corporation
+# Copyright (C) 2001 Miles Bader <miles@gnu.org>
+# Copyright (C) 2000 Lineo, inc.
+#
+# This file is subject to the terms and conditions of the GNU Library
+# General Public License. See the file COPYING.LIB in the main
+# directory of this archive for more details.
+#
+
+TOPDIR=../../../../
+include $(TOPDIR)Rules.mak
+ASFLAGS=$(CFLAGS)
+
+CFLAGS+= -I../ -D__ASSEMBLER__ -DASM_GLOBAL_DIRECTIVE=.globl
+
+TARGET_MACHINE_TYPE=$(shell $(CC) -dumpmachine)
+
+CRT0=crt0.S
+CRT0_OBJ=$(patsubst %.S,%.o, $(CRT0))
+
+SSRC=setjmp.S longjmp.S vfork.S
+SOBJS=$(patsubst %.S,%.o, $(SSRC))
+
+CSRC=
+COBJS=$(patsubst %.c,%.o, $(CSRC))
+
+OBJS=$(SOBJS) $(MOBJ) $(COBJS)
+
+
+all: $(OBJS) $(LIBC)
+
+$(LIBC): ar-target
+
+ar-target: $(OBJS) $(CRT0_OBJ)
+ $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+ cp $(CRT0_OBJ) $(TOPDIR)libc/$(CRT0_OBJ)
+
+$(CRT0_OBJ): %.o : %.S
+ $(CC) $(CFLAGS) -c $< -o $@
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
+$(SOBJS): %.o : %.S
+ $(CC) $(CFLAGS) -c $< -o $@
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
+$(COBJS): %.o : %.c
+ $(CC) $(CFLAGS) -c $< -o $@
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
+headers:
+ @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h )
+
+clean:
+ rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/v850/bits/ATTENTION b/libc/sysdeps/linux/v850/bits/ATTENTION
new file mode 100644
index 000000000..b6caa5ce1
--- /dev/null
+++ b/libc/sysdeps/linux/v850/bits/ATTENTION
@@ -0,0 +1,10 @@
+confname.h
+endian.h
+fenv.h
+huge_val.h
+mathdef.h
+mathinline.h
+setjmp.h !!!
+string.h (done)
+types.h (done)
+byteswap.h (done)
diff --git a/libc/sysdeps/linux/v850/bits/byteswap.h b/libc/sysdeps/linux/v850/bits/byteswap.h
new file mode 100644
index 000000000..b5b07209f
--- /dev/null
+++ b/libc/sysdeps/linux/v850/bits/byteswap.h
@@ -0,0 +1,59 @@
+/*
+ * libc/sysdeps/linux/v850/bits/byteswap.h -- Macros to swap the order
+ * of bytes in integer values
+ *
+ * Copyright (C) 2001 NEC Corporation
+ * Copyright (C) 2001 Miles Bader <miles@gnu.org>
+ * Copyright (C) 1997,1998,2001 Free Software Foundation, Inc.
+ *
+ * This file is subject to the terms and conditions of the GNU Lesser
+ * General Public License. See the file COPYING.LIB in the main
+ * directory of this archive for more details.
+ */
+
+#if !defined _BYTESWAP_H && !defined _NETINET_IN_H
+# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
+#endif
+
+/* Swap bytes in 16 bit value. */
+#ifdef __GNUC__
+# define __bswap_16(x) \
+ (__extension__ \
+ ({ unsigned short int __bsh_val = (x); \
+ __asm__ ("bsh %1, %0" : "=r" (__bsh_val) : "r" (__bsh_val)); \
+ __bsh_val; }))
+#else
+static __inline unsigned short int
+__bswap_16 (unsigned short int __bsx)
+{
+ return ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8));
+}
+#endif
+
+/* Swap bytes in 32 bit value. */
+#ifdef __GNUC__
+# define __bswap_32(x) \
+ (__extension__ \
+ ({ unsigned short int __bsw_val = (x); \
+ __asm__ ("bsw %1, %0" : "=r" (__bsw_val) : "r" (__bsw_val)); \
+ __bsw_val; }))
+#else
+static __inline unsigned int
+__bswap_32 (unsigned int __bsx)
+{
+ return ((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) |
+ (((__bsx) & 0x0000ff00) << 8) | (((__bsx) & 0x000000ff) << 24));
+}
+#endif
+
+#if defined __GNUC__ && __GNUC__ >= 2
+/* Swap bytes in 64 bit value. */
+# define __bswap_64(x) \
+ (__extension__ \
+ ({ union { unsigned long long int __ll; \
+ unsigned long int __l[2]; } __v, __r; \
+ __v.__ll = (x); \
+ __r.__l[0] = __bswap_32 (__v.__l[1]); \
+ __r.__l[1] = __bswap_32 (__v.__l[0]); \
+ __r.__ll; }))
+#endif
diff --git a/libc/sysdeps/linux/v850/bits/cmathcalls.h b/libc/sysdeps/linux/v850/bits/cmathcalls.h
new file mode 100644
index 000000000..c1b0781b0
--- /dev/null
+++ b/libc/sysdeps/linux/v850/bits/cmathcalls.h
@@ -0,0 +1,160 @@
+/* Prototype declarations for complex math functions;
+ helper file for <complex.h>.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+/* NOTE: Because of the special way this file is used by <complex.h>, this
+ file must NOT be protected from multiple inclusion as header files
+ usually are.
+
+ This file provides prototype declarations for the math functions.
+ Most functions are declared using the macro:
+
+ __MATHCALL (NAME, (ARGS...));
+
+ This means there is a function `NAME' returning `double' and a function
+ `NAMEf' returning `float'. Each place `_Mdouble_' appears in the
+ prototype, that is actually `double' in the prototype for `NAME' and
+ `float' in the prototype for `NAMEf'. Reentrant variant functions are
+ called `NAME_r' and `NAMEf_r'.
+
+ Functions returning other types like `int' are declared using the macro:
+
+ __MATHDECL (TYPE, NAME, (ARGS...));
+
+ This is just like __MATHCALL but for a function returning `TYPE'
+ instead of `_Mdouble_'. In all of these cases, there is still
+ both a `NAME' and a `NAMEf' that takes `float' arguments. */
+
+#ifndef _COMPLEX_H
+#error "Never use <bits/cmathcalls.h> directly; include <complex.h> instead."
+#endif
+
+#define _Mdouble_complex_ _Mdouble_ _Complex
+
+__BEGIN_DECLS
+
+/* Trigonometric functions. */
+
+/* Arc cosine of Z. */
+__MATHCALL (cacos, (_Mdouble_complex_ __z));
+/* Arc sine of Z. */
+__MATHCALL (casin, (_Mdouble_complex_ __z));
+/* Arc tangent of Z. */
+__MATHCALL (catan, (_Mdouble_complex_ __z));
+
+/* Cosine of Z. */
+__MATHCALL (ccos, (_Mdouble_complex_ __z));
+/* Sine of Z. */
+__MATHCALL (csin, (_Mdouble_complex_ __z));
+/* Tangent of Z. */
+__MATHCALL (ctan, (_Mdouble_complex_ __z));
+
+
+/* Hyperbolic functions. */
+
+/* Hyperbolic arc cosine of Z. */
+__MATHCALL (cacosh, (_Mdouble_complex_ __z));
+/* Hyperbolic arc sine of Z. */
+__MATHCALL (casinh, (_Mdouble_complex_ __z));
+/* Hyperbolic arc tangent of Z. */
+__MATHCALL (catanh, (_Mdouble_complex_ __z));
+
+/* Hyperbolic cosine of Z. */
+__MATHCALL (ccosh, (_Mdouble_complex_ __z));
+/* Hyperbolic sine of Z. */
+__MATHCALL (csinh, (_Mdouble_complex_ __z));
+/* Hyperbolic tangent of Z. */
+__MATHCALL (ctanh, (_Mdouble_complex_ __z));
+
+
+/* Exponential and logarithmic functions. */
+
+/* Exponential function of Z. */
+__MATHCALL (cexp, (_Mdouble_complex_ __z));
+
+/* Natural logarithm of Z. */
+__MATHCALL (clog, (_Mdouble_complex_ __z));
+
+#ifdef __USE_GNU
+/* The base 10 logarithm is not defined by the standard but to implement
+ the standard C++ library it is handy. */
+__MATHCALL (clog10, (_Mdouble_complex_ __z));
+#endif
+
+/* Power functions. */
+
+/* Return X to the Y power. */
+__MATHCALL (cpow, (_Mdouble_complex_ __x, _Mdouble_complex_ __y));
+
+/* Return the square root of Z. */
+__MATHCALL (csqrt, (_Mdouble_complex_ __z));
+
+
+/* Absolute value, conjugates, and projection. */
+
+/* Absolute value of Z. */
+__MATHDECL (_Mdouble_,cabs, (_Mdouble_complex_ __z));
+
+/* Argument value of Z. */
+__MATHDECL (_Mdouble_,carg, (_Mdouble_complex_ __z));
+
+/* Complex conjugate of Z. */
+__MATHCALL (conj, (_Mdouble_complex_ __z));
+
+/* Projection of Z onto the Riemann sphere. */
+__MATHCALL (cproj, (_Mdouble_complex_ __z));
+
+
+/* Decomposing complex values. */
+
+/* Imaginary part of Z. */
+__MATHDECL (_Mdouble_,cimag, (_Mdouble_complex_ __z));
+
+/* Real part of Z. */
+__MATHDECL (_Mdouble_,creal, (_Mdouble_complex_ __z));
+
+
+/* Now some optimized versions. GCC has handy notations for these
+ functions. */
+#if defined __GNUC__ && defined __OPTIMIZE__
+
+/* Imaginary part of Z. */
+extern __inline _Mdouble_
+__MATH_PRECNAME(cimag) (_Mdouble_complex_ __z)
+{
+ return __imag__ __z;
+}
+
+/* Real part of Z. */
+extern __inline _Mdouble_
+__MATH_PRECNAME(creal) (_Mdouble_complex_ __z)
+{
+ return __real__ __z;
+}
+
+/* Complex conjugate of Z. */
+extern __inline _Mdouble_complex_
+__MATH_PRECNAME(conj) (_Mdouble_complex_ __z)
+{
+ return ~__z;
+}
+
+#endif
+
+__END_DECLS
diff --git a/libc/sysdeps/linux/v850/bits/confname.h b/libc/sysdeps/linux/v850/bits/confname.h
new file mode 100644
index 000000000..229088d67
--- /dev/null
+++ b/libc/sysdeps/linux/v850/bits/confname.h
@@ -0,0 +1,408 @@
+/* `sysconf', `pathconf', and `confstr' NAME values. Generic version.
+ Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef _UNISTD_H
+# error "Never use <bits/confname.h> directly; include <unistd.h> instead."
+#endif
+
+/* Values for the NAME argument to `pathconf' and `fpathconf'. */
+enum
+ {
+ _PC_LINK_MAX,
+#define _PC_LINK_MAX _PC_LINK_MAX
+ _PC_MAX_CANON,
+#define _PC_MAX_CANON _PC_MAX_CANON
+ _PC_MAX_INPUT,
+#define _PC_MAX_INPUT _PC_MAX_INPUT
+ _PC_NAME_MAX,
+#define _PC_NAME_MAX _PC_NAME_MAX
+ _PC_PATH_MAX,
+#define _PC_PATH_MAX _PC_PATH_MAX
+ _PC_PIPE_BUF,
+#define _PC_PIPE_BUF _PC_PIPE_BUF
+ _PC_CHOWN_RESTRICTED,
+#define _PC_CHOWN_RESTRICTED _PC_CHOWN_RESTRICTED
+ _PC_NO_TRUNC,
+#define _PC_NO_TRUNC _PC_NO_TRUNC
+ _PC_VDISABLE,
+#define _PC_VDISABLE _PC_VDISABLE
+ _PC_SYNC_IO,
+#define _PC_SYNC_IO _PC_SYNC_IO
+ _PC_ASYNC_IO,
+#define _PC_ASYNC_IO _PC_ASYNC_IO
+ _PC_PRIO_IO,
+#define _PC_PRIO_IO _PC_PRIO_IO
+ _PC_SOCK_MAXBUF,
+#define _PC_SOCK_MAXBUF _PC_SOCK_MAXBUF
+ _PC_FILESIZEBITS
+#define _PC_FILESIZEBITS _PC_FILESIZEBITS
+ };
+
+/* Values for the argument to `sysconf'. */
+enum
+ {
+ _SC_ARG_MAX,
+#define _SC_ARG_MAX _SC_ARG_MAX
+ _SC_CHILD_MAX,
+#define _SC_CHILD_MAX _SC_CHILD_MAX
+ _SC_CLK_TCK,
+#define _SC_CLK_TCK _SC_CLK_TCK
+ _SC_NGROUPS_MAX,
+#define _SC_NGROUPS_MAX _SC_NGROUPS_MAX
+ _SC_OPEN_MAX,
+#define _SC_OPEN_MAX _SC_OPEN_MAX
+ _SC_STREAM_MAX,
+#define _SC_STREAM_MAX _SC_STREAM_MAX
+ _SC_TZNAME_MAX,
+#define _SC_TZNAME_MAX _SC_TZNAME_MAX
+ _SC_JOB_CONTROL,
+#define _SC_JOB_CONTROL _SC_JOB_CONTROL
+ _SC_SAVED_IDS,
+#define _SC_SAVED_IDS _SC_SAVED_IDS
+ _SC_REALTIME_SIGNALS,
+#define _SC_REALTIME_SIGNALS _SC_REALTIME_SIGNALS
+ _SC_PRIORITY_SCHEDULING,
+#define _SC_PRIORITY_SCHEDULING _SC_PRIORITY_SCHEDULING
+ _SC_TIMERS,
+#define _SC_TIMERS _SC_TIMERS
+ _SC_ASYNCHRONOUS_IO,
+#define _SC_ASYNCHRONOUS_IO _SC_ASYNCHRONOUS_IO
+ _SC_PRIORITIZED_IO,
+#define _SC_PRIORITIZED_IO _SC_PRIORITIZED_IO
+ _SC_SYNCHRONIZED_IO,
+#define _SC_SYNCHRONIZED_IO _SC_SYNCHRONIZED_IO
+ _SC_FSYNC,
+#define _SC_FSYNC _SC_FSYNC
+ _SC_MAPPED_FILES,
+#define _SC_MAPPED_FILES _SC_MAPPED_FILES
+ _SC_MEMLOCK,
+#define _SC_MEMLOCK _SC_MEMLOCK
+ _SC_MEMLOCK_RANGE,
+#define _SC_MEMLOCK_RANGE _SC_MEMLOCK_RANGE
+ _SC_MEMORY_PROTECTION,
+#define _SC_MEMORY_PROTECTION _SC_MEMORY_PROTECTION
+ _SC_MESSAGE_PASSING,
+#define _SC_MESSAGE_PASSING _SC_MESSAGE_PASSING
+ _SC_SEMAPHORES,
+#define _SC_SEMAPHORES _SC_SEMAPHORES
+ _SC_SHARED_MEMORY_OBJECTS,
+#define _SC_SHARED_MEMORY_OBJECTS _SC_SHARED_MEMORY_OBJECTS
+ _SC_AIO_LISTIO_MAX,
+#define _SC_AIO_LISTIO_MAX _SC_AIO_LISTIO_MAX
+ _SC_AIO_MAX,
+#define _SC_AIO_MAX _SC_AIO_MAX
+ _SC_AIO_PRIO_DELTA_MAX,
+#define _SC_AIO_PRIO_DELTA_MAX _SC_AIO_PRIO