Make some ldbl-128, ldbl-128ibm arrays const.
commit53994f12633b863eb833fc3b1f6971ae8de61ff8
authorJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 13:42:58 +0000 (6 13:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 13:42:58 +0000 (6 13:42 +0000)
tree7a4dc01f70bf0c49d5c4daf83b24521f7fe1244c
parent62ea2193ee4b538b13da1c579113761e0b92376c
Make some ldbl-128, ldbl-128ibm arrays const.

I noticed that an x86_64 build of libm unexpectedly contained more
non-constant data than an older version (before _Float128 support)
did.  The problem is non-const arrays in the ldbl-128 j0l and j1l
implementations; this patch makes those arrays, and the corresponding
ldbl-128ibm ones, const.

Tested for x86_64, and tested compilation for powerpc with
build-many-glibcs.py.

* sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
(Y0_2D): Likewise.
* sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
(Y0_2D): Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
(Y0_2D): Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
(Y0_2D): Likewise.
ChangeLog
sysdeps/ieee754/ldbl-128/e_j0l.c
sysdeps/ieee754/ldbl-128/e_j1l.c
sysdeps/ieee754/ldbl-128ibm/e_j0l.c
sysdeps/ieee754/ldbl-128ibm/e_j1l.c