* sysdeps/arm/eabi/fclrexcpt.c: Include <sysdep.h> instead of

<asm/procinfo.h>.  Use HWCAP_ARM_VFP instead of HWCAP_VFP.
	* sysdeps/arm/eabi/fedisblxcpt.c: Likewise.
	* sysdeps/arm/eabi/feenablxcpt.c: Likewise.
	* sysdeps/arm/eabi/fegetenv.c: Likewise.
	* sysdeps/arm/eabi/fegetexcept.c: Likewise.
	* sysdeps/arm/eabi/fegetround.c: Likewise.
	* sysdeps/arm/eabi/feholdexcpt.c: Likewise.
	* sysdeps/arm/eabi/fesetenv.c: Likewise.
	* sysdeps/arm/eabi/fesetround.c: Likewise.
	* sysdeps/arm/eabi/fraiseexcpt.c: Likewise.
	* sysdeps/arm/eabi/fsetexcptflg.c: Likewise.
	* sysdeps/arm/eabi/ftestexcept.c: Likewise.
	* sysdeps/arm/eabi/setfpucw.c: Likewise.
This commit is contained in:
Daniel Jacobowitz 2006-10-31 17:20:42 +00:00
parent 57ba32a810
commit b610dc849a
14 changed files with 43 additions and 26 deletions

View File

@ -1,3 +1,20 @@
2006-10-31 Joseph S. Myers <joseph@codesourcery.com>
* sysdeps/arm/eabi/fclrexcpt.c: Include <sysdep.h> instead of
<asm/procinfo.h>. Use HWCAP_ARM_VFP instead of HWCAP_VFP.
* sysdeps/arm/eabi/fedisblxcpt.c: Likewise.
* sysdeps/arm/eabi/feenablxcpt.c: Likewise.
* sysdeps/arm/eabi/fegetenv.c: Likewise.
* sysdeps/arm/eabi/fegetexcept.c: Likewise.
* sysdeps/arm/eabi/fegetround.c: Likewise.
* sysdeps/arm/eabi/feholdexcpt.c: Likewise.
* sysdeps/arm/eabi/fesetenv.c: Likewise.
* sysdeps/arm/eabi/fesetround.c: Likewise.
* sysdeps/arm/eabi/fraiseexcpt.c: Likewise.
* sysdeps/arm/eabi/fsetexcptflg.c: Likewise.
* sysdeps/arm/eabi/ftestexcept.c: Likewise.
* sysdeps/arm/eabi/setfpucw.c: Likewise.
2006-10-31 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (splice): Update

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
__feclearexcept (int excepts)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned long int temp;

View File

@ -24,12 +24,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
fedisableexcept (int excepts)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned long int new_exc, old_exc;

View File

@ -24,12 +24,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
feenableexcept (int excepts)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned long int new_exc, old_exc;

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
__fegetenv (fenv_t *envp)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned long int temp;
_FPU_GETCW (temp);

View File

@ -24,12 +24,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
fegetexcept (void)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned long temp;

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
fegetround (void)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned int temp;

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
feholdexcept (fenv_t *envp)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned long int temp;

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
__fesetenv (const fenv_t *envp)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
unsigned int temp;

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
fesetround (int round)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
fpu_control_t temp;

View File

@ -24,12 +24,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
feraiseexcept (int excepts)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
int fpscr;
const float fp_zero = 0.0, fp_one = 1.0, fp_max = FLT_MAX,

View File

@ -24,12 +24,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
__fesetexceptflag (const fexcept_t *flagp, int excepts)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
fexcept_t temp;

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
int
fetestexcept (int excepts)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
fexcept_t temp;

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <dl-procinfo.h>
#include <asm/procinfo.h>
#include <sysdep.h>
void
__setfpucw (fpu_control_t set)
{
if (GLRO (dl_hwcap) & HWCAP_VFP)
if (GLRO (dl_hwcap) & HWCAP_ARM_VFP)
{
fpu_control_t cw;