[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r16924 - in /fsf/trunk/ports: ./ sysdeps/tile/ sysdeps/tile/bits/ sysdeps/unix/sysv/linux/generic/ sysdeps/unix/sysv/linux/t...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r16924 - in /fsf/trunk/ports: ./ sysdeps/tile/ sysdeps/tile/bits/ sysdeps/unix/sysv/linux/generic/ sysdeps/unix/sysv/linux/t...
- From: eglibc@xxxxxxxxxx
- Date: Wed, 01 Feb 2012 00:02:13 -0000
Author: eglibc
Date: Wed Feb 1 00:02:12 2012
New Revision: 16924
Log:
Import glibc-ports-mainline for 2012-02-01
Added:
fsf/trunk/ports/sysdeps/tile/math_private.h
fsf/trunk/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h
Modified:
fsf/trunk/ports/ChangeLog.linux-generic
fsf/trunk/ports/ChangeLog.tile
fsf/trunk/ports/sysdeps/tile/bits/fenv.h
fsf/trunk/ports/sysdeps/tile/sysdep.h
fsf/trunk/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c
fsf/trunk/ports/sysdeps/unix/sysv/linux/tile/sys/cachectl.h
Modified: fsf/trunk/ports/ChangeLog.linux-generic
==============================================================================
--- fsf/trunk/ports/ChangeLog.linux-generic (original)
+++ fsf/trunk/ports/ChangeLog.linux-generic Wed Feb 1 00:02:12 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/trunk/ports/ChangeLog.tile
==============================================================================
--- fsf/trunk/ports/ChangeLog.tile (original)
+++ fsf/trunk/ports/ChangeLog.tile Wed Feb 1 00:02:12 2012
@@ -1,3 +1,21 @@
+2012-01-31 Chris Metcalf <cmetcalf@xxxxxxxxxx>
+
+ * sysdeps/tile/bits/fenv.h: Use const instead of __const.
+ * sysdeps/unix/sysv/linux/tile/sys/cachectl.h: Likewise.
+
+2012-01-31 Chris Metcalf <cmetcalf@xxxxxxxxxx>
+
+ * sysdeps/tile/sysdep.h: Use <feedback.h> not <feedback-asm.h>
+ to reflect change from gcc community giveback.
+
+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: Don't check HAVE_ELF or NO_UNDERSCORES.
+
2012-01-07 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/tile/backtrace.c: Use x86_64 version of backtrace.c.
Modified: fsf/trunk/ports/sysdeps/tile/bits/fenv.h
==============================================================================
--- fsf/trunk/ports/sysdeps/tile/bits/fenv.h (original)
+++ fsf/trunk/ports/sysdeps/tile/bits/fenv.h Wed Feb 1 00:02:12 2012
@@ -40,4 +40,4 @@
typedef unsigned int fenv_t;
/* If the default argument is used we use this value. */
-#define FE_DFL_ENV ((__const fenv_t *) -1l)
+#define FE_DFL_ENV ((const fenv_t *) -1l)
Added: fsf/trunk/ports/sysdeps/tile/math_private.h
==============================================================================
--- fsf/trunk/ports/sysdeps/tile/math_private.h (added)
+++ fsf/trunk/ports/sysdeps/tile/math_private.h Wed Feb 1 00:02:12 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/trunk/ports/sysdeps/tile/sysdep.h
==============================================================================
--- fsf/trunk/ports/sysdeps/tile/sysdep.h (original)
+++ fsf/trunk/ports/sysdeps/tile/sysdep.h Wed Feb 1 00:02:12 2012
@@ -21,17 +21,9 @@
#include <bits/wordsize.h>
#include <arch/abi.h>
-#ifndef HAVE_ELF
-# error "ELF is assumed."
-#endif
-
-#ifndef NO_UNDERSCORES
-# error "User-label prefix (underscore) assumed absent."
-#endif
-
#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/trunk/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/generic/epoll_wait.c Wed Feb 1 00:02:12 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/trunk/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h (added)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h Wed Feb 1 00:02:12 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))
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/tile/sys/cachectl.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/tile/sys/cachectl.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/tile/sys/cachectl.h Wed Feb 1 00:02:12 2012
@@ -28,9 +28,9 @@
__BEGIN_DECLS
#ifdef __USE_MISC
-extern int cacheflush (void *__addr, __const int __nbytes, __const int __op) __THROW;
+extern int cacheflush (void *__addr, const int __nbytes, const int __op) __THROW;
#endif
-extern int _flush_cache (char *__addr, __const int __nbytes, __const int __op) __THROW;
+extern int _flush_cache (char *__addr, const int __nbytes, const int __op) __THROW;
__END_DECLS
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits