This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
Community source repository for glibc add-on ports branch, cmetcalf/tile-2.15, created. glibc-2.15-9-g4356f4d
- From: cmetcalf at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 31 Jan 2012 20:07:36 -0000
- Subject: Community source repository for glibc add-on ports branch, cmetcalf/tile-2.15, created. glibc-2.15-9-g4356f4d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Community source repository for glibc add-on ports".
The branch, cmetcalf/tile-2.15 has been created
at 4356f4deca10e07077ff44aae6db839ec59ee51e (commit)
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=4356f4deca10e07077ff44aae6db839ec59ee51e
commit 4356f4deca10e07077ff44aae6db839ec59ee51e
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Tue Jan 31 11:26:00 2012 -0500
tile: use <feedback.h> instead of <feedback-asm.h> in sysdep.h.
diff --git a/ChangeLog.tile b/ChangeLog.tile
index 1cb1877..231dedf 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,5 +1,10 @@
2012-01-31 Chris Metcalf <cmetcalf@tilera.com>
+ * sysdeps/tile/sysdep.h: Use <feedback.h> not <feedback-asm.h>
+ to reflect change from gcc community giveback.
+
+2012-01-31 Chris Metcalf <cmetcalf@tilera.com>
+
* sysdeps/tile/math_private.h: Ignore feraiseexcept() internally.
2012-01-30 Chris Metcalf <cmetcalf@tilera.com>
diff --git a/sysdeps/tile/sysdep.h b/sysdeps/tile/sysdep.h
index 87fbd5e..fe481a2 100644
--- a/sysdeps/tile/sysdep.h
+++ b/sysdeps/tile/sysdep.h
@@ -23,7 +23,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;
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=57201c7136bfd1c9dcba9ca791651bef156a2f04
commit 57201c7136bfd1c9dcba9ca791651bef156a2f04
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Tue Jan 31 08:59:30 2012 -0500
tile: Ignore feraiseexcept() internally.
diff --git a/ChangeLog.tile b/ChangeLog.tile
index e2205be..1cb1877 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,3 +1,7 @@
+2012-01-31 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/tile/math_private.h: Ignore feraiseexcept() internally.
+
2012-01-30 Chris Metcalf <cmetcalf@tilera.com>
* sysdeps/tile/sysdep.h: Don't check HAVE_ELF or NO_UNDERSCORES.
diff --git a/sysdeps/tile/math_private.h b/sysdeps/tile/math_private.h
new file mode 100644
index 0000000..ea4c8ea
--- /dev/null
+++ b/sysdeps/tile/math_private.h
@@ -0,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
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=66c7472c16947062240b3116642a7d5670813332
commit 66c7472c16947062240b3116642a7d5670813332
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Mon Jan 30 12:43:25 2012 -0500
Don't check HAVE_ELF or NO_UNDERSCORES in sysdeps/tile/sysdep.h.
diff --git a/ChangeLog.tile b/ChangeLog.tile
index 7e97f5f..e2205be 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,3 +1,7 @@
+2012-01-30 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/tile/sysdep.h: Don't check HAVE_ELF or NO_UNDERSCORES.
+
2011-12-03 Chris Metcalf <cmetcalf@tilera.com>
* data/c++-types-tile-linux-gnu.data: New file.
diff --git a/sysdeps/tile/sysdep.h b/sysdeps/tile/sysdep.h
index 758d28b..87fbd5e 100644
--- a/sysdeps/tile/sysdep.h
+++ b/sysdeps/tile/sysdep.h
@@ -21,14 +21,6 @@
#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>
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=372114d5b1c1dddc73936bd2fc86be84ff5e4ee8
commit 372114d5b1c1dddc73936bd2fc86be84ff5e4ee8
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Mon Jan 30 12:42:05 2012 -0500
Add sysdeps/unix/sysv/linux/generic/not-cancel.h to override standard
Linux version with openat().
diff --git a/ChangeLog.linux-generic b/ChangeLog.linux-generic
index 83a2db1..a2f6a56 100644
--- a/ChangeLog.linux-generic
+++ b/ChangeLog.linux-generic
@@ -1,5 +1,9 @@
2012-01-30 Chris Metcalf <cmetcalf@tilera.com>
+ * sysdeps/unix/sysv/linux/generic/not-cancel.h: New file.
+
+2012-01-30 Chris Metcalf <cmetcalf@tilera.com>
+
* sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove
libc_hidden_proto declaration now it's in sys/epoll.h override.
diff --git a/sysdeps/unix/sysv/linux/generic/not-cancel.h b/sysdeps/unix/sysv/linux/generic/not-cancel.h
new file mode 100644
index 0000000..a95e2e9
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/generic/not-cancel.h
@@ -0,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@tilera.com>, 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))
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=de32812d1ba250fdc711266456c1a2d309b98289
commit de32812d1ba250fdc711266456c1a2d309b98289
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Mon Jan 30 12:40:37 2012 -0500
Remove libc_hidden_proto in sysdeps/unix/sysv/linux/generic/epoll_wait.c.
diff --git a/ChangeLog.linux-generic b/ChangeLog.linux-generic
index 4a0b908..83a2db1 100644
--- a/ChangeLog.linux-generic
+++ b/ChangeLog.linux-generic
@@ -1,3 +1,8 @@
+2012-01-30 Chris Metcalf <cmetcalf@tilera.com>
+
+ * 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@tilera.com>
* sysdeps/unix/sysv/linux/generic/bits/msq.h: New file.
diff --git a/sysdeps/unix/sysv/linux/generic/epoll_wait.c b/sysdeps/unix/sysv/linux/generic/epoll_wait.c
index eda64bc..0fa06e8 100644
--- a/sysdeps/unix/sysv/linux/generic/epoll_wait.c
+++ b/sysdeps/unix/sysv/linux/generic/epoll_wait.c
@@ -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@tilera.com>, 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)
{
-----------------------------------------------------------------------
hooks/post-receive
--
Community source repository for glibc add-on ports