rs6000: Link with libc128.a for long-double-128.
authorClement Chigot <clement.chigot@atos.net>
Wed, 8 Apr 2020 20:58:36 +0000 (16:58 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 8 Apr 2020 21:02:13 +0000 (17:02 -0400)
commit48242b2c3ac96c0bd5265e77013583ac9ceee97d
tree836be95b20fabd3b566abe6255f133fbd6979e6a
parent72c136c9007e37b76426b847e8b239c0708b8da7
rs6000: Link with libc128.a for long-double-128.

AIX applications using 128-bit long double must be linked with
libc128.a, in order to have 128-bit compatible routines.

AIX 7.2, 7.1, 6.1: Build/Tests: OK

2020-04-03 ClĂ©ment Chigot <clement.chigot@atos.net>

* config/rs6000/aix61.h (LIB_SPEC): Add -lc128 with -mlong-double-128.
* config/rs6000/aix71.h (LIB_SPEC): Likewise.
* config/rs6000/aix72.h (LIB_SPEC): Likewise.
gcc/ChangeLog
gcc/config/rs6000/aix61.h
gcc/config/rs6000/aix71.h
gcc/config/rs6000/aix72.h