summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-06 18:23:16 +0000
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-06 18:23:16 +0000
commit79369c386b6d0f20d5fa5e940e8e89927c0614a7 (patch)
tree0c9c4d4b59d444db71a4d2ed423980221736c3f0
parent8c77e3e7be12f9f0dfd1241195c9253be359c3fc (diff)
downloadppe42-gcc-79369c386b6d0f20d5fa5e940e8e89927c0614a7.tar.gz
ppe42-gcc-79369c386b6d0f20d5fa5e940e8e89927c0614a7.zip
2007-12-06 David Daney <ddaney@avtrex.com>
* src/mips/n32.S (ffi_closure_N32): Use 64-bit add instruction on pointer values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130655 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/src/mips/n32.S6
2 files changed, 8 insertions, 3 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 91609e3a79b..298912a7d98 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -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
diff --git a/libffi/src/mips/n32.S b/libffi/src/mips/n32.S
index ff268c6a173..59a905da5c2 100644
--- a/libffi/src/mips/n32.S
+++ b/libffi/src/mips/n32.S
@@ -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
OpenPOWER on IntegriCloud