From 8e2f4e971fa048f55428ca49c3a55fa5dc03bd52 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 6 Jun 2012 14:45:45 -0700 Subject: alpha: Fix [BZ #13718] The routines expect to be able to bias the count by a small number. If the count is near -1ull, the count will overflow. Since we cannot use the whole 64-bit address space, bound the count to LONG_MAX. --- ChangeLog.alpha | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog.alpha') diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 0598d7ee19..d291df970a 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,9 @@ 2012-06-06 Richard Henderson + [BZ #13718] + * sysdeps/alpha/stxncmp.S: Bound count to LONG_MAX at startup. + * sysdeps/alpha/alphaev6/stxncmp.S: Likewise. + * sysdeps/alpha/fpu/e_sqrt.c: Include before redefining __ieee758_sqrt. -- cgit v1.2.3