summaryrefslogtreecommitdiffstats
path: root/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch')
-rw-r--r--package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch b/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch
index 776990df65..168972a871 100644
--- a/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch
+++ b/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch
@@ -7,6 +7,8 @@ This way it will be possible to build it for soft-float. This is only a
temporary fix. The package needs to be fixed properly.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+[Update for 3.3-rc0]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
src/mips/n32.S | 1 +
src/mips/o32.S | 1 +
@@ -17,9 +19,10 @@ index c6985d3..dc842d5 100644
--- a/src/mips/n32.S
+++ b/src/mips/n32.S
@@ -44,6 +44,7 @@
- .abicalls
#endif
+ #if !defined(__mips_isa_rev) || (__mips_isa_rev<6)
.set mips4
+ #endif
+ .set hardfloat
.text
.align 2
OpenPOWER on IntegriCloud