mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
* 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:
parent
57ba32a810
commit
b610dc849a
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user