diff options
author | Marek Polacek <polacek@redhat.com> | 2012-02-07 00:41:11 +0100 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2012-02-07 00:41:11 +0100 |
commit | 622c86f48086403c889a2a16f2f09badde0eac7d (patch) | |
tree | 52a39629345270d5b4f4777cdf548f3ddd5314fc /sysdeps/x86_64/fpu | |
parent | d4a54ac6494dd47a9c3d490e02897c69c0432341 (diff) | |
download | glibc-622c86f48086403c889a2a16f2f09badde0eac7d.tar.gz glibc-622c86f48086403c889a2a16f2f09badde0eac7d.tar.xz glibc-622c86f48086403c889a2a16f2f09badde0eac7d.zip |
Remove __ELF__ conditionals
Diffstat (limited to 'sysdeps/x86_64/fpu')
-rw-r--r-- | sysdeps/x86_64/fpu/e_log10l.S | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/e_log2l.S | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/e_logl.S | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/e_powl.S | 12 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/e_scalbl.S | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/s_copysign.S | 6 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/s_copysignf.S | 6 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/s_expm1l.S | 7 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/s_log1pl.S | 5 |
9 files changed, 11 insertions, 44 deletions
diff --git a/sysdeps/x86_64/fpu/e_log10l.S b/sysdeps/x86_64/fpu/e_log10l.S index 50c58757af..ebc809e831 100644 --- a/sysdeps/x86_64/fpu/e_log10l.S +++ b/sysdeps/x86_64/fpu/e_log10l.S @@ -10,11 +10,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 diff --git a/sysdeps/x86_64/fpu/e_log2l.S b/sysdeps/x86_64/fpu/e_log2l.S index 78dc2d5c0e..140b93d101 100644 --- a/sysdeps/x86_64/fpu/e_log2l.S +++ b/sysdeps/x86_64/fpu/e_log2l.S @@ -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 diff --git a/sysdeps/x86_64/fpu/e_logl.S b/sysdeps/x86_64/fpu/e_logl.S index 2503b9a013..8876dc2189 100644 --- a/sysdeps/x86_64/fpu/e_logl.S +++ b/sysdeps/x86_64/fpu/e_logl.S @@ -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 diff --git a/sysdeps/x86_64/fpu/e_powl.S b/sysdeps/x86_64/fpu/e_powl.S index a65c465ec7..c24b60c148 100644 --- a/sysdeps/x86_64/fpu/e_powl.S +++ b/sysdeps/x86_64/fpu/e_powl.S @@ -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. @@ -21,11 +21,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 @@ -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: diff --git a/sysdeps/x86_64/fpu/e_scalbl.S b/sysdeps/x86_64/fpu/e_scalbl.S index 5833321a19..8394310c97 100644 --- a/sysdeps/x86_64/fpu/e_scalbl.S +++ b/sysdeps/x86_64/fpu/e_scalbl.S @@ -10,11 +10,7 @@ #include <machine/asm.h> -#ifdef __ELF__ .section .rodata -#else - .text -#endif .align ALIGNARG(4) ASM_TYPE_DIRECTIVE(zero_nan,@object) diff --git a/sysdeps/x86_64/fpu/s_copysign.S b/sysdeps/x86_64/fpu/s_copysign.S index 66c36c88eb..9cbb6cb994 100644 --- a/sysdeps/x86_64/fpu/s_copysign.S +++ b/sysdeps/x86_64/fpu/s_copysign.S @@ -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. @@ -20,11 +20,7 @@ #include <machine/asm.h> -#ifdef __ELF__ .section .rodata.cst16,"aM",@progbits,16 -#else - .text -#endif .align ALIGNARG(4) ASM_TYPE_DIRECTIVE(signmask,@object) diff --git a/sysdeps/x86_64/fpu/s_copysignf.S b/sysdeps/x86_64/fpu/s_copysignf.S index 0fbe1d4c96..b4778146e4 100644 --- a/sysdeps/x86_64/fpu/s_copysignf.S +++ b/sysdeps/x86_64/fpu/s_copysignf.S @@ -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. @@ -20,11 +20,7 @@ #include <machine/asm.h> -#ifdef __ELF__ .section .rodata -#else - .text -#endif .align ALIGNARG(4) ASM_TYPE_DIRECTIVE(mask,@object) diff --git a/sysdeps/x86_64/fpu/s_expm1l.S b/sysdeps/x86_64/fpu/s_expm1l.S index c0b93e94a9..9be1c6904a 100644 --- a/sysdeps/x86_64/fpu/s_expm1l.S +++ b/sysdeps/x86_64/fpu/s_expm1l.S @@ -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>. @@ -24,11 +24,8 @@ #include <machine/asm.h> -#ifdef __ELF__ .section .rodata -#else - .text -#endif + .align ALIGNARG(4) ASM_TYPE_DIRECTIVE(minus1,@object) minus1: .double -1.0 diff --git a/sysdeps/x86_64/fpu/s_log1pl.S b/sysdeps/x86_64/fpu/s_log1pl.S index ac2bd22a4f..b4dbcdfa1a 100644 --- a/sysdeps/x86_64/fpu/s_log1pl.S +++ b/sysdeps/x86_64/fpu/s_log1pl.S @@ -10,11 +10,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 |