• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch
Vicente Olivert RieraVicente Olivert Riera committed 190aa2b98f818 Jan 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 48bc37fabbc685b1e3293055bd33ca66c619305e Mon Sep 17 00:00:00 2001
2
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3
Date: Wed, 13 Jan 2016 14:49:59 +0000
4
Subject: [PATCH] libffi: enable hardfloat in the MIPS assembly code
5
​
6
This way it will be possible to build it for soft-float. This is only a
7
temporary fix. The package needs to be fixed properly.
8
​
9
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
10
---
11
 src/mips/n32.S | 1 +
12
 src/mips/o32.S | 1 +
13
 2 files changed, 2 insertions(+)
14
​
15
diff --git a/src/mips/n32.S b/src/mips/n32.S
16
index c6985d3..dc842d5 100644
17
--- a/src/mips/n32.S
18
+++ b/src/mips/n32.S
19
@@ -44,6 +44,7 @@
20
    .abicalls
21
 #endif
22
    .set mips4
23
+   .set hardfloat
24
    .text
25
    .align  2
26
    .globl  ffi_call_N32
27
diff --git a/src/mips/o32.S b/src/mips/o32.S
28
index eb27981..b653daf 100644
29
--- a/src/mips/o32.S
30
+++ b/src/mips/o32.S
31
@@ -42,6 +42,7 @@
32
 #define RA_OFF     (SIZEOF_FRAME - 1 * FFI_SIZEOF_ARG)
33
 
34
    .abicalls
35
+   .set hardfloat
36
    .text
37
    .align  2
38
    .globl  ffi_call_O32
39
-- 
40
2.4.10
41
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.