[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r17309 - in /fsf/trunk/ports: ./ sysdeps/m68k/m680x0/fpu/ sysdeps/m68k/m680x0/fpu/switch/ sysdeps/unix/sysv/linux/arm/nptl/b...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r17309 - in /fsf/trunk/ports: ./ sysdeps/m68k/m680x0/fpu/ sysdeps/m68k/m680x0/fpu/switch/ sysdeps/unix/sysv/linux/arm/nptl/b...
- From: eglibc@xxxxxxxxxx
- Date: Mon, 27 Feb 2012 00:02:31 -0000
Author: eglibc
Date: Mon Feb 27 00:02:30 2012
New Revision: 17309
Log:
Import glibc-ports-mainline for 2012-02-27
Removed:
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/Makefile
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cos.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosf.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sin.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinf.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tan.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/switch/
Modified:
fsf/trunk/ports/ChangeLog.arm
fsf/trunk/ports/ChangeLog.m68k
fsf/trunk/ports/ChangeLog.mips
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosl.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinl.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanf.c
fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanl.c
fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Mon Feb 27 00:02:30 2012
@@ -1,3 +1,8 @@
+2012-02-26 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Name
+ pthread_attr_t union.
+
2012-02-17 Aurelien Jarno <aurelien@xxxxxxxxxxx>
* sysdeps/arm/libm-test-ulps: Adjust ULPs for jn tests.
Modified: fsf/trunk/ports/ChangeLog.m68k
==============================================================================
--- fsf/trunk/ports/ChangeLog.m68k (original)
+++ fsf/trunk/ports/ChangeLog.m68k Mon Feb 27 00:02:30 2012
@@ -1,3 +1,21 @@
+2012-02-26 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Name
+ pthread_attr_t union.
+
+ * sysdeps/m68k/m680x0/fpu/Makefile: Remove.
+ * sysdeps/m68k/m680x0/fpu/switch: Remove directory.
+
+ * sysdeps/m68k/m680x0/fpu/k_sinl.c: Replace by empty file.
+ * sysdeps/m68k/m680x0/fpu/k_cosl.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/k_tanf.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/k_tanl.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/k_sin.c: Remove.
+ * sysdeps/m68k/m680x0/fpu/k_sinf.c: Remove.
+ * sysdeps/m68k/m680x0/fpu/k_cos.c: Remove.
+ * sysdeps/m68k/m680x0/fpu/k_cosf.c: Remove.
+ * sysdeps/m68k/m680x0/fpu/k_tan.c: Remove.
+
2012-02-25 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
* sysdeps/m68k/m680x0/fpu/s_ccosh.c: Avoid raising invalid
Modified: fsf/trunk/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/ports/ChangeLog.mips (original)
+++ fsf/trunk/ports/ChangeLog.mips Mon Feb 27 00:02:30 2012
@@ -1,3 +1,11 @@
+2012-02-26 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
+ siginfo_t struct. Add forward declaration of pthread_attr_t and
+ use it in sigevent.
+ * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
+ pthread_attr_t union.
+
2012-02-21 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
Removed: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/Makefile
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/Makefile (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/Makefile (removed)
@@ -1,11 +1,0 @@
-ifeq ($(subdir),math)
-ifndef math-twiddled
-
-# Avoid twiddling in generic/Makefile.
-math-twiddled := t
-
-endif
-
-bsdmath_dirs := $(bsdmath_dirs) mc68881
-
-endif
Removed: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cos.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cos.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cos.c (removed)
@@ -1,42 +1,0 @@
-/* Copyright (C) 1996, 1997 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
- 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 <math.h>
-#include "math_private.h"
-
-#ifndef FUNC
-#define FUNC cos
-#endif
-#ifndef float_type
-#define float_type double
-#endif
-
-#define __CONCATX(a,b) __CONCAT(a,b)
-
-float_type
-__CONCATX(__kernel_,FUNC) (x, y)
- float_type x;
- float_type y;
-{
- float_type sin_x, cos_x, sin_y, cos_y;
- __asm__ __volatile__ ("fsincosx %2,%0:%1" : "=f" (cos_x), "=f" (sin_x)
- : "f" (x));
- __asm__ __volatile__ ("fsincosx %2,%0:%1" : "=f" (cos_y), "=f" (sin_y)
- : "f" (y));
- return cos_x * cos_y - sin_x * sin_y;
-}
Removed: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosf.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosf.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosf.c (removed)
@@ -1,3 +1,0 @@
-#define FUNC cosf
-#define float_type float
-#include <k_cos.c>
Modified: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosl.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosl.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_cosl.c Mon Feb 27 00:02:30 2012
@@ -1,3 +1,1 @@
-#define FUNC cosl
-#define float_type long double
-#include <k_cos.c>
+/* Not needed. */
Removed: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sin.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sin.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sin.c (removed)
@@ -1,45 +1,0 @@
-/* Copyright (C) 1996, 1997 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
- 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 <math.h>
-#include "math_private.h"
-
-#ifndef FUNC
-#define FUNC sin
-#endif
-#ifndef float_type
-#define float_type double
-#endif
-
-#define __CONCATX(a,b) __CONCAT(a,b)
-
-float_type
-__CONCATX(__kernel_,FUNC) (x, y, iy)
- float_type x;
- float_type y;
- int iy;
-{
- float_type sin_x, cos_x, sin_y, cos_y;
- if (iy == 0)
- return __m81_u(__CONCATX(__,FUNC)) (x);
- __asm__ __volatile__ ("fsincosx %2,%0:%1" : "=f" (cos_x), "=f" (sin_x)
- : "f" (x));
- __asm__ __volatile__ ("fsincosx %2,%0:%1" : "=f" (cos_y), "=f" (sin_y)
- : "f" (y));
- return sin_x * cos_y + cos_x * sin_y;
-}
Removed: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinf.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinf.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinf.c (removed)
@@ -1,3 +1,0 @@
-#define FUNC sinf
-#define float_type float
-#include <k_sin.c>
Modified: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinl.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinl.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_sinl.c Mon Feb 27 00:02:30 2012
@@ -1,3 +1,1 @@
-#define FUNC sinl
-#define float_type long double
-#include <k_sin.c>
+/* Not needed. */
Removed: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tan.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tan.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tan.c (removed)
@@ -1,44 +1,0 @@
-/* Copyright (C) 1996, 1997 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
- 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 <math.h>
-#include "math_private.h"
-
-#ifndef FUNC
-#define FUNC tan
-#endif
-#ifndef float_type
-#define float_type double
-#endif
-
-#define __CONCATX(a,b) __CONCAT(a,b)
-
-float_type
-__CONCATX(__kernel_,FUNC) (x, y, iy)
- float_type x;
- float_type y;
- int iy;
-{
- float_type tan_x, tan_y;
- tan_x = __m81_u(__CONCATX(__,FUNC)) (x);
- tan_y = __m81_u(__CONCATX(__,FUNC)) (y);
- if (iy > 0)
- return (tan_x + tan_y) / (1 - tan_x * tan_y);
- else
- return (tan_x * tan_y - 1) / (tan_x + tan_y);
-}
Modified: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanf.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanf.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanf.c Mon Feb 27 00:02:30 2012
@@ -1,3 +1,1 @@
-#define FUNC tanf
-#define float_type float
-#include <k_tan.c>
+/* Not needed. */
Modified: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanl.c
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanl.c (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/k_tanl.c Mon Feb 27 00:02:30 2012
@@ -1,3 +1,1 @@
-#define FUNC tanl
-#define float_type long double
-#include <k_tan.c>
+/* Not needed. */
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h Mon Feb 27 00:02:30 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2012 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
@@ -38,7 +38,7 @@
typedef unsigned long int pthread_t;
-typedef union
+typedef union __pthread_attr
{
char __size[__SIZEOF_PTHREAD_ATTR_T];
long int __align;
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h Mon Feb 27 00:02:30 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2010, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx>, 2010.
@@ -38,7 +38,7 @@
typedef unsigned long int pthread_t;
-typedef union
+typedef union __pthread_attr
{
char __size[__SIZEOF_PTHREAD_ATTR_T];
long int __align;
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/siginfo.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/siginfo.h Mon Feb 27 00:02:30 2012
@@ -1,6 +1,5 @@
/* siginfo_t, sigevent and constants. Linux/MIPS version.
- Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 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
@@ -50,7 +49,7 @@
# endif
-typedef struct siginfo
+typedef struct
{
int si_signo; /* Signal number. */
int si_code; /* Signal code. */
@@ -274,6 +273,9 @@
# define __SIGEV_PAD_SIZE ((__SIGEV_MAX_SIZE / sizeof (int)) - 3)
# endif
+/* Forward declaration. */
+typedef union __pthread_attr pthread_attr_t;
+
typedef struct sigevent
{
sigval_t sigev_value;
@@ -291,7 +293,7 @@
struct
{
void (*_function) (sigval_t); /* Function to start. */
- void *_attribute; /* Really pthread_attr_t. */
+ pthread_attr_t *_attribute; /* Thread attributes. */
} _sigev_thread;
} _sigev_un;
} sigevent_t;
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h Mon Feb 27 00:02:30 2012
@@ -1,5 +1,5 @@
/* Machine-specific pthread type layouts. MIPS version.
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005-2012 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
@@ -50,7 +50,7 @@
typedef unsigned long int pthread_t;
-typedef union
+typedef union __pthread_attr
{
char __size[__SIZEOF_PTHREAD_ATTR_T];
long int __align;
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits