mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-21 17:31:10 +03:00
Wrap test-fpucw.c for ARM.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2013-06-18 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/arm/fpu_control.h [!_LIBC && __SOFTFP__]: Change
|
||||||
|
condition to [!(_LIBC && !_LIBC_TEST) && __SOFTFP__].
|
||||||
|
* sysdeps/arm/test-fpucw.c: New file.
|
||||||
|
|
||||||
2013-06-17 Joseph Myers <joseph@codesourcery.com>
|
2013-06-17 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #14907]
|
[BZ #14907]
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#ifndef _FPU_CONTROL_H
|
#ifndef _FPU_CONTROL_H
|
||||||
#define _FPU_CONTROL_H
|
#define _FPU_CONTROL_H
|
||||||
|
|
||||||
#if !defined(_LIBC) && defined(__SOFTFP__)
|
#if !(defined(_LIBC) && !defined(_LIBC_TEST)) && defined(__SOFTFP__)
|
||||||
|
|
||||||
#define _FPU_RESERVED 0xffffffff
|
#define _FPU_RESERVED 0xffffffff
|
||||||
#define _FPU_DEFAULT 0x00000000
|
#define _FPU_DEFAULT 0x00000000
|
||||||
|
|||||||
5
ports/sysdeps/arm/test-fpucw.c
Normal file
5
ports/sysdeps/arm/test-fpucw.c
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
/* Defining _LIBC_TEST stops fpu_control.h from defining the
|
||||||
|
hard-float versions of macros (for use with dynamic VFP detection)
|
||||||
|
when compiling for soft-float. */
|
||||||
|
#define _LIBC_TEST
|
||||||
|
#include <math/test-fpucw.c>
|
||||||
Reference in New Issue
Block a user