diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-14 04:41:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-14 04:41:20 +0000 |
commit | 2c8009f25fc129e3c2e20d07f8b196419b9d76fd (patch) | |
tree | cecfcd5dfe0cda8c1cdf5d5f7be33e7d0091fa4a /libc/sysdeps/linux/m68k | |
parent | b27f55ddc2bb42ced55fa6d318fe2592a25b6222 (diff) |
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/m68k')
-rw-r--r-- | libc/sysdeps/linux/m68k/bits/setjmp.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/setjmp.h b/libc/sysdeps/linux/m68k/bits/setjmp.h index efad14c13..4906feb2c 100644 --- a/libc/sysdeps/linux/m68k/bits/setjmp.h +++ b/libc/sysdeps/linux/m68k/bits/setjmp.h @@ -1,5 +1,5 @@ /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */ -/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1997,1998,2005,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 @@ -25,13 +25,15 @@ # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead." #endif -#ifndef _ASM - typedef struct { - unsigned long __dregs[6]; /* save d2 - d7 */ - unsigned long __aregs[6]; /* save a2 - a7 */ - unsigned long __pc; /* the return address */ + /* There are eight 4-byte data registers, but D0 is not saved. */ + long int __dregs[7]; + + /* There are six 4-byte address registers, plus the FP and SP. */ + int *__aregs[6]; + int *__fp; + int *__sp; #if defined __HAVE_68881__ || defined __HAVE_FPU__ /* There are eight floating point registers which @@ -41,8 +43,6 @@ typedef struct } __jmp_buf[1]; -#endif /* _ASM */ - #define JB_REGS 0 #define JB_DREGS 0 #define JB_AREGS 24 |