aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm/nwfpe/fpa11_cpdt.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-02-10 13:59:35 +0000
committerAurelien Jarno <aurelien@aurel32.net>2011-02-10 20:18:36 +0100
commit005e1a0a02810ee132742d8a29771cd48a2b4285 (patch)
tree4c20c4313faff4b9af199b70aecefe04e5221a87 /linux-user/arm/nwfpe/fpa11_cpdt.c
parentd5138cf4a8f2415d2d568adfd3f65d3cc5a0b736 (diff)
linux-user/arm: fix compilation failures using softfloat's struct types
Add uses of the float32/float64 boxing and unboxing macros so that the ARM linux-user targets will compile with USE_SOFTFLOAT_STRUCT_TYPES enabled. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/arm/nwfpe/fpa11_cpdt.c')
-rw-r--r--linux-user/arm/nwfpe/fpa11_cpdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/arm/nwfpe/fpa11_cpdt.c b/linux-user/arm/nwfpe/fpa11_cpdt.c
index 1346fd619d..b12e27dcb0 100644
--- a/linux-user/arm/nwfpe/fpa11_cpdt.c
+++ b/linux-user/arm/nwfpe/fpa11_cpdt.c
@@ -33,7 +33,7 @@ void loadSingle(const unsigned int Fn, target_ulong addr)
FPA11 *fpa11 = GET_FPA11();
fpa11->fType[Fn] = typeSingle;
/* FIXME - handle failure of get_user() */
- get_user_u32(fpa11->fpreg[Fn].fSingle, addr);
+ get_user_u32(float32_val(fpa11->fpreg[Fn].fSingle), addr);
}
static inline