svn commit: trunk/uClibc/libc/sysdeps/linux/m68k/bits

vapier at uclibc.org vapier at uclibc.org
Sat Jan 14 04:41:23 UTC 2006


Author: vapier
Date: 2006-01-13 20:41:20 -0800 (Fri, 13 Jan 2006)
New Revision: 13298

Log:
sync with glibc

Modified:
   trunk/uClibc/libc/sysdeps/linux/m68k/bits/setjmp.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/m68k/bits/setjmp.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/m68k/bits/setjmp.h	2006-01-14 04:38:52 UTC (rev 13297)
+++ trunk/uClibc/libc/sysdeps/linux/m68k/bits/setjmp.h	2006-01-14 04:41:20 UTC (rev 13298)
@@ -1,5 +1,5 @@
 /* Copyright (C) 2002, David McCullough <davidm at 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,14 +25,16 @@
 # 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
        are saved in IEEE 96-bit extended format.  */
@@ -41,8 +43,6 @@
 
   } __jmp_buf[1];
 
-#endif /* _ASM */
-
 #define JB_REGS   0
 #define JB_DREGS  0
 #define JB_AREGS  24




More information about the uClibc-cvs mailing list