summary refs log tree commit diff
path: root/malloc/hooks.c
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-02-07 14:08:12 -0600
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-04-06 10:23:58 -0500
commit6f82d05034178eee756dfe09472948130748ad39 (patch)
tree9bc130f25a841a55889415d0b231c7a940863b2f /malloc/hooks.c
parent25ee3931f03cae31f5006c438d939544f717666a (diff)
downloadglibc-6f82d05034178eee756dfe09472948130748ad39.tar.gz
glibc-6f82d05034178eee756dfe09472948130748ad39.tar.xz
glibc-6f82d05034178eee756dfe09472948130748ad39.zip
powerpc64le: Enforce -mabi=ibmlongdouble when -mfloat128 used
I have observed a bug on 7.4.0 whereby __mulkc3 calls are
swapped with __multc3 depending on ABI selection.  For the
sake of being overly cautious, build all _Float128 files
with ibm128 to workaround these compilers.  This has been
noted in GCC BZ 84914, and will not be fixed for GCC 7.

Likewise, non-math files built with _Float128 are assumed
to have ibm long double.  Explicilty preserve this
assumption.

Finally, add some bootstrapping code to avoid applying
these options until IEEE long double is enabled as they
require GCC 7 and above.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'malloc/hooks.c')
0 files changed, 0 insertions, 0 deletions