Remove __ELF__ conditionals
authorMarek Polacek <polacek@redhat.com>
Mon, 6 Feb 2012 23:41:11 +0000 (00:41 +0100)
committerMarek Polacek <polacek@redhat.com>
Mon, 6 Feb 2012 23:41:11 +0000 (00:41 +0100)
55 files changed:
ChangeLog
sysdeps/i386/asm-syntax.h
sysdeps/i386/fpu/e_acosh.S
sysdeps/i386/fpu/e_acoshf.S
sysdeps/i386/fpu/e_acoshl.S
sysdeps/i386/fpu/e_atanh.S
sysdeps/i386/fpu/e_atanhf.S
sysdeps/i386/fpu/e_atanhl.S
sysdeps/i386/fpu/e_log.S
sysdeps/i386/fpu/e_log10.S
sysdeps/i386/fpu/e_log10f.S
sysdeps/i386/fpu/e_log10l.S
sysdeps/i386/fpu/e_log2.S
sysdeps/i386/fpu/e_log2f.S
sysdeps/i386/fpu/e_log2l.S
sysdeps/i386/fpu/e_logf.S
sysdeps/i386/fpu/e_logl.S
sysdeps/i386/fpu/e_pow.S
sysdeps/i386/fpu/e_powf.S
sysdeps/i386/fpu/e_powl.S
sysdeps/i386/fpu/e_scalb.S
sysdeps/i386/fpu/e_scalbf.S
sysdeps/i386/fpu/e_scalbl.S
sysdeps/i386/fpu/s_asinh.S
sysdeps/i386/fpu/s_asinhf.S
sysdeps/i386/fpu/s_asinhl.S
sysdeps/i386/fpu/s_cbrt.S
sysdeps/i386/fpu/s_cbrtf.S
sysdeps/i386/fpu/s_cbrtl.S
sysdeps/i386/fpu/s_cexp.S
sysdeps/i386/fpu/s_cexpf.S
sysdeps/i386/fpu/s_cexpl.S
sysdeps/i386/fpu/s_expm1.S
sysdeps/i386/fpu/s_expm1f.S
sysdeps/i386/fpu/s_expm1l.S
sysdeps/i386/fpu/s_frexp.S
sysdeps/i386/fpu/s_frexpf.S
sysdeps/i386/fpu/s_frexpl.S
sysdeps/i386/fpu/s_log1p.S
sysdeps/i386/fpu/s_log1pf.S
sysdeps/i386/fpu/s_log1pl.S
sysdeps/i386/i686/fpu/e_logl.S
sysdeps/powerpc/powerpc32/sysdep.h
sysdeps/powerpc/powerpc64/sysdep.h
sysdeps/powerpc/sysdep.h
sysdeps/s390/asm-syntax.h
sysdeps/x86_64/fpu/e_log10l.S
sysdeps/x86_64/fpu/e_log2l.S
sysdeps/x86_64/fpu/e_logl.S
sysdeps/x86_64/fpu/e_powl.S
sysdeps/x86_64/fpu/e_scalbl.S
sysdeps/x86_64/fpu/s_copysign.S
sysdeps/x86_64/fpu/s_copysignf.S
sysdeps/x86_64/fpu/s_expm1l.S
sysdeps/x86_64/fpu/s_log1pl.S

index 0f74311..cb83d86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,60 @@
+2012-02-06  Marek Polacek  <polacek@redhat.com>
+
+       * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
+       * sysdeps/i386/fpu/e_powf.S: Likewise.
+       * sysdeps/i386/fpu/e_atanhf.S: Likewise.
+       * sysdeps/i386/fpu/s_cexpl.S: Likewise.
+       * sysdeps/i386/fpu/e_acosh.S: Likewise.
+       * sysdeps/i386/fpu/e_pow.S: Likewise.
+       * sysdeps/i386/fpu/s_asinhl.S: Likewise.
+       * sysdeps/i386/fpu/e_acoshl.S: Likewise.
+       * sysdeps/i386/fpu/s_expm1.S: Likewise.
+       * sysdeps/i386/fpu/s_frexpf.S: Likewise.
+       * sysdeps/i386/fpu/e_log2.S: Likewise.
+       * sysdeps/i386/fpu/e_log2l.S: Likewise.
+       * sysdeps/i386/fpu/e_scalb.S: Likewise.
+       * sysdeps/i386/fpu/e_powl.S: Likewise.
+       * sysdeps/i386/fpu/s_log1p.S: Likewise.
+       * sysdeps/i386/fpu/e_log10f.S: Likewise.
+       * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
+       * sysdeps/i386/fpu/e_logl.S: Likewise.
+       * sysdeps/i386/fpu/s_cbrt.S: Likewise.
+       * sysdeps/i386/fpu/s_expm1l.S: Likewise.
+       * sysdeps/i386/fpu/s_frexpl.S: Likewise.
+       * sysdeps/i386/fpu/s_expm1f.S: Likewise.
+       * sysdeps/i386/fpu/e_log2f.S: Likewise.
+       * sysdeps/i386/fpu/e_acoshf.S: Likewise.
+       * sysdeps/i386/fpu/e_log.S: Likewise.
+       * sysdeps/i386/fpu/s_cexp.S: Likewise.
+       * sysdeps/i386/fpu/e_scalbf.S: Likewise.
+       * sysdeps/i386/fpu/s_log1pl.S: Likewise.
+       * sysdeps/i386/fpu/e_logf.S: Likewise.
+       * sysdeps/i386/fpu/e_log10l.S: Likewise.
+       * sysdeps/i386/fpu/e_atanh.S: Likewise.
+       * sysdeps/i386/fpu/s_log1pf.S: Likewise.
+       * sysdeps/i386/fpu/s_asinhf.S: Likewise.
+       * sysdeps/i386/fpu/s_cexpf.S: Likewise.
+       * sysdeps/i386/fpu/e_log10.S: Likewise.
+       * sysdeps/i386/fpu/s_frexp.S: Likewise.
+       * sysdeps/i386/fpu/e_atanhl.S: Likewise.
+       * sysdeps/i386/fpu/s_asinh.S: Likewise.
+       * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
+       * sysdeps/i386/fpu/e_scalbl.S: Likewise.
+       * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
+       * sysdeps/i386/asm-syntax.h: Likewise.
+       * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
+       * sysdeps/x86_64/fpu/e_powl.S: Likewise.
+       * sysdeps/x86_64/fpu/e_logl.S: Likewise.
+       * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
+       * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
+       * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
+       * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
+       * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
+       * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
+       * sysdeps/powerpc/sysdep.h: Likewise.
+       * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
+       * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
+
 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #411]
index 4b9fd20..d7315ce 100644 (file)
@@ -22,8 +22,4 @@
 #define ALIGN(log) .align 1<<log
 
 #undef L
-#ifdef __ELF__
-# define L(body) .L##body
-#else
-# define L(body) L##body
-#endif
+#define L(body) .L##body
index fc65c29..9f0984a 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arcsinh.
-   Copyright (C) 1996, 2005, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1996, 2005, 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
 
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
index b55004b..0719bdf 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arcsinh.
-   Copyright (C) 1996, 1997, 2005, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 2005, 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
 
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
index 76bc0d7..469d551 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arcsinh.
-   Copyright (C) 1996, 1997, 2005, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 2005, 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
 
        .p2align 3
        /* Please note that we use double value for 1.0.  This number
index d7e53a2..f91e36f 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arctanh function.
-   Copyright (C) 1996, 1999, 2005, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1999, 2005, 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(half,@object)
index 00ad914..591d81b 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arctanh function.
-   Copyright (C) 1996, 1999, 2005, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1999, 2005, 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(half,@object)
index cc70e73..386d237 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arctanh function.
-   Copyright (C) 1996, 1999, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1999, 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        /* Please note that we use double values for 0.5 and 1.0.  These
index a2e4d89..e4fffb8 100644 (file)
@@ -7,11 +7,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 9d24d74..b54bf0e 100644 (file)
@@ -7,11 +7,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 38a4833..344110c 100644 (file)
@@ -8,11 +8,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 88b309d..eeb49c6 100644 (file)
@@ -9,11 +9,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 88aee7f..cc37763 100644 (file)
@@ -8,11 +8,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 2014487..59f4f21 100644 (file)
@@ -8,11 +8,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index bc79dea..4693f6c 100644 (file)
@@ -8,11 +8,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 1992cc2..e277a2f 100644 (file)
@@ -8,11 +8,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index bfb72a3..7b52b3b 100644 (file)
@@ -8,11 +8,8 @@
 #include <machine/asm.h>
 
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index dccc677..5a10082 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of pow function.
-   Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, 2005, 2007, 2011
+   Copyright (C) 1996-1999, 2001, 2004-2005, 2007, 2011-2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
@@ -37,11 +34,8 @@ limit:       .double 0.29
 p63:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x43
        ASM_SIZE_DIRECTIVE(p63)
 
-#ifdef __ELF__
        .section .rodata.cst16,"aM",@progbits,16
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(infinity,@object)
 inf_zero:
index 99c95bb..5c758d3 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of pow function.
-   Copyright (C) 1996, 1997, 1999, 2001, 2004, 2005, 2007, 2011
+   Copyright (C) 1996-1997, 1999, 2001, 2004, 2005, 2007, 2011-2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
@@ -37,11 +34,8 @@ limit:       .double 0.29
 p31:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x41
        ASM_SIZE_DIRECTIVE(p31)
 
-#ifdef __ELF__
        .section .rodata.cst16,"aM",@progbits,16
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(infinity,@object)
 inf_zero:
index 34ace35..fcfe8f1 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of pow function.
-   Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, 2005, 2007, 2011
+   Copyright (C) 1996-1999, 2001, 2004-2005, 2007, 2011-2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
@@ -37,11 +34,8 @@ limit:       .double 0.29
 p63:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x43
        ASM_SIZE_DIRECTIVE(p63)
 
-#ifdef __ELF__
        .section .rodata.cst16,"aM",@progbits,16
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(infinity,@object)
 inf_zero:
index 0f3ec96..1d8d2dd 100644 (file)
@@ -7,11 +7,7 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(zero_nan,@object)
index d11ca66..0967dbd 100644 (file)
@@ -8,11 +8,7 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(zero_nan,@object)
index d8b2169..434fce4 100644 (file)
@@ -9,11 +9,7 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(zero_nan,@object)
index ca042b4..c64fbdf 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arcsinh.
-   Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(huge,@object)
index d0ce6af..4616e0d 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arcsinh.
-   Copyright (C) 1996, 1997, 1999, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 1999, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(huge,@object)
index 1040eea..ab5d249 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of arcsinh.
-   Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(huge,@object)
index e180b15..fcb0bd6 100644 (file)
@@ -1,5 +1,5 @@
 /* Compute cubic root of double value.
-   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
    Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
         .section .rodata
-#else
-        .text
-#endif
 
         .align ALIGNARG(4)
         ASM_TYPE_DIRECTIVE(f7,@object)
index 2ff4f6e..9190043 100644 (file)
@@ -1,5 +1,5 @@
 /* Compute cubic root of float value.
-   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
    Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
         .section .rodata
-#else
-        .text
-#endif
 
         .align ALIGNARG(4)
         ASM_TYPE_DIRECTIVE(f3,@object)
index 637ad72..2a9a0f3 100644 (file)
@@ -1,5 +1,5 @@
 /* Compute cubic root of long double value.
-   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
    Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
         .section .rodata
-#else
-        .text
-#endif
 
         .align ALIGNARG(4)
         ASM_TYPE_DIRECTIVE(f8,@object)
index 47e3eb6..5539389 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of complex exponential function for double.
-   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 
 #include <sysdep.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(huge_nan_null_null,@object)
 huge_nan_null_null:
index f116854..680f8e5 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of complex exponential function for double.
-   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 
 #include <sysdep.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(huge_nan_null_null,@object)
 huge_nan_null_null:
index 8bb0680..627ed34 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of complex exponential function for double.
-   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 
 #include <sysdep.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(huge_nan_null_null,@object)
 huge_nan_null_null:
index c690a45..16e2b30 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of exp(x)-1.
-   Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
    Based on code by John C. Bowman <bowman@ipp-garching.mpg.de>.
 #include <sysdep.h>
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(minus1,@object)
 minus1:        .double -1.0
index 8645107..48af651 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of exp(x)-1.
-   Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
    Based on code by John C. Bowman <bowman@ipp-garching.mpg.de>.
 #include <sysdep.h>
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(minus1,@object)
 minus1:        .double -1.0
index 60b5b82..093454c 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of exp(x)-1.
-   Copyright (C) 1996, 1997, 2002, 2005, 2008 Free Software Foundation, Inc.
+   Copyright (C) 1996-1997, 2002, 2005, 2008, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
    Based on code by John C. Bowman <bowman@ipp-garching.mpg.de>.
 #include <sysdep.h>
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(minus1,@object)
 minus1:        .double -1.0
index cfc8221..7c2806f 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific frexp implementation for double.
-   Copyright (C) 1997, 2000, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 #include "bp-sym.h"
 #include "bp-asm.h"
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(two54,@object)
index 8640bbc..ef3fabb 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific frexp implementation for float.
-   Copyright (C) 1997, 2000, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 #include "bp-sym.h"
 #include "bp-asm.h"
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(two25,@object)
index 60ae57e..fc67294 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific frexp implementation for long double.
-   Copyright (C) 1997, 2000, 2001, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000-2001, 2005, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 #include "bp-sym.h"
 #include "bp-asm.h"
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(two64,@object)
index ec777fd..797a2ab 100644 (file)
@@ -7,11 +7,8 @@
 
 RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc Exp $")
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        /* The fyl2xp1 can only be used for values in
                -1 + sqrt(2) / 2 <= x <= 1 - sqrt(2) / 2
index 6919ac9..1e7f2e1 100644 (file)
@@ -7,11 +7,8 @@
 
 RCSID("$NetBSD: s_log1pf.S,v 1.4 1995/05/09 00:13:05 jtc Exp $")
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        /* The fyl2xp1 can only be used for values in
                -1 + sqrt(2) / 2 <= x <= 1 - sqrt(2) / 2
index 4bca67d..93c07b6 100644 (file)
@@ -9,11 +9,8 @@
 
 RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc Exp $")
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        /* The fyl2xp1 can only be used for values in
                -1 + sqrt(2) / 2 <= x <= 1 - sqrt(2) / 2
index 4e79a5a..be2116c 100644 (file)
@@ -9,11 +9,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index eb04afb..01e27ee 100644 (file)
@@ -1,5 +1,5 @@
 /* Assembly macros for 32-bit PowerPC.
-   Copyright (C) 1999, 2001, 2002, 2003, 2006, 2011, 2012
+   Copyright (C) 1999, 2001-2003, 2006, 2011-2012
        Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -22,8 +22,6 @@
 
 #ifdef __ASSEMBLER__
 
-#ifdef __ELF__
-
 /* If compiled for profiling, call `_mcount' at the start of each
    function.  */
 #ifdef PROF
@@ -160,6 +158,4 @@ GOT_LABEL:                  ;                                             \
 /* Label in text section.  */
 #define C_TEXT(name) name
 
-#endif /* __ELF__ */
-
 #endif /* __ASSEMBLER__ */
index 5fc6e4f..4ad45ea 100644 (file)
@@ -1,5 +1,5 @@
 /* Assembly macros for 64-bit PowerPC.
-   Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2002-2004, 2006, 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
@@ -19,8 +19,6 @@
 
 #include <sysdeps/powerpc/sysdep.h>
 
-#ifdef __ELF__
-
 #ifdef __ASSEMBLER__
 
 /* Support macros for CALL_MCOUNT.  */
@@ -313,5 +311,3 @@ LT_LABELSUFFIX(name,_name_end): ; \
 #endif
 
 #endif /* __ASSEMBLER__ */
-
-#endif /* __ELF__ */
index f5c79c5..8a91391 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2001, 2002, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2001-2002, 2006, 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
 #define VRSAVE 256
 
 
-#ifdef __ELF__
-
 /* This seems to always be the case on PPC.  */
 #define ALIGNARG(log2) log2
 /* For ELF we need the `.type' directive to make shared libs work right.  */
 #define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name
 
-#endif /* __ELF__ */
 #endif /* __ASSEMBLER__ */
-
index 98dc6e8..abb4688 100644 (file)
@@ -22,8 +22,4 @@
 #define ALIGN(log) .align 1<<log
 
 #undef L
-#ifdef __ELF__
-# define L(body) .L##body
-#else
-# define L(body) L##body
-#endif
+#define L(body) .L##body
index 50c5875..ebc809e 100644 (file)
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 78dc2d5..140b93d 100644 (file)
@@ -9,11 +9,8 @@
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index 2503b9a..8876dc2 100644 (file)
@@ -9,11 +9,8 @@
 #include <machine/asm.h>
 
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
index a65c465..c24b60c 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of pow function.
-   Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, 2007, 2011
+   Copyright (C) 1996-1999, 2001, 2004, 2007, 2011-2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst8,"aM",@progbits,8
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(one,@object)
 one:   .double 1.0
@@ -37,11 +34,8 @@ limit:       .double 0.29
 p63:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x43
        ASM_SIZE_DIRECTIVE(p63)
 
-#ifdef __ELF__
        .section .rodata.cst16,"aM",@progbits,16
-#else
-       .text
-#endif
+
        .p2align 3
        ASM_TYPE_DIRECTIVE(infinity,@object)
 inf_zero:
index 5833321..8394310 100644 (file)
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(zero_nan,@object)
index 66c36c8..9cbb6cb 100644 (file)
@@ -1,5 +1,5 @@
 /* copy sign, double version.
-   Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2006, 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de>, 2002.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata.cst16,"aM",@progbits,16
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(signmask,@object)
index 0fbe1d4..b477814 100644 (file)
@@ -1,5 +1,5 @@
 /* copy sign, double version.
-   Copyright (C) 2002, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2006, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de>, 2002.
 
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
 
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(mask,@object)
index c0b93e9..9be1c69 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of exp(x)-1.
-   Copyright (C) 1996,1997,2001,2002,2008,2009 Free Software Foundation, Inc.
+   Copyright (C) 1996,1997,2001,2002,2008,2009,2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
    Based on code by John C. Bowman <bowman@ipp-garching.mpg.de>.
 
 #include <machine/asm.h>
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        ASM_TYPE_DIRECTIVE(minus1,@object)
 minus1:        .double -1.0
index ac2bd22..b4dbcdf 100644 (file)
 
 RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc Exp $")
 
-#ifdef __ELF__
        .section .rodata
-#else
-       .text
-#endif
+
        .align ALIGNARG(4)
        /* The fyl2xp1 can only be used for values in
                -1 + sqrt(2) / 2 <= x <= 1 - sqrt(2) / 2