-------- Forwarded Message --------
Subject:        [PATCH 3/3] Typo in ppc64 hfa handling preventing
parameters-hfa test to pass (bad float register count)
Date:   Wed, 23 Mar 2016 11:13:05 +0100
From:   Thierry Fauck <[email protected]>
To:     [email protected]

        



From: Thierry Fauck <[email protected]>

[Typo in ppc64 hfa handling preventing parameters-hfa test to pass (bad
float register count)

         modified:   sysdeps/linux-gnu/ppc/fetch.c

Signed-off-by: Thierry Fauck <[email protected]>
---
 sysdeps/linux-gnu/ppc/fetch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/linux-gnu/ppc/fetch.c b/sysdeps/linux-gnu/ppc/fetch.c
index c6cbd71..e4045a0 100644
--- a/sysdeps/linux-gnu/ppc/fetch.c
+++ b/sysdeps/linux-gnu/ppc/fetch.c
@@ -416,7 +416,7 @@ allocate_hfa(struct fetch_context *ctx, struct process 
*proc,
 
        /* if no remaining FP, GPR corresponding to slot is used
         * Mostly it is in part of r10.  */
-       if (ctx->vgreg == 10) {
+       if (ctx->greg <= 10) {
                while (ctx->vgreg <= 10) {
                        struct value tmp;
                        value_init(&tmp, proc, NULL, hfa_info, 0);
-- 
2.7.0



_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel

Reply via email to