From: Roland McGrath Date: Tue, 10 Jan 2006 09:22:16 +0000 (+0000) Subject: 2006-01-10 Roland McGrath X-Git-Tag: glibc-2.16-ports-before-merge~951 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8fd00472ed0370c956b0697cb5cc22acf389d77;p=thirdparty%2Fglibc.git 2006-01-10 Roland McGrath * sysdeps/arm/bits/setjmp.h (__JMP_BUF_SP): Macro moved to ... * sysdeps/arm/jmpbuf-offsets.h: ... here, new file. * sysdeps/arm/fpu/bits/setjmp.h: (__JMP_BUF_SP): Macro moved to ... * sysdeps/arm/fpu/jmpbuf-offsets.h: ... here, new file. * sysdeps/arm/eabi/bits/setjmp.h (__JMP_BUF_SP): Macro removed. --- diff --git a/sysdeps/arm/bits/setjmp.h b/sysdeps/arm/bits/setjmp.h index dbc7a509b3a..2792350f8b5 100644 --- a/sysdeps/arm/bits/setjmp.h +++ b/sysdeps/arm/bits/setjmp.h @@ -31,6 +31,4 @@ typedef int __jmp_buf[10]; #endif -#define __JMP_BUF_SP 8 - #endif diff --git a/sysdeps/arm/eabi/bits/setjmp.h b/sysdeps/arm/eabi/bits/setjmp.h index 85829076777..dd7679d200c 100644 --- a/sysdeps/arm/eabi/bits/setjmp.h +++ b/sysdeps/arm/eabi/bits/setjmp.h @@ -35,6 +35,4 @@ typedef int __jmp_buf[64] __attribute__((aligned (8))); #endif -#define __JMP_BUF_SP 8 - #endif diff --git a/sysdeps/arm/fpu/bits/setjmp.h b/sysdeps/arm/fpu/bits/setjmp.h index 7d675c553df..431fa039a2e 100644 --- a/sysdeps/arm/fpu/bits/setjmp.h +++ b/sysdeps/arm/fpu/bits/setjmp.h @@ -31,6 +31,4 @@ typedef int __jmp_buf[22]; #endif -#define __JMP_BUF_SP 20 - #endif diff --git a/sysdeps/arm/fpu/jmpbuf-offsets.h b/sysdeps/arm/fpu/jmpbuf-offsets.h new file mode 100644 index 00000000000..ad2a75ba0fc --- /dev/null +++ b/sysdeps/arm/fpu/jmpbuf-offsets.h @@ -0,0 +1,20 @@ +/* Private macros for accessing __jmp_buf contents. ARM/FPU version. + Copyright (C) 2006 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 Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#define __JMP_BUF_SP 20 diff --git a/sysdeps/arm/jmpbuf-offsets.h b/sysdeps/arm/jmpbuf-offsets.h new file mode 100644 index 00000000000..d4f7fe2bf37 --- /dev/null +++ b/sysdeps/arm/jmpbuf-offsets.h @@ -0,0 +1,20 @@ +/* Private macros for accessing __jmp_buf contents. ARM version. + Copyright (C) 2006 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 Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#define __JMP_BUF_SP 8