diff options
Diffstat (limited to 'sysdeps')
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, |
