aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/arm/__longjmp.S3
-rw-r--r--sysdeps/arm/setjmp.S3
-rw-r--r--sysdeps/generic/Makefile2
-rw-r--r--sysdeps/generic/aio_sigqueue.c33
-rw-r--r--sysdeps/generic/bits/confname.h11
-rw-r--r--sysdeps/generic/bits/siginfo.h184
-rw-r--r--sysdeps/generic/bits/utsname.h2
-rw-r--r--sysdeps/generic/dl-sysdep.c3
-rw-r--r--sysdeps/generic/enbl-secure.c8
-rw-r--r--sysdeps/generic/sigqueue.c32
-rw-r--r--sysdeps/generic/sigtimedwait.c33
-rw-r--r--sysdeps/generic/sigwaitinfo.c32
-rw-r--r--sysdeps/generic/testrtsig.h28
-rw-r--r--sysdeps/i386/Makefile4
-rw-r--r--sysdeps/i386/sys/ucontext.h4
-rw-r--r--sysdeps/libm-ieee754/s_csqrt.c10
-rw-r--r--sysdeps/libm-ieee754/s_csqrtf.c10
-rw-r--r--sysdeps/libm-ieee754/s_csqrtl.c10
-rw-r--r--sysdeps/m68k/fpu/e_acos.c1
-rw-r--r--sysdeps/m68k/fpu/e_atan2.c1
-rw-r--r--sysdeps/m68k/fpu/e_fmod.c1
-rw-r--r--sysdeps/m68k/fpu/e_pow.c1
-rw-r--r--sysdeps/m68k/fpu/e_scalb.c1
-rw-r--r--sysdeps/m68k/fpu/k_cos.c1
-rw-r--r--sysdeps/m68k/fpu/k_sin.c1
-rw-r--r--sysdeps/m68k/fpu/k_tan.c1
-rw-r--r--sysdeps/m68k/fpu/s_atan.c1
-rw-r--r--sysdeps/m68k/fpu/s_ccos.c1
-rw-r--r--sysdeps/m68k/fpu/s_ccosh.c1
-rw-r--r--sysdeps/m68k/fpu/s_cexp.c1
-rw-r--r--sysdeps/m68k/fpu/s_csin.c1
-rw-r--r--sysdeps/m68k/fpu/s_csinh.c1
-rw-r--r--sysdeps/m68k/fpu/s_frexp.c1
-rw-r--r--sysdeps/m68k/fpu/s_ilogb.c1
-rw-r--r--sysdeps/m68k/fpu/s_isinf.c1
-rw-r--r--sysdeps/m68k/fpu/s_llrint.c1
-rw-r--r--sysdeps/m68k/fpu/s_llrintf.c1
-rw-r--r--sysdeps/m68k/fpu/s_llrintl.c1
-rw-r--r--sysdeps/m68k/fpu/s_lrint.c1
-rw-r--r--sysdeps/m68k/fpu/s_modf.c1
-rw-r--r--sysdeps/m68k/fpu/s_remquo.c1
-rw-r--r--sysdeps/m68k/fpu/s_scalbn.c1
-rw-r--r--sysdeps/m68k/fpu/s_sincos.c1
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c2
-rw-r--r--sysdeps/unix/sysv/linux/Dist8
-rw-r--r--sysdeps/unix/sysv/linux/Makefile8
-rw-r--r--sysdeps/unix/sysv/linux/aio_sigqueue.c54
-rw-r--r--sysdeps/unix/sysv/linux/arm/bits/mman.h75
-rw-r--r--sysdeps/unix/sysv/linux/bits/local_lim.h6
-rw-r--r--sysdeps/unix/sysv/linux/bits/posix_opt.h8
-rw-r--r--sysdeps/unix/sysv/linux/bits/sigaction.h22
-rw-r--r--sysdeps/unix/sysv/linux/bits/siginfo.h257
-rw-r--r--sysdeps/unix/sysv/linux/bits/signum.h21
-rw-r--r--sysdeps/unix/sysv/linux/bits/sigset.h38
-rw-r--r--sysdeps/unix/sysv/linux/i386/clone.S7
-rw-r--r--sysdeps/unix/sysv/linux/i386/sigaction.c37
-rw-r--r--sysdeps/unix/sysv/linux/i386/sys/ucontext.h106
-rw-r--r--sysdeps/unix/sysv/linux/init-first.c2
-rw-r--r--sysdeps/unix/sysv/linux/kernel_sigaction.h4
-rw-r--r--sysdeps/unix/sysv/linux/netinet/ip.h52
-rw-r--r--sysdeps/unix/sysv/linux/rt_sigaction.c28
-rw-r--r--sysdeps/unix/sysv/linux/rt_sigprocmask.c28
-rw-r--r--sysdeps/unix/sysv/linux/rt_sigqueueinfo.c27
-rw-r--r--sysdeps/unix/sysv/linux/rt_sigreturn.c27
-rw-r--r--sysdeps/unix/sysv/linux/rt_sigsuspend.c33
-rw-r--r--sysdeps/unix/sysv/linux/rt_sigtimedwait.c34
-rw-r--r--sysdeps/unix/sysv/linux/sigaction.c27
-rw-r--r--sysdeps/unix/sysv/linux/sigpending.c53
-rw-r--r--sysdeps/unix/sysv/linux/sigprocmask.c55
-rw-r--r--sysdeps/unix/sysv/linux/sigqueue.c53
-rw-r--r--sysdeps/unix/sysv/linux/sigreturn.c53
-rw-r--r--sysdeps/unix/sysv/linux/sigsuspend.c27
-rw-r--r--sysdeps/unix/sysv/linux/sigtimedwait.c37
-rw-r--r--sysdeps/unix/sysv/linux/sigwaitinfo.c36
-rw-r--r--sysdeps/unix/sysv/linux/sys/pci.h25
-rw-r--r--sysdeps/unix/sysv/linux/sys/timex.h6
-rw-r--r--sysdeps/unix/sysv/linux/sys/ultrasound.h1
-rw-r--r--sysdeps/unix/sysv/linux/syscalls.list13
-rw-r--r--sysdeps/unix/sysv/linux/testrtsig.h30
-rw-r--r--sysdeps/wordsize-32/bits/environments.h32
-rw-r--r--sysdeps/wordsize-64/bits/environments.h30
81 files changed, 1683 insertions, 116 deletions
diff --git a/sysdeps/arm/__longjmp.S b/sysdeps/arm/__longjmp.S
index b027103d60..a2042f5543 100644
--- a/sysdeps/arm/__longjmp.S
+++ b/sysdeps/arm/__longjmp.S
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <sysdep.h>
+#define _SETJMP_H
#define _ASM
#include <bits/setjmp.h>
@@ -32,6 +33,6 @@ ENTRY (__longjmp)
add r2, r2, #48
lfmfd f4, 4, [r2]
#endif
-
+
LOADREGS(ia, r2, {v1-v6, sl, fp, sp, pc})
END (__longjmp)
diff --git a/sysdeps/arm/setjmp.S b/sysdeps/arm/setjmp.S
index 8f99e4fcb4..08cd0d254e 100644
--- a/sysdeps/arm/setjmp.S
+++ b/sysdeps/arm/setjmp.S
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <sysdep.h>
+#define _SETJMP_H
#define _ASM
#include <bits/setjmp.h>
@@ -28,7 +29,7 @@ ENTRY (__sigsetjmp)
/* Save registers */
#if __ARM_USES_FP
sfmea f4, 4, [r0]!
-#endif
+#endif
stmia r0, {v1-v6, sl, fp, sp, lr}
/* Make a tail call to __sigjmp_save; it takes the same args. */
diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile
index 2f6a8f4333..4d6c60447a 100644
--- a/sysdeps/generic/Makefile
+++ b/sysdeps/generic/Makefile
@@ -33,6 +33,7 @@ endif
ifeq ($(subdir),stdio-common)
ifneq ($(inhibit-siglist),yes)
+ifneq ($(cross-compiling),yes)
ifeq "$(filter %siglist.c,$(before-compile))" ""
before-compile := $(before-compile) $(objpfx)siglist.c
$(objpfx)siglist.c: $(objpfx)make_siglist
@@ -49,6 +50,7 @@ generated := $(generated) make_siglist siglist.c
endif
endif
endif
+endif
ifeq ($(subdir),string)
CFLAGS-wordcopy.c += -Wno-uninitialized
diff --git a/sysdeps/generic/aio_sigqueue.c b/sysdeps/generic/aio_sigqueue.c
new file mode 100644
index 0000000000..0a871e24d9
--- /dev/null
+++ b/sysdeps/generic/aio_sigqueue.c
@@ -0,0 +1,33 @@
+/* Copyright (C) 1997 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. */
+
+#include <aio.h>
+#include <errno.h>
+#include <signal.h>
+
+#include "aio_misc.h"
+
+int
+__aio_sigqueue (int sig, const union sigval val)
+{
+ __set_errno (ENOSYS);
+ return -1;
+}
+
+stub_warning (__aio_sigqueue)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/bits/confname.h b/sysdeps/generic/bits/confname.h
index 3991fb1df4..1b75d6e5b5 100644
--- a/sysdeps/generic/bits/confname.h
+++ b/sysdeps/generic/bits/confname.h
@@ -316,8 +316,17 @@ enum
#define _SC_NL_NMAX _SC_NL_NMAX
_SC_NL_SETMAX,
#define _SC_NL_SETMAX _SC_NL_SETMAX
- _SC_NL_TEXTMAX
+ _SC_NL_TEXTMAX,
#define _SC_NL_TEXTMAX _SC_NL_TEXTMAX
+
+ _SC_XBS5_ILP32_OFF32,
+#define _SC_XBS5_ILP32_OFF32 _SC_XBS5_ILP32_OFF32
+ _SC_XBS5_ILP32_OFFBIG,
+#define _SC_XBS5_ILP32_OFFBIG _SC_XBS5_ILP32_OFFBIG
+ _SC_XBS5_LP64_OFF64,