This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix s_finitel.c on ppc/ppc64


Hi!

While comparing ppc{,64} and s390{,64} abilist differences between
older DFmode only long double capable glibc with current CVS glibc,
I noticed we are now only exporting {__,}finitel@GLIBC_2.{1,0}
and not also {__,}finitel@@GLIBC_2.4.  Fixed thusly:

2006-02-01  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
	even for libm.

--- libc/sysdeps/ieee754/ldbl-128ibm/s_finitel.c.jj	2006-01-28 01:07:25.000000000 +0100
+++ libc/sysdeps/ieee754/ldbl-128ibm/s_finitel.c	2006-02-01 13:15:44.000000000 +0100
@@ -35,8 +35,11 @@ ___finitel (long double x)
 				 -0x7ff0000000000000LL)>>63);
 }
 hidden_ver (___finitel, __finitel)
-#ifndef IS_IN_libm
 weak_alias (___finitel, ____finitel)
-long_double_symbol (libc, ___finitel, finitel);
-long_double_symbol (libc, ____finitel, __finitel);
+#ifdef IS_IN_libm
+long_double_symbol (libm, ____finitel, finitel);
+long_double_symbol (libm, ___finitel, __finitel);
+#else
+long_double_symbol (libc, ____finitel, finitel);
+long_double_symbol (libc, ___finitel, __finitel);
 #endif

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]