summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-21 18:58:30 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-21 18:58:30 +0000
commit36970cc69149ef3a3f32d57663a14adedaebcbb9 (patch)
treea82e8df0bf9a6771c4b27f9f15c5a2844e8f81ea /libc/sysdeps
parent93ccb0356b10af44f620ec035fb76fa8a1165c22 (diff)
Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - Embedded
and Personal Systems. Thanks! -Erik
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/sh/Makefile68
-rw-r--r--libc/sysdeps/linux/sh/_mmap.c24
-rw-r--r--libc/sysdeps/linux/sh/bits/byteswap.h64
-rw-r--r--libc/sysdeps/linux/sh/bits/cmathcalls.h157
-rw-r--r--libc/sysdeps/linux/sh/bits/confname.h408
-rw-r--r--libc/sysdeps/linux/sh/bits/dirent.h53
-rw-r--r--libc/sysdeps/linux/sh/bits/dlfcn.h37
-rw-r--r--libc/sysdeps/linux/sh/bits/elfclass.h11
-rw-r--r--libc/sysdeps/linux/sh/bits/endian.h13
-rw-r--r--libc/sysdeps/linux/sh/bits/environments.h59
-rw-r--r--libc/sysdeps/linux/sh/bits/errno.h60
-rw-r--r--libc/sysdeps/linux/sh/bits/fcntl.h141
-rw-r--r--libc/sysdeps/linux/sh/bits/fenv.h61
-rw-r--r--libc/sysdeps/linux/sh/bits/huge_val.h88
-rw-r--r--libc/sysdeps/linux/sh/bits/in.h128
-rw-r--r--libc/sysdeps/linux/sh/bits/ioctl-types.h77
-rw-r--r--libc/sysdeps/linux/sh/bits/ioctls.h108
-rw-r--r--libc/sysdeps/linux/sh/bits/ipc.h50
-rw-r--r--libc/sysdeps/linux/sh/bits/libc-lock.h214
-rw-r--r--libc/sysdeps/linux/sh/bits/local_lim.h55
-rw-r--r--libc/sysdeps/linux/sh/bits/mathcalls.h336
-rw-r--r--libc/sysdeps/linux/sh/bits/mathdef.h53
-rw-r--r--libc/sysdeps/linux/sh/bits/mathinline.h12
-rw-r--r--libc/sysdeps/linux/sh/bits/mman.h75
-rw-r--r--libc/sysdeps/linux/sh/bits/msq.h70
-rw-r--r--libc/sysdeps/linux/sh/bits/nan.h48
-rw-r--r--libc/sysdeps/linux/sh/bits/poll.h51
-rw-r--r--libc/sysdeps/linux/sh/bits/posix1_lim.h141
-rw-r--r--libc/sysdeps/linux/sh/bits/posix2_lim.h100
-rw-r--r--libc/sysdeps/linux/sh/bits/posix_opt.h110
-rw-r--r--libc/sysdeps/linux/sh/bits/pthreadtypes.h122
-rw-r--r--libc/sysdeps/linux/sh/bits/resource.h204
-rw-r--r--libc/sysdeps/linux/sh/bits/sched.h73
-rw-r--r--libc/sysdeps/linux/sh/bits/select.h35
-rw-r--r--libc/sysdeps/linux/sh/bits/sem.h88
-rw-r--r--libc/sysdeps/linux/sh/bits/setjmp.h45
-rw-r--r--libc/sysdeps/linux/sh/bits/shm.h84
-rw-r--r--libc/sysdeps/linux/sh/bits/sigaction.h77
-rw-r--r--libc/sysdeps/linux/sh/bits/sigcontext.h29
-rw-r--r--libc/sysdeps/linux/sh/bits/siginfo.h279
-rw-r--r--libc/sysdeps/linux/sh/bits/signum.h80
-rw-r--r--libc/sysdeps/linux/sh/bits/sigset.h125
-rw-r--r--libc/sysdeps/linux/sh/bits/sigstack.h55
-rw-r--r--libc/sysdeps/linux/sh/bits/sigthread.h37
-rw-r--r--libc/sysdeps/linux/sh/bits/sockaddr.h44
-rw-r--r--libc/sysdeps/linux/sh/bits/socket.h305
-rw-r--r--libc/sysdeps/linux/sh/bits/stab.def234
-rw-r--r--libc/sysdeps/linux/sh/bits/stat.h127
-rw-r--r--libc/sysdeps/linux/sh/bits/statfs.h61
-rw-r--r--libc/sysdeps/linux/sh/bits/statvfs.h94
-rw-r--r--libc/sysdeps/linux/sh/bits/stdio-lock.h39
-rw-r--r--libc/sysdeps/linux/sh/bits/stdio.h168
-rw-r--r--libc/sysdeps/linux/sh/bits/stdio_lim.h37
-rw-r--r--libc/sysdeps/linux/sh/bits/string.h22
-rw-r--r--libc/sysdeps/linux/sh/bits/string2.h1214
-rw-r--r--libc/sysdeps/linux/sh/bits/stropts.h219
-rw-r--r--libc/sysdeps/linux/sh/bits/syscall.h226
-rw-r--r--libc/sysdeps/linux/sh/bits/termios.h212
-rw-r--r--libc/sysdeps/linux/sh/bits/time.h59
-rw-r--r--libc/sysdeps/linux/sh/bits/types.h153
-rw-r--r--libc/sysdeps/linux/sh/bits/uio.h46
-rw-r--r--libc/sysdeps/linux/sh/bits/ustat.h27
-rw-r--r--libc/sysdeps/linux/sh/bits/utmp.h105
-rw-r--r--libc/sysdeps/linux/sh/bits/utmpx.h86
-rw-r--r--libc/sysdeps/linux/sh/bits/utsname.h29
-rw-r--r--libc/sysdeps/linux/sh/bits/waitflags.h30
-rw-r--r--libc/sysdeps/linux/sh/bits/waitstatus.h104
-rw-r--r--libc/sysdeps/linux/sh/bits/wordsize.h19
-rw-r--r--libc/sysdeps/linux/sh/bits/xopen_lim.h96
-rw-r--r--libc/sysdeps/linux/sh/bsd-_setjmp.S33
-rw-r--r--libc/sysdeps/linux/sh/bsd-setjmp.S33
-rw-r--r--libc/sysdeps/linux/sh/crt0.S81
-rw-r--r--libc/sysdeps/linux/sh/fork.c35
-rw-r--r--libc/sysdeps/linux/sh/longjmp.S44
-rw-r--r--libc/sysdeps/linux/sh/setjmp.S52
-rw-r--r--libc/sysdeps/linux/sh/sysdep.h97
-rw-r--r--libc/sysdeps/linux/sh/vfork.c33
77 files changed, 8369 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile
new file mode 100644
index 000000000..684983998
--- /dev/null
+++ b/libc/sysdeps/linux/sh/Makefile
@@ -0,0 +1,68 @@
+# Makefile for uClibc
+#
+# Copyright (C) 2000 by Lineo, inc.
+# Copyright (C) 2001 by Hewlett-Packard Australia
+#
+# This program 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.
+#
+# This program 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 this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# Derived in part from the Linux-8086 C library, the GNU C Library, and several
+# other sundry sources. Files within this library are copyright by their
+# respective copyright holders.
+
+TOPDIR=../../../
+include $(TOPDIR)Rules.mak
+LIBC=$(TOPDIR)libc.a
+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 bsd-setjmp.S bsd-_setjmp.S longjmp.S
+SOBJS=$(patsubst %.S,%.o, $(SSRC))
+
+CSRC=fork.c vfork.c _mmap.c
+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)crt0.o
+
+$(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
+
+clean:
+ rm -f *.[oa] *~ core
+
diff --git a/libc/sysdeps/linux/sh/_mmap.c b/libc/sysdeps/linux/sh/_mmap.c
new file mode 100644
index 000000000..cee3be3dc
--- /dev/null
+++ b/libc/sysdeps/linux/sh/_mmap.c
@@ -0,0 +1,24 @@
+#include <unistd.h>
+#include <sys/mman.h>
+
+#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5, type6,arg6) \
+type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6) \
+{ \
+register long __sc3 __asm__ ("r3") = __NR_##name; \
+register long __sc4 __asm__ ("r4") = (long) arg1; \
+register long __sc5 __asm__ ("r5") = (long) arg2; \
+register long __sc6 __asm__ ("r6") = (long) arg3; \
+register long __sc7 __asm__ ("r7") = (long) arg4; \
+register long __sc0 __asm__ ("r0") = (long) arg5; \
+register long __sc1 __asm__ ("r1") = (long) arg6; \
+__asm__ __volatile__ ("trapa #0x15" \
+ : "=z" (__sc0) \
+ : "0" (__sc0), "r" (__sc4), "r" (__sc5), "r" (__sc6), "r" (__sc7), \
+ "r" (__sc3), "r" (__sc1) \
+ : "memory" ); \
+__syscall_return(type,__sc0); \
+}
+
+_syscall6(__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot, int, flags, int, fd, __off_t, offset);
+
+
diff --git a/libc/sysdeps/linux/sh/bits/byteswap.h b/libc/sysdeps/linux/sh/bits/byteswap.h
new file mode 100644
index 000000000..6b5115658
--- /dev/null
+++ b/libc/sysdeps/linux/sh/bits/byteswap.h
@@ -0,0 +1,64 @@
+/* Macros to swap the order of bytes in integer values.
+ 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. */
+
+#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 __bsx = (x); \
+ ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8)); }))
+#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 int __bsx = (x); \
+ ((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) | \
+ (((__bsx) & 0x0000ff00) << 8) | (((__bsx) & 0x000000ff) << 24)); }))
+#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/sh/bits/cmathcalls.h b/libc/sysdeps/linux/sh/bits/cmathcalls.h
new file mode 100644
index 000000000..f063042b0
--- /dev/null
+++ b/libc/sysdeps/linux/sh/bits/cmathcalls.h
@@ -0,0 +1,157 @@
+/* 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
+
+
+/* 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
diff --git a/libc/sysdeps/linux/sh/bits/confname.h b/libc/sysdeps/linux/sh/bits/confname.h
new file mode 100644
index 000000000..229088d67
--- /dev/null
+++ b/libc/sysdeps/linux/sh/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
+