freebsd-nq/lib/libc
Dimitry Andric 12894d9d66 Apply the same workaround for clang to amd64's version of ldexp.c (as in
r212976): order the incoming arguments to fscale as st(0), st(1), and
mark temp2 volatile (only in case of compilation with clang) to force
clang to pop it correctly.  No binary change when compiled with gcc.

This fixes ldexp() when compiled with clang on amd64, which makes
drand48() and friends work correctly again, and this in turn fixes
perl's tempfile().

Reported by:	Renato Botelho, Derek Tattersall
Approved by:	rpaulo (mentor)
2010-09-29 21:20:29 +00:00
..
amd64 Apply the same workaround for clang to amd64's version of ldexp.c (as in 2010-09-29 21:20:29 +00:00
arm The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 22:16:40 +00:00
compat-43 Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
db Bump dates in dbopen(3) and cpuset_getaffinity(2) from r212441 and 2010-09-12 14:04:05 +00:00
gdtoa
gen To support stack unwinding for cancellation points, add -fexceptions flag 2010-09-25 01:57:47 +00:00
gmon Provide 64-bit PowerPC support in libc. 2010-07-10 14:45:03 +00:00
i386 Workaround LLVM bug #4434: 2010-09-21 20:23:19 +00:00
ia64
include To support stack unwinding for cancellation points, add -fexceptions flag 2010-09-25 01:57:47 +00:00
inet
isc
locale Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
mips use PTR_WORD for __curbrk and minbrk instead of .word, the new version 2010-06-25 05:36:36 +00:00
nameser
net Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
nls Merge from English r198040: add C message catalogue entries for newer 2010-06-20 06:52:10 +00:00
posix1e First step at adopting FreeBSD to support PSARC/2010/029. This makes 2010-09-20 17:10:06 +00:00
powerpc The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 22:11:14 +00:00
powerpc64 Provide 64-bit PowerPC support in libc. 2010-07-10 14:45:03 +00:00
quad Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
regex
resolv
rpc mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
softfloat Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
sparc64 Avoid aliasing which leads to incorrect results when compiling with the 2010-03-21 13:18:08 +00:00
stdio Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
stdlib Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
stdtime strptime(3) confused July with June with the fr_FR locale. 2010-05-09 22:01:35 +00:00
string Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
sys Fix exec_imgact_shell()'s handling of two error cases: (1) Previously, if 2010-09-21 16:24:51 +00:00
uuid
xdr
yp Eliminate more dead stores. 2009-11-25 04:45:45 +00:00
Makefile To support stack unwinding for cancellation points, add -fexceptions flag 2010-09-25 01:57:47 +00:00
Versions.def