n32.S (ffi_closure_N32): Use 64-bit add instruction on pointer values.
authorDavid Daney <ddaney@avtrex.com>
Thu, 6 Dec 2007 18:23:16 +0000 (18:23 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Thu, 6 Dec 2007 18:23:16 +0000 (18:23 +0000)
2007-12-06  David Daney  <ddaney@avtrex.com>

* src/mips/n32.S (ffi_closure_N32): Use 64-bit add instruction on
pointer values.

From-SVN: r130655

libffi/ChangeLog
libffi/src/mips/n32.S

index 91609e3a79b0713f73e9134f8b5a8fc61dc2169e..298912a7d9896a58851d20714d8ad55b3acc4ce2 100644 (file)
@@ -1,3 +1,8 @@
+2007-12-06  David Daney  <ddaney@avtrex.com>
+
+       * src/mips/n32.S (ffi_closure_N32): Use 64-bit add instruction on 
+       pointer values.
+
 2007-12-01  Andreas Tobler  <a.tobler@schweiz.org>
 
        PR libffi/31937
index ff268c6a173ad43147e1baa223532cbd71dd4866..59a905da5c239a09fe7c72ea56a642d9d2a001f7 100644 (file)
@@ -417,9 +417,9 @@ ffi_closure_N32:
        # Call ffi_closure_mips_inner_N32 to do the real work.
        LA      t9, ffi_closure_mips_inner_N32
        move    a0, $12  # Pointer to the ffi_closure
-       addu    a1, $sp, V0_OFF2
-       addu    a2, $sp, A0_OFF2
-       addu    a3, $sp, F12_OFF2
+       ADDU    a1, $sp, V0_OFF2
+       ADDU    a2, $sp, A0_OFF2
+       ADDU    a3, $sp, F12_OFF2
        jalr    t9
 
        # Return flags are in v0