about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-09 23:18:21 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-09 23:18:21 +0000
commit5307c8db5cd4557a07040026fc39f43329fcdd88 (patch)
tree533640fc03c85535f8bc7b39a87b1fd66012d331 /sysdeps
parent5d42c8c3387443aabb387b16248939e4f9c2f4e7 (diff)
downloadglibc-5307c8db5cd4557a07040026fc39f43329fcdd88.tar.gz
glibc-5307c8db5cd4557a07040026fc39f43329fcdd88.tar.xz
glibc-5307c8db5cd4557a07040026fc39f43329fcdd88.zip
Remove section attribute, gas produces garbage.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/flt-32/s_expm1f.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sysdeps/ieee754/flt-32/s_expm1f.c b/sysdeps/ieee754/flt-32/s_expm1f.c
index 7d32dbb016..1f032be25f 100644
--- a/sysdeps/ieee754/flt-32/s_expm1f.c
+++ b/sysdeps/ieee754/flt-32/s_expm1f.c
@@ -20,15 +20,8 @@ static char rcsid[] = "$NetBSD: s_expm1f.c,v 1.5 1995/05/10 20:47:11 jtc Exp $";
 #include "math.h"
 #include "math_private.h"
 
-/* XXX I know the assembler generates a warning about incorrect section
-   attributes. But without the attribute here the compiler places the
-   constants in the .data section.  Ideally the constant is placed in
-   .rodata.cst4 so that it can be merged, but gcc sucks, it ICEs when
-   we try to force this section on it.  --drepper  */
-static const volatile float huge __attribute__ ((section (".rodata")))
-  = 1.0e+30;
-static const volatile float tiny __attribute__ ((section (".rodata")))
-  = 1.0e-30;
+static const volatile float huge = 1.0e+30;
+static const volatile float tiny = 1.0e-30;
 
 #ifdef __STDC__
 static const float