Only include <arm/aeabi.h> when __ARM_PCS_VFP is defined.

This commit is contained in:
matt 2013-08-01 23:21:19 +00:00
parent edba670894
commit 14480f30a0
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: softfloat-for-gcc.h,v 1.11 2013/08/01 22:18:50 matt Exp $ */
/* $NetBSD: softfloat-for-gcc.h,v 1.12 2013/08/01 23:21:19 matt Exp $ */
/*
* Move private identifiers with external linkage into implementation
@ -169,7 +169,9 @@
#endif
#ifdef __ARM_EABI__
#ifdef __ARM_PCS_VFP
#include <arm/aeabi.h>
#endif
#define __addsf3 __aeabi_fadd
#define __adddf3 __aeabi_dadd