<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" cellpadding="0"
        cellspacing="0" border="0">
        <tbody>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
            </th>
            <td>[PATCH 3/3] Typo in ppc64 hfa handling preventing
              parameters-hfa test to pass (bad float register count)</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
            <td>Wed, 23 Mar 2016 11:13:05 +0100</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
            <td>Thierry Fauck <a class="moz-txt-link-rfc2396E" href="mailto:thierry.fauck@fr.ibm.com"><thierry.fauck@fr.ibm.com></a></td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:ltrace-devel@lists.alioth.debian.org">ltrace-devel@lists.alioth.debian.org</a></td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT"><br>
            </th>
            <td><br>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>From: Thierry Fauck <a class="moz-txt-link-rfc2396E" href="mailto:tfauck@free.fr"><tfauck@free.fr></a>

</pre>
      <table class="moz-email-headers-table" cellpadding="0"
        cellspacing="0" border="0">
        <tbody>
          <tr>
            <td>[Typo in ppc64 hfa handling preventing parameters-hfa
              test to pass (bad float register count)</td>
          </tr>
        </tbody>
      </table>
      <pre>
         modified:   sysdeps/linux-gnu/ppc/fetch.c

Signed-off-by: Thierry Fauck <a class="moz-txt-link-rfc2396E" href="mailto:tfauck@free.fr"><tfauck@free.fr></a>
---
 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

</pre>
      <br>
    </div>
    <br>
  </body>
</html>