gcc/libgfortran/intrinsics
Jakub Jelinek 4d0e778fe3 libgfortran: Avoid using libquadmath APIs on powerpc64le on glibc 2.32+
On a glibc 2.32+ build, we still use some libquadmath APIs
when we shouldn't:
readelf -Wr /home/jakub/gcc/obj/powerpc64le-unknown-linux-gnu/libgfortran/.libs/libgfortran.so.5 | grep QUADMATH
00000000002502c8  0000002600000015 R_PPC64_JMP_SLOT       0000000000000000 fmaq@QUADMATH_1.0 + 0
00000000002505f8  0000006700000015 R_PPC64_JMP_SLOT       0000000000000000 tanq@QUADMATH_1.0 + 0
0000000000250930  0000009b00000015 R_PPC64_JMP_SLOT       0000000000000000 fabsq@QUADMATH_1.0 + 0
0000000000250940  0000009d00000015 R_PPC64_JMP_SLOT       0000000000000000 sinq@QUADMATH_1.0 + 0
0000000000250c98  000000cf00000015 R_PPC64_JMP_SLOT       0000000000000000 copysignq@QUADMATH_1.0 + 0
0000000000251038  0000010700000015 R_PPC64_JMP_SLOT       0000000000000000 cosq@QUADMATH_1.0 + 0
0000000000251068  0000010a00000015 R_PPC64_JMP_SLOT       0000000000000000 fmodq@QUADMATH_1.0 + 0
These should use __fmaieee128, __tanieee128 etc. instead.

2022-01-07  Jakub Jelinek  <jakub@redhat.com>

	* libgfortran.h (__copysignieee128, __fmaieee128, __fmodieee128):
	Declare.
	* intrinsics/trigd.c (COPYSIGN, FMOD, FABS, FMA, SIN, COS, TAN): If
	POWER_IEEE128 is defined, define these for kind 17 include.
	* intrinsics/trigd_lib.inc (COPYSIGN, FMOD, FABS, FMA, SIN, COS, TAN):
	Don't define if COPYSIGN is already defined.
2022-01-11 23:49:52 +01:00
..
abort.c Update copyright years. 2022-01-03 10:42:10 +01:00
access.c Update copyright years. 2022-01-03 10:42:10 +01:00
args.c Update copyright years. 2022-01-03 10:42:10 +01:00
associated.c Update copyright years. 2022-01-03 10:42:10 +01:00
c99_functions.c Update copyright years. 2022-01-03 10:42:10 +01:00
chdir.c Update copyright years. 2022-01-03 10:42:10 +01:00
chmod.c Update copyright years. 2022-01-03 10:42:10 +01:00
clock.c Update copyright years. 2022-01-03 10:42:10 +01:00
cpu_time.c Update copyright years. 2022-01-03 10:42:10 +01:00
cshift0.c Update copyright years. 2022-01-03 10:42:10 +01:00
ctime.c Update copyright years. 2022-01-03 10:42:10 +01:00
date_and_time.c Update copyright years. 2022-01-03 10:42:10 +01:00
dprod_r8.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
dtime.c Update copyright years. 2022-01-03 10:42:10 +01:00
env.c Update copyright years. 2022-01-03 10:42:10 +01:00
eoshift0.c Update copyright years. 2022-01-03 10:42:10 +01:00
eoshift2.c Update copyright years. 2022-01-03 10:42:10 +01:00
erfc_scaled_inc.c Update copyright years. 2022-01-03 10:42:10 +01:00
erfc_scaled.c fortran, libgfortran: Add remaining missing *_r17 symbols 2022-01-11 23:49:50 +01:00
etime.c Update copyright years. 2022-01-03 10:42:10 +01:00
execute_command_line.c Update copyright years. 2022-01-03 10:42:10 +01:00
exit.c Update copyright years. 2022-01-03 10:42:10 +01:00
extends_type_of.c Update copyright years. 2022-01-03 10:42:10 +01:00
f2c_specifics.F90 Update copyright years. 2022-01-03 10:42:10 +01:00
fnum.c Update copyright years. 2022-01-03 10:42:10 +01:00
gerror.c Update copyright years. 2022-01-03 10:42:10 +01:00
getcwd.c Update copyright years. 2022-01-03 10:42:10 +01:00
getlog.c Update copyright years. 2022-01-03 10:42:10 +01:00
getXid.c Update copyright years. 2022-01-03 10:42:10 +01:00
hostnm.c Update copyright years. 2022-01-03 10:42:10 +01:00
ierrno.c Update copyright years. 2022-01-03 10:42:10 +01:00
is_contiguous.c Update copyright years. 2022-01-03 10:42:10 +01:00
ishftc.c Update copyright years. 2022-01-03 10:42:10 +01:00
kill.c Update copyright years. 2022-01-03 10:42:10 +01:00
link.c Update copyright years. 2022-01-03 10:42:10 +01:00
move_alloc.c Update copyright years. 2022-01-03 10:42:10 +01:00
mvbits.c Update copyright years. 2022-01-03 10:42:10 +01:00
pack_generic.c Update copyright years. 2022-01-03 10:42:10 +01:00
perror.c Update copyright years. 2022-01-03 10:42:10 +01:00
rand.c Update copyright years. 2022-01-03 10:42:10 +01:00
random_init.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
random.c fortran, libgfortran: Add remaining missing *_r17 symbols 2022-01-11 23:49:50 +01:00
rename.c Update copyright years. 2022-01-03 10:42:10 +01:00
reshape_generic.c Update copyright years. 2022-01-03 10:42:10 +01:00
reshape_packed.c Update copyright years. 2022-01-03 10:42:10 +01:00
selected_char_kind.c Update copyright years. 2022-01-03 10:42:10 +01:00
selected_int_kind.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
selected_real_kind.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
signal.c Update copyright years. 2022-01-03 10:42:10 +01:00
size.c Update copyright years. 2022-01-03 10:42:10 +01:00
sleep.c Update copyright years. 2022-01-03 10:42:10 +01:00
spread_generic.c Update copyright years. 2022-01-03 10:42:10 +01:00
stat.c Update copyright years. 2022-01-03 10:42:10 +01:00
string_intrinsics_inc.c Update copyright years. 2022-01-03 10:42:10 +01:00
string_intrinsics.c Update copyright years. 2022-01-03 10:42:10 +01:00
symlnk.c Update copyright years. 2022-01-03 10:42:10 +01:00
system_clock.c Update copyright years. 2022-01-03 10:42:10 +01:00
system.c Update copyright years. 2022-01-03 10:42:10 +01:00
time_1.h Update copyright years. 2022-01-03 10:42:10 +01:00
time.c Update copyright years. 2022-01-03 10:42:10 +01:00
trigd_lib.inc libgfortran: Avoid using libquadmath APIs on powerpc64le on glibc 2.32+ 2022-01-11 23:49:52 +01:00
trigd.c libgfortran: Avoid using libquadmath APIs on powerpc64le on glibc 2.32+ 2022-01-11 23:49:52 +01:00
trigd.inc Update copyright years. 2022-01-03 10:42:10 +01:00
umask.c Update copyright years. 2022-01-03 10:42:10 +01:00
unlink.c Update copyright years. 2022-01-03 10:42:10 +01:00
unpack_generic.c Update copyright years. 2022-01-03 10:42:10 +01:00