diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2015-04-10 01:26:02 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2015-04-10 01:26:02 +0000 |
| commit | 4ba32eb5a8bf3455c09d1513ed2af8d2c861a6ba (patch) | |
| tree | f0f951897eebdd4e1fe1c8d47d866fa6c128828d /include/ntp_fp.h | |
| parent | f7cba3a80d9ebefc57776fffd17a4ae68f72e494 (diff) | |
Diffstat (limited to 'include/ntp_fp.h')
| -rw-r--r-- | include/ntp_fp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ntp_fp.h b/include/ntp_fp.h index 1b97e8b5cf72..780693226207 100644 --- a/include/ntp_fp.h +++ b/include/ntp_fp.h @@ -264,10 +264,13 @@ typedef u_int32 u_fp; * headers. So far the problem has only been seen with gcc, but it * may also affect Sun compilers, in which case the defined(__GNUC__) * term should be removed. + * XSCALE also generates bad code for these, at least with GCC 3.3.5. + * This is unrelated to math.h, but the same solution applies. */ #if defined(HAVE_U_INT64) && \ !(defined(__SVR4) && defined(__sun) && \ - defined(sparc) && defined(__GNUC__)) + defined(sparc) && defined(__GNUC__) || \ + defined(__arm__) && defined(__XSCALE__) && defined(__GNUC__)) #include <math.h> /* ldexp() */ |
