[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r8363 - in /fsf/trunk/ports: ./ sysdeps/arm/eabi/ sysdeps/unix/sysv/linux/m68k/



Author: eglibc
Date: Sun Apr 26 00:05:40 2009
New Revision: 8363

Log:
Import glibc-ports-mainline for 2009-04-26

Modified:
    fsf/trunk/ports/ChangeLog.arm
    fsf/trunk/ports/ChangeLog.m68k
    fsf/trunk/ports/sysdeps/arm/eabi/fpu_control.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h

Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Sun Apr 26 00:05:40 2009
@@ -1,3 +1,8 @@
+2009-04-25  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
+
+	* sysdeps/arm/eabi/fpu_control.h: If soft-float, don't use
+	floating-point registers.
+
 2009-04-18  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_PREADV,

Modified: fsf/trunk/ports/ChangeLog.m68k
==============================================================================
--- fsf/trunk/ports/ChangeLog.m68k (original)
+++ fsf/trunk/ports/ChangeLog.m68k Sun Apr 26 00:05:40 2009
@@ -1,3 +1,8 @@
+2009-04-25  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
+	change, the syscalls have been added to 2.6.30-rc4.
+
 2009-04-18  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
@@ -343,7 +348,7 @@
 	(catch_segfault): Likewise.
 	(register_dump): Use the Coldfire-specific sigcontext fields to
 	display call-saved data and address registers (rather than the
-	data stored in sc_fpstate by real_catch_segfault).  Display 8-byte 
+	data stored in sc_fpstate by real_catch_segfault).  Display 8-byte
 	floating-point registers on Coldfire.
 	* sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
 	register to SINGLE_THREAD_P.

Modified: fsf/trunk/ports/sysdeps/arm/eabi/fpu_control.h
==============================================================================
--- fsf/trunk/ports/sysdeps/arm/eabi/fpu_control.h (original)
+++ fsf/trunk/ports/sysdeps/arm/eabi/fpu_control.h Sun Apr 26 00:05:40 2009
@@ -1,5 +1,5 @@
 /* FPU control word definitions.  ARM VFP version.
-   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2005, 2009 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
@@ -19,6 +19,17 @@
 
 #ifndef _FPU_CONTROL_H
 #define _FPU_CONTROL_H
+
+#if !defined(_LIBC) && defined(__SOFTFP__)
+
+#define _FPU_RESERVED 0xffffffff
+#define _FPU_DEFAULT  0x00000000
+typedef unsigned int fpu_control_t;
+#define _FPU_GETCW(cw) 0
+#define _FPU_SETCW(cw) do { } while (0)
+extern fpu_control_t __fpu_control;
+
+#else
 
 /* masking of interrupts */
 #define _FPU_MASK_IM	0x00000100	/* invalid operation */
@@ -48,4 +59,6 @@
 /* Default control word set at startup.  */
 extern fpu_control_t __fpu_control;
 
+#endif /* __SOFTFP__ */
+
 #endif /* _FPU_CONTROL_H */

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h Sun Apr 26 00:05:40 2009
@@ -1,6 +1,6 @@
 /* Set flags signalling availability of kernel features based on given
    kernel version number.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 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
@@ -39,5 +39,3 @@
 /* These syscalls are not implemented yet for m68k.  */
 #undef __ASSUME_PSELECT
 #undef __ASSUME_PPOLL
-#undef __ASSUME_PREADV
-#undef __ASSUME_PWRITEV