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

[Commits] r18608 - in /fsf/glibc-2_15-branch/ports: ./ sysdeps/tile/ sysdeps/unix/sysv/linux/generic/



Author: eglibc
Date: Sat May 19 00:03:30 2012
New Revision: 18608

Log:
Import glibc-ports-2.15 for 2012-05-19

Added:
    fsf/glibc-2_15-branch/ports/sysdeps/tile/math_private.h
    fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h
Modified:
    fsf/glibc-2_15-branch/ports/ChangeLog.linux-generic
    fsf/glibc-2_15-branch/ports/ChangeLog.tile
    fsf/glibc-2_15-branch/ports/sysdeps/tile/sysdep.h
    fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c

Modified: fsf/glibc-2_15-branch/ports/ChangeLog.linux-generic
==============================================================================
--- fsf/glibc-2_15-branch/ports/ChangeLog.linux-generic (original)
+++ fsf/glibc-2_15-branch/ports/ChangeLog.linux-generic Sat May 19 00:03:30 2012
@@ -1,3 +1,12 @@
+2012-01-30  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/generic/not-cancel.h: New file.
+
+2012-01-30  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove
+	libc_hidden_proto declaration now it's in sys/epoll.h override.
+
 2011-12-09  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/generic/bits/msq.h: New file.

Modified: fsf/glibc-2_15-branch/ports/ChangeLog.tile
==============================================================================
--- fsf/glibc-2_15-branch/ports/ChangeLog.tile (original)
+++ fsf/glibc-2_15-branch/ports/ChangeLog.tile Sat May 19 00:03:30 2012
@@ -1,3 +1,12 @@
+2012-01-31  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
+
+	* sysdeps/tile/math_private.h: Ignore feraiseexcept() internally.
+
+2012-01-30  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
+
+	* sysdeps/tile/sysdep.h: Use <feedback.h> not <feedback-asm.h>
+	to reflect change from gcc community giveback.
+
 2011-12-03  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
 
 	* data/c++-types-tile-linux-gnu.data: New file.

Added: fsf/glibc-2_15-branch/ports/sysdeps/tile/math_private.h
==============================================================================
--- fsf/glibc-2_15-branch/ports/sysdeps/tile/math_private.h (added)
+++ fsf/glibc-2_15-branch/ports/sysdeps/tile/math_private.h Sat May 19 00:03:30 2012
@@ -1,0 +1,12 @@
+#ifndef _MATH_PRIVATE_H
+
+#include <math/math_private.h>
+
+/* We have no exception support, so feraiseexcept() must be a no-op.
+   And since we don't define FE_INVALID, FE_DIVBYZERO, etc., we
+   must ignore the argument of feraiseexcept() as well.  we return
+   "1" to indicate we failed to raise an exception, though none of
+   the callers in glibc actually care.  */
+#define feraiseexcept(excepts) 1
+
+#endif

Modified: fsf/glibc-2_15-branch/ports/sysdeps/tile/sysdep.h
==============================================================================
--- fsf/glibc-2_15-branch/ports/sysdeps/tile/sysdep.h (original)
+++ fsf/glibc-2_15-branch/ports/sysdeps/tile/sysdep.h Sat May 19 00:03:30 2012
@@ -31,7 +31,7 @@
 
 #if defined __ASSEMBLER__ || defined REQUEST_ASSEMBLER_MACROS
 
-#include <feedback-asm.h>
+#include <feedback.h>
 
 /* Make use of .type and .size directives.  */
 #define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;

Modified: fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c
==============================================================================
--- fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c (original)
+++ fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c Sat May 19 00:03:30 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Chris Metcalf <cmetcalf@xxxxxxxxxx>, 2011.
 
@@ -22,8 +22,6 @@
 #include <sys/types.h>
 #include <sys/epoll.h>
 
-libc_hidden_proto (epoll_pwait)
-
 int
 epoll_wait (int epfd, struct epoll_event *events, int maxevents, int timeout)
 {

Added: fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h
==============================================================================
--- fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h (added)
+++ fsf/glibc-2_15-branch/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h Sat May 19 00:03:30 2012
@@ -1,0 +1,30 @@
+/* Uncancelable versions of cancelable interfaces.  Linux asm-generic version.
+   Copyright (C) 2012 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Chris Metcalf <cmetcalf@xxxxxxxxxx>, 2012.
+
+   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.  */
+
+#include <sysdeps/unix/sysv/linux/not-cancel.h>
+#include <fcntl.h>
+
+/* Uncancelable open with openat.  */
+#undef open_not_cancel
+#define open_not_cancel(name, flags, mode) \
+  INLINE_SYSCALL (openat, 4, AT_FDCWD, (const char *) (name), (flags), (mode))
+#undef open_not_cancel_2
+#define open_not_cancel_2(name, flags) \
+  INLINE_SYSCALL (openat, 3, AT_FDCWD, (const char *) (name), (flags))

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits