[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r20607 - in /fsf/trunk/libc: ./ iconv/ libio/ nptl/ sysdeps/generic/ sysdeps/gnu/ sysdeps/i386/i686/fpu/multiarch/ sysdeps/m...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r20607 - in /fsf/trunk/libc: ./ iconv/ libio/ nptl/ sysdeps/generic/ sysdeps/gnu/ sysdeps/i386/i686/fpu/multiarch/ sysdeps/m...
- From: eglibc@xxxxxxxxxx
- Date: Tue, 11 Sep 2012 00:02:39 -0000
Author: eglibc
Date: Tue Sep 11 00:02:38 2012
New Revision: 20607
Log:
Import glibc-mainline for 2012-09-11
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/iconv/gconv_db.c
fsf/trunk/libc/libio/Makefile
fsf/trunk/libc/libio/libioP.h
fsf/trunk/libc/nptl/ChangeLog
fsf/trunk/libc/sysdeps/generic/_G_config.h
fsf/trunk/libc/sysdeps/gnu/_G_config.h
fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
fsf/trunk/libc/sysdeps/mach/hurd/_G_config.h
fsf/trunk/libc/sysdeps/x86_64/fpu/s_cosf.S
fsf/trunk/libc/sysdeps/x86_64/fpu/s_sinf.S
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Tue Sep 11 00:02:38 2012
@@ -1,3 +1,42 @@
+2012-09-10 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * libioP.h [_G_USING_THUNKS]: Make code unconditional.
+ [!_G_USING_THUNKS]: Remove conditional code.
+ * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
+ * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
+
+ * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
+ [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
+ * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
+ (_G_VTABLE_LABEL_PREFIX): Likewise.
+ (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
+ * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
+ (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
+ (_G_VTABLE_LABEL_PREFIX): Likewise.
+ (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
+ * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
+ (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
+ (_G_VTABLE_LABEL_PREFIX): Likewise.
+ (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
+
+2012-09-10 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * libio/Makefile: Include ../Makeconfig before tests.
+ (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
+ only if $(build-shared) is yes.
+
+ * iconv/gconv_db.c: Update copyright years.
+
+2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@xxxxxxxxx>
+
+ * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
+ unwind info if defined PIC. Fix special cases description.
+ * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
+
+ * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
+ DP_HI_MASK entry.
+ * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
+
2012-09-07 H.J. Lu <hongjiu.lu@xxxxxxxxx>
* scripts/check-local-headers.sh: Add "shopt -s nullglob".
Modified: fsf/trunk/libc/iconv/gconv_db.c
==============================================================================
--- fsf/trunk/libc/iconv/gconv_db.c (original)
+++ fsf/trunk/libc/iconv/gconv_db.c Tue Sep 11 00:02:38 2012
@@ -1,6 +1,5 @@
/* Provide access to the collection of available transformation modules.
- Copyright (C) 1997-2003, 2004, 2005, 2006, 2007
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997.
Modified: fsf/trunk/libc/libio/Makefile
==============================================================================
--- fsf/trunk/libc/libio/Makefile (original)
+++ fsf/trunk/libc/libio/Makefile Tue Sep 11 00:02:38 2012
@@ -46,8 +46,10 @@
\
libc_fatal fmemopen
+include ../Makeconfig
+
tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc \
- tst_wprintf2 tst-widetext test-fmemopen tst-ext tst-ext2 tst-fopenloc \
+ tst_wprintf2 tst-widetext test-fmemopen tst-ext tst-ext2 \
tst-fgetws tst-ungetwc1 tst-ungetwc2 tst-swscanf tst-sscanf \
tst-mmap-setvbuf bug-ungetwc1 bug-ungetwc2 tst-atime tst-eof \
tst-freopen bug-rewind bug-rewind2 bug-ungetc bug-fseek \
@@ -58,11 +60,14 @@
tst-wmemstream1 tst-wmemstream2 \
bug-memstream1 bug-wmemstream1 \
tst-setvbuf1 tst-popen1 tst-fgetwc bug-wsetpos bug-fclose1
+ifeq (yes,$(build-shared))
+# Add test-fopenloc only if shared library is enabled since it depends on
+# shared localedata objects.
+tests += tst-fopenloc
+endif
test-srcs = test-freopen
all: # Make this the default target; it will be defined in Rules.
-
-include ../Makeconfig
ifeq ($(versioning),yes)
routines += oldiofopen oldiofdopen oldiofclose oldiopopen oldpclose \
@@ -170,7 +175,12 @@
include ../Rules
ifeq (no,$(cross-compiling))
-tests: $(objpfx)test-freopen.out $(objpfx)tst-fopenloc.check
+tests: $(objpfx)test-freopen.out
+ifeq (yes,$(build-shared))
+# Run tst-fopenloc.check only if shared library is enabled since it
+# depends on tst-fopenloc.out.
+tests: $(objpfx)tst-fopenloc.check
+endif
endif
$(objpfx)test-freopen.out: test-freopen.sh $(objpfx)test-freopen
Modified: fsf/trunk/libc/libio/libioP.h
==============================================================================
--- fsf/trunk/libc/libio/libioP.h (original)
+++ fsf/trunk/libc/libio/libioP.h Tue Sep 11 00:02:38 2012
@@ -109,34 +109,18 @@
# define _IO_vtable_offset(THIS) 0
#endif
#define _IO_WIDE_JUMPS_FUNC(THIS) _IO_WIDE_JUMPS(THIS)
-#ifdef _G_USING_THUNKS
-# define JUMP_FIELD(TYPE, NAME) TYPE NAME
-# define JUMP0(FUNC, THIS) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS)
-# define JUMP1(FUNC, THIS, X1) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1)
-# define JUMP2(FUNC, THIS, X1, X2) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1, X2)
-# define JUMP3(FUNC, THIS, X1,X2,X3) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1,X2, X3)
-# define JUMP_INIT(NAME, VALUE) VALUE
-# define JUMP_INIT_DUMMY JUMP_INIT(dummy, 0), JUMP_INIT (dummy2, 0)
-
-# define WJUMP0(FUNC, THIS) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS)
-# define WJUMP1(FUNC, THIS, X1) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1)
-# define WJUMP2(FUNC, THIS, X1, X2) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1, X2)
-# define WJUMP3(FUNC, THIS, X1,X2,X3) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1,X2, X3)
-#else
-/* These macros will change when we re-implement vtables to use "thunks"! */
-# define JUMP_FIELD(TYPE, NAME) struct { short delta1, delta2; TYPE pfn; } NAME
-# define JUMP0(FUNC, THIS) _IO_JUMPS_FUNC(THIS)->FUNC.pfn (THIS)
-# define JUMP1(FUNC, THIS, X1) _IO_JUMPS_FUNC(THIS)->FUNC.pfn (THIS, X1)
-# define JUMP2(FUNC, THIS, X1, X2) _IO_JUMPS_FUNC(THIS)->FUNC.pfn (THIS, X1, X2)
-# define JUMP3(FUNC, THIS, X1,X2,X3) _IO_JUMPS_FUNC(THIS)->FUNC.pfn (THIS, X1,X2,X3)
-# define JUMP_INIT(NAME, VALUE) {0, 0, VALUE}
-# define JUMP_INIT_DUMMY JUMP_INIT(dummy, 0)
-
-# define WJUMP0(FUNC, THIS) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC.pfn (THIS)
-# define WJUMP1(FUNC, THIS, X1) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC.pfn (THIS, X1)
-# define WJUMP2(FUNC, THIS, X1, X2) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC.pfn (THIS, X1, X2)
-# define WJUMP3(FUNC, THIS, X1,X2,X3) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC.pfn (THIS, X1,X2,X3)
-#endif
+#define JUMP_FIELD(TYPE, NAME) TYPE NAME
+#define JUMP0(FUNC, THIS) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS)
+#define JUMP1(FUNC, THIS, X1) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1)
+#define JUMP2(FUNC, THIS, X1, X2) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1, X2)
+#define JUMP3(FUNC, THIS, X1,X2,X3) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1,X2, X3)
+#define JUMP_INIT(NAME, VALUE) VALUE
+#define JUMP_INIT_DUMMY JUMP_INIT(dummy, 0), JUMP_INIT (dummy2, 0)
+
+#define WJUMP0(FUNC, THIS) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS)
+#define WJUMP1(FUNC, THIS, X1) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1)
+#define WJUMP2(FUNC, THIS, X1, X2) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1, X2)
+#define WJUMP3(FUNC, THIS, X1,X2,X3) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1,X2, X3)
/* The 'finish' function does any final cleaning up of an _IO_FILE object.
It does not delete (free) it, but does everything else to finalize it.
@@ -299,9 +283,7 @@
struct _IO_jump_t
{
JUMP_FIELD(_G_size_t, __dummy);
-#ifdef _G_USING_THUNKS
JUMP_FIELD(_G_size_t, __dummy2);
-#endif
JUMP_FIELD(_IO_finish_t, __finish);
JUMP_FIELD(_IO_overflow_t, __overflow);
JUMP_FIELD(_IO_underflow_t, __underflow);
@@ -862,30 +844,6 @@
# endif
#endif
-/* VTABLE_LABEL defines NAME as of the CLASS class.
- CNLENGTH is strlen(#CLASS). */
-#ifdef __GNUC__
-# if _G_VTABLE_LABEL_HAS_LENGTH
-# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
- extern char NAME[] asm (_G_VTABLE_LABEL_PREFIX #CNLENGTH #CLASS);
-# else
-# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
- extern char NAME[] asm (_G_VTABLE_LABEL_PREFIX #CLASS);
-# endif
-#endif /* __GNUC__ */
-
-#if !defined(builtinbuf_vtable) && defined(__cplusplus)
-# ifdef __GNUC__
-VTABLE_LABEL(builtinbuf_vtable, builtinbuf, 10)
-# else
-# if _G_VTABLE_LABEL_HAS_LENGTH
-# define builtinbuf_vtable _G_VTABLE_LABEL_PREFIX_ID##10builtinbuf
-# else
-# define builtinbuf_vtable _G_VTABLE_LABEL_PREFIX_ID##builtinbuf
-# endif
-# endif
-#endif /* !defined(builtinbuf_vtable) && defined(__cplusplus) */
-
#define _IO_va_start(args, last) va_start(args, last)
extern struct _IO_fake_stdiobuf _IO_stdin_buf, _IO_stdout_buf, _IO_stderr_buf;
Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Tue Sep 11 00:02:38 2012
@@ -1,6 +1,6 @@
2012-09-07 H.J. Lu <hongjiu.lu@xxxxxxxxx>
- * debug/Makefile (LDFLAGS-tst-cancel24): Renamed to ...
+ * Makefile (LDFLAGS-tst-cancel24): Renamed to ...
(LDLIBS-tst-cancel24): This.
2012-09-06 H.J. Lu <hongjiu.lu@xxxxxxxxx>
Modified: fsf/trunk/libc/sysdeps/generic/_G_config.h
==============================================================================
--- fsf/trunk/libc/sysdeps/generic/_G_config.h (original)
+++ fsf/trunk/libc/sysdeps/generic/_G_config.h Tue Sep 11 00:02:38 2012
@@ -77,9 +77,4 @@
#define _G_BUFSIZ 8192
-/* These are the vtbl details for ELF. */
-#define _G_NAMES_HAVE_UNDERSCORE 0
-#define _G_VTABLE_LABEL_PREFIX "_vt."
-#define _G_VTABLE_LABEL_HAS_LENGTH 1
-
#endif /* _G_config.h */
Modified: fsf/trunk/libc/sysdeps/gnu/_G_config.h
==============================================================================
--- fsf/trunk/libc/sysdeps/gnu/_G_config.h (original)
+++ fsf/trunk/libc/sysdeps/gnu/_G_config.h Tue Sep 11 00:02:38 2012
@@ -83,11 +83,4 @@
#define _G_BUFSIZ 8192
-/* These are the vtbl details for ELF. */
-#define _G_NAMES_HAVE_UNDERSCORE 0
-#define _G_VTABLE_LABEL_HAS_LENGTH 1
-#define _G_USING_THUNKS 1
-#define _G_VTABLE_LABEL_PREFIX "__vt_"
-#define _G_VTABLE_LABEL_PREFIX_ID __vt_
-
#endif /* _G_config.h */
Modified: fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S Tue Sep 11 00:02:38 2012
@@ -50,25 +50,29 @@
* 9) if x is NaN, return x-x.
*
* Special cases:
- * cos(+-0)==+-0 not raising inexact/underflow,
- * cos(subnormal) raises inexact/underflow
- * cos(min_normalized) raises inexact/underflow
- * cos(normalized) raises inexact
- * cos(Inf) = NaN, raises invalid, sets errno to EDOM
- * cos(NaN) = NaN
+ * cos(+-0) = 1 not raising inexact,
+ * cos(subnormal) raises inexact,
+ * cos(min_normalized) raises inexact,
+ * cos(normalized) raises inexact,
+ * cos(Inf) = NaN, raises invalid, sets errno to EDOM,
+ * cos(NaN) = NaN.
*/
#ifdef PIC
# define MO1(symbol) L(symbol)##@GOTOFF(%ebx)
# define MO2(symbol,reg2,_scale) L(symbol)##@GOTOFF(%ebx,reg2,_scale)
-# define SAVE_BX pushl %ebx
-# define RESTORE_BX popl %ebx
+# define CFI_PUSH(REG) cfi_adjust_cfa_offset(4); cfi_rel_offset(REG,0)
+# define CFI_POP(REG) cfi_adjust_cfa_offset(-4); cfi_restore(REG)
+# define PUSH(REG) pushl REG; CFI_PUSH(REG)
+# define POP(REG) popl REG; CFI_POP(REG)
+# define ENTRANCE PUSH(%ebx); LOAD_PIC_REG(bx)
+# define RETURN POP(%ebx); ret; CFI_PUSH(%ebx)
# define ARG_X 8(%esp)
#else
# define MO1(symbol) L(symbol)
# define MO2(symbol,reg2,_scale) L(symbol)(,reg2,_scale)
-# define SAVE_BX
-# define RESTORE_BX
+# define ENTRANCE
+# define RETURN ret
# define ARG_X 4(%esp)
#endif
@@ -76,11 +80,7 @@
ENTRY(__cosf_sse2)
/* Input: single precision x on stack at address ARG_X */
-#ifdef PIC
- SAVE_BX
- LOAD_PIC_REG(bx)
-#endif
-
+ ENTRANCE
movl ARG_X, %eax /* Bits of x */
cvtss2sd ARG_X, %xmm0 /* DP x */
andl $0x7fffffff, %eax /* |x| */
@@ -143,8 +143,7 @@
fldl 0(%esp) /* ...to FPU. */
/* Return back 4 bytes of stack frame */
lea 8(%esp), %esp
- RESTORE_BX
- ret
+ RETURN
.p2align 4
L(sin_poly):
@@ -183,9 +182,7 @@
fldl 0(%esp) /* ...to FPU. */
/* Return back 4 bytes of stack frame */
lea 8(%esp), %esp
- RESTORE_BX
- ret
-
+ RETURN
.p2align 4
L(large_args):
@@ -274,7 +271,6 @@
mulsd MO1(DP_PIO4), %xmm0 /* t *= PI04 */
jmp L(reconstruction) /* end of very_large_args peth */
-
.p2align 4
L(arg_less_pio4):
@@ -307,8 +303,7 @@
flds 0(%esp) /* ...to FPU. */
/* Return back 4 bytes of stack frame */
lea 4(%esp), %esp
- RESTORE_BX
- ret
+ RETURN
.p2align 4
L(arg_less_2pn5):
@@ -352,7 +347,6 @@
subss %xmm3, %xmm3 /* Result is NaN */
jmp L(epilogue)
END(__cosf_sse2)
-
.section .rodata, "a"
.p2align 3
@@ -540,8 +534,8 @@
.p2align 3
L(DP_HI_MASK): /* Mask for getting high 21 bits of DP value */
.long 0x00000000,0xffffffff
- .type L(DP_ABS_MASK), @object
- ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK))
+ .type L(DP_HI_MASK), @object
+ ASM_SIZE_DIRECTIVE(L(DP_HI_MASK))
.p2align 4
L(SP_ABS_MASK): /* Mask for getting SP absolute value */
Modified: fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S Tue Sep 11 00:02:38 2012
@@ -50,25 +50,29 @@
* 9) if x is NaN, return x-x.
*
* Special cases:
- * sin(+-0)==+-0 not raising inexact/underflow,
- * sin(subnormal) raises inexact/underflow
- * sin(min_normalized) raises inexact/underflow
- * sin(normalized) raises inexact
- * sin(Inf) = NaN, raises invalid, sets errno to EDOM
- * sin(NaN) = NaN
+ * sin(+-0) = +-0 not raising inexact/underflow,
+ * sin(subnormal) raises inexact/underflow,
+ * sin(min_normalized) raises inexact/underflow,
+ * sin(normalized) raises inexact,
+ * sin(Inf) = NaN, raises invalid, sets errno to EDOM,
+ * sin(NaN) = NaN.
*/
#ifdef PIC
# define MO1(symbol) L(symbol)##@GOTOFF(%ebx)
# define MO2(symbol,reg2,_scale) L(symbol)##@GOTOFF(%ebx,reg2,_scale)
-# define SAVE_BX pushl %ebx
-# define RESTORE_BX popl %ebx
+# define CFI_PUSH(REG) cfi_adjust_cfa_offset(4); cfi_rel_offset(REG,0)
+# define CFI_POP(REG) cfi_adjust_cfa_offset(-4); cfi_restore(REG)
+# define PUSH(REG) pushl REG; CFI_PUSH(REG)
+# define POP(REG) popl REG; CFI_POP(REG)
+# define ENTRANCE PUSH(%ebx); LOAD_PIC_REG(bx)
+# define RETURN POP(%ebx); ret; CFI_PUSH(%ebx)
# define ARG_X 8(%esp)
#else
# define MO1(symbol) L(symbol)
# define MO2(symbol,reg2,_scale) L(symbol)(,reg2,_scale)
-# define SAVE_BX
-# define RESTORE_BX
+# define ENTRANCE
+# define RETURN ret
# define ARG_X 4(%esp)
#endif
@@ -76,11 +80,7 @@
ENTRY(__sinf_sse2)
/* Input: single precision x on stack at address ARG_X */
-#ifdef PIC
- SAVE_BX
- LOAD_PIC_REG(bx)
-#endif
-
+ ENTRANCE
movl ARG_X, %eax /* Bits of x */
cvtss2sd ARG_X, %xmm0 /* DP x */
andl $0x7fffffff, %eax /* |x| */
@@ -145,8 +145,7 @@
fldl 0(%esp) /* ...to FPU. */
/* Return back 4 bytes of stack frame */
lea 8(%esp), %esp
- RESTORE_BX
- ret
+ RETURN
.p2align 4
L(sin_poly):
@@ -186,9 +185,7 @@
fldl 0(%esp) /* ...to FPU. */
/* Return back 4 bytes of stack frame */
lea 8(%esp), %esp
- RESTORE_BX
- ret
-
+ RETURN
.p2align 4
L(large_args):
@@ -280,10 +277,6 @@
mulsd MO1(DP_PIO4), %xmm0 /* t *= PI04 */
jmp L(reconstruction) /* end of very_large_args peth */
-
-
-
-
.p2align 4
L(arg_less_pio4):
@@ -320,8 +313,7 @@
flds 0(%esp) /* ...to FPU. */
/* Return back 4 bytes of stack frame */
lea 4(%esp), %esp
- RESTORE_BX
- ret
+ RETURN
.p2align 4
L(arg_less_2pn5):
@@ -375,7 +367,6 @@
subss %xmm3, %xmm3 /* Result is NaN */
jmp L(epilogue)
END(__sinf_sse2)
-
.section .rodata, "a"
.p2align 3
@@ -569,7 +560,7 @@
.p2align 3
L(DP_HI_MASK): /* Mask for getting high 21 bits of DP value */
.long 0x00000000,0xffffffff
- .type L(DP_ABS_MASK), @object
- ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK))
+ .type L(DP_HI_MASK), @object
+ ASM_SIZE_DIRECTIVE(L(DP_HI_MASK))
weak_alias (__sinf, sinf)
Modified: fsf/trunk/libc/sysdeps/mach/hurd/_G_config.h
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/_G_config.h (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/_G_config.h Tue Sep 11 00:02:38 2012
@@ -82,11 +82,4 @@
#define _G_BUFSIZ 8192
-/* These are the vtbl details for ELF. */
-#define _G_NAMES_HAVE_UNDERSCORE 0
-#define _G_VTABLE_LABEL_HAS_LENGTH 1
-#define _G_USING_THUNKS 1
-#define _G_VTABLE_LABEL_PREFIX "__vt_"
-#define _G_VTABLE_LABEL_PREFIX_ID __vt_
-
#endif /* _G_config.h */
Modified: fsf/trunk/libc/sysdeps/x86_64/fpu/s_cosf.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/fpu/s_cosf.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/fpu/s_cosf.S Tue Sep 11 00:02:38 2012
@@ -50,12 +50,12 @@
* 9) if x is NaN, return x-x.
*
* Special cases:
- * cos(+-0)==+-0 not raising inexact/underflow,
- * cos(subnormal) raises inexact/underflow
- * cos(min_normalized) raises inexact/underflow
- * cos(normalized) raises inexact
- * cos(Inf) = NaN, raises invalid, sets errno to EDOM
- * cos(NaN) = NaN
+ * cos(+-0) = 1 not raising inexact,
+ * cos(subnormal) raises inexact,
+ * cos(min_normalized) raises inexact,
+ * cos(normalized) raises inexact,
+ * cos(Inf) = NaN, raises invalid, sets errno to EDOM,
+ * cos(NaN) = NaN.
*/
.text
@@ -163,10 +163,6 @@
cvtsd2ss %xmm3, %xmm0 /* SP result */
ret
-
-
-
-
.p2align 4
L(large_args):
/* Here if |x|>=9*Pi/4 */
@@ -256,7 +252,6 @@
mulsd L(DP_PIO4)(%rip), %xmm0 /* t *= PI04 */
jmp L(reconstruction) /* end of very_large_args peth */
-
.p2align 4
L(arg_less_pio4):
@@ -317,7 +312,6 @@
/* Here if x is Inf. Set errno to EDOM. */
call JUMPTARGET(__errno_location)
- lea (%rax), %rax
movl $EDOM, (%rax)
.p2align 4
@@ -327,8 +321,6 @@
subss %xmm0, %xmm0 /* Result is NaN */
ret
END(__cosf)
-
-
.section .rodata, "a"
.p2align 3
@@ -516,8 +508,8 @@
.p2align 3
L(DP_HI_MASK): /* Mask for getting high 21 bits of DP value */
.long 0x00000000,0xffffffff
- .type L(DP_ABS_MASK), @object
- ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK))
+ .type L(DP_HI_MASK), @object
+ ASM_SIZE_DIRECTIVE(L(DP_HI_MASK))
.p2align 4
L(SP_ABS_MASK): /* Mask for getting SP absolute value */
Modified: fsf/trunk/libc/sysdeps/x86_64/fpu/s_sinf.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/fpu/s_sinf.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/fpu/s_sinf.S Tue Sep 11 00:02:38 2012
@@ -50,12 +50,12 @@
* 9) if x is NaN, return x-x.
*
* Special cases:
- * sin(+-0)==+-0 not raising inexact/underflow,
- * sin(subnormal) raises inexact/underflow
- * sin(min_normalized) raises inexact/underflow
- * sin(normalized) raises inexact
- * sin(Inf) = NaN, raises invalid, sets errno to EDOM
- * sin(NaN) = NaN
+ * sin(+-0) = +-0 not raising inexact/underflow,
+ * sin(subnormal) raises inexact/underflow,
+ * sin(min_normalized) raises inexact/underflow,
+ * sin(normalized) raises inexact,
+ * sin(Inf) = NaN, raises invalid, sets errno to EDOM,
+ * sin(NaN) = NaN.
*/
.text
@@ -168,7 +168,6 @@
cvtsd2ss %xmm3, %xmm0 /* SP result */
ret
-
.p2align 4
L(large_args):
/* Here if |x|>=9*Pi/4 */
@@ -261,7 +260,6 @@
mulsd L(DP_PIO4)(%rip), %xmm0 /* t *= PI04 */
jmp L(reconstruction) /* end of very_large_args peth */
-
.p2align 4
L(arg_less_pio4):
@@ -340,7 +338,6 @@
/* Here if x is Inf. Set errno to EDOM. */
call JUMPTARGET(__errno_location)
- lea (%rax), %rax
movl $EDOM, (%rax)
.p2align 4
@@ -350,8 +347,6 @@
subss %xmm0, %xmm0 /* Result is NaN */
ret
END(__sinf)
-
-
.section .rodata, "a"
.p2align 3
@@ -545,8 +540,8 @@
.p2align 3
L(DP_HI_MASK): /* Mask for getting high 21 bits of DP value */
.long 0x00000000,0xffffffff
- .type L(DP_ABS_MASK),@object
- ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK))
+ .type L(DP_HI_MASK),@object
+ ASM_SIZE_DIRECTIVE(L(DP_HI_MASK))
.p2align 4
L(SP_ABS_MASK): /* Mask for getting SP absolute value */
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits