]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
authorUlrich Drepper <drepper@redhat.com>
Mon, 9 Jan 2006 23:24:14 +0000 (23:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 9 Jan 2006 23:24:14 +0000 (23:24 +0000)
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.

ChangeLog
sysdeps/ieee754/dbl-64/e_exp2.c
sysdeps/ieee754/flt-32/e_exp2f.c
sysdeps/ieee754/flt-32/e_expf.c

index 4107037b752ee6df288e5bd124ced02d986dc513..39d9760d0c4a078984a8f6ea5c68492ff5c156be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-01-09  Ulrich Drepper  <drepper@redhat.com>
+
+       * 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.
+
 2006-01-09  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add
index b7ed7398a3f81701bbb191caee1814840a8a5846..ce6368be43901e2cdf6c6503d2e23fb717c6e6dc 100644 (file)
@@ -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>
 
    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)
index ea55304d9a94b0451cfcddc51080d39b5658846a..194222a0cd07267d4a5a9e50834e51a9e2d7fcdc 100644 (file)
@@ -1,5 +1,5 @@
 /* Single-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>
 
 
 #include "t_exp2f.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 TWOM100 __attribute__ ((section (".rodata")))
-  = 7.88860905e-31;
-static const volatile float TWO127 __attribute__ ((section (".rodata")))
-  = 1.7014118346e+38;
+static const volatile float TWOM100 = 7.88860905e-31;
+static const volatile float TWO127 = 1.7014118346e+38;
 
 float
 __ieee754_exp2f (float x)
index b3e458c3da940d610ab58196bad417d4cec2942c..b9cd53c0333dbb4d86f82152237c2a3287e20681 100644 (file)
@@ -1,5 +1,5 @@
 /* Single-precision floating point e^x.
-   Copyright (C) 1997, 1998, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 2005, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Geoffrey Keating <geoffk@ozemail.com.au>
 
 extern const float __exp_deltatable[178];
 extern const double __exp_atable[355] /* __attribute__((mode(DF))) */;
 
-/* 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 TWOM100 __attribute__ ((section (".rodata")))
-  = 7.88860905e-31;
-static const volatile float TWO127 __attribute__ ((section (".rodata")))
-  = 1.7014118346e+38;
+static const volatile float TWOM100 = 7.88860905e-31;
+static const volatile float TWO127 = 1.7014118346e+38;
 
 float
 __ieee754_expf (float x)
This page took 0.896053 seconds and 5 git commands to generate.