about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/e_exp2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-09 23:24:14 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-09 23:24:14 +0000
commit8ff16245229f80719c82f6e9b45b13016ae799fd (patch)
treed514ace95730d741e0c4cadde5356ec358316d9d /sysdeps/ieee754/dbl-64/e_exp2.c
parent5307c8db5cd4557a07040026fc39f43329fcdd88 (diff)
downloadglibc-8ff16245229f80719c82f6e9b45b13016ae799fd.tar.gz
glibc-8ff16245229f80719c82f6e9b45b13016ae799fd.tar.xz
glibc-8ff16245229f80719c82f6e9b45b13016ae799fd.zip
* sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
	const variables, gas produces garbage.
	* sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
	* sysdeps/ieee754/flt-32/e_expf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/e_exp2.c')
-rw-r--r--sysdeps/ieee754/dbl-64/e_exp2.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_exp2.c b/sysdeps/ieee754/dbl-64/e_exp2.c
index b7ed7398a3..ce6368be43 100644
--- a/sysdeps/ieee754/dbl-64/e_exp2.c
+++ b/sysdeps/ieee754/dbl-64/e_exp2.c
@@ -1,5 +1,5 @@
 /* Double-precision floating point 2^x.
-   Copyright (C) 1997, 1998, 2000, 2001, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997,1998,2000,2001,2005,2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Geoffrey Keating <geoffk@ozemail.com.au>
 
@@ -42,10 +42,8 @@
    constants in the .data section.  Ideally the constant is placed in
    .rodata.cst8 so that it can be merged, but gcc sucks, it ICEs when
    we try to force this section on it.  --drepper  */
-static const volatile double TWO1023 __attribute__ ((section (".rodata")))
-  = 8.988465674311579539e+307;
-static const volatile double TWOM1000 __attribute__ ((section (".rodata")))
-  = 9.3326361850321887899e-302;
+static const volatile double TWO1023 = 8.988465674311579539e+307;
+static const volatile double TWOM1000 = 9.3326361850321887899e-302;
 
 double
 __ieee754_exp2 (double x)