Преглед изворни кода

ppc: fix e500 fenv support

Waldemar Brodkorb пре 15 часа
родитељ
комит
dff69277d7

+ 0 - 1
libm/powerpc/e500/fpu/fclrexcpt.c

@@ -1,6 +1,5 @@
 /* Clear given exceptions in current floating-point environment.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public

+ 0 - 1
libm/powerpc/e500/fpu/fe_nomask.c

@@ -1,6 +1,5 @@
 /* Procedure definition for FE_NOMASK_ENV.
    Copyright (C) 1997 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public

+ 0 - 1
libm/powerpc/e500/fpu/fedisblxcpt.c

@@ -1,6 +1,5 @@
 /* Disable floating-point exceptions.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or

+ 0 - 1
libm/powerpc/e500/fpu/feenablxcpt.c

@@ -1,6 +1,5 @@
 /* Enable floating-point exceptions.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or

+ 0 - 1
libm/powerpc/e500/fpu/fegetenv.c

@@ -1,7 +1,6 @@
 /* Store current floating-point environment.
    Copyright (C) 2004 Free Software Foundation, Inc.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004
-   This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public

+ 0 - 1
libm/powerpc/e500/fpu/fegetexcept.c

@@ -1,6 +1,5 @@
 /* Get floating-point exceptions.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or

+ 0 - 1
libm/powerpc/e500/fpu/fegetround.c

@@ -1,6 +1,5 @@
 /* Return current rounding direction.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or

+ 0 - 2
libm/powerpc/e500/fpu/feholdexcpt.c

@@ -1,6 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
    Copyright (C) 2004, 2006 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -41,4 +40,3 @@ feholdexcept (fenv_t *envp)
 
   return 0;
 }
-libm_hidden_def (feholdexcept)

+ 0 - 1
libm/powerpc/e500/fpu/fenv_const.c

@@ -1,6 +1,5 @@
 /* Constants for fenv_bits.h.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or

+ 1 - 4
libm/powerpc/e500/fpu/fesetenv.c

@@ -1,6 +1,5 @@
 /* Install given floating-point environment.
    Copyright (C) 1997,99,2000,01,02 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -21,7 +20,7 @@
 #include <sys/prctl.h>
 
 int
-__fesetenv (const fenv_t *envp)
+fesetenv (const fenv_t *envp)
 {
   fenv_union_t u;
   INTERNAL_SYSCALL_DECL (err);
@@ -33,5 +32,3 @@ __fesetenv (const fenv_t *envp)
   /* Success.  */
   return 0;
 }
-
-libm_hidden_ver (__fesetenv, fesetenv)

+ 0 - 2
libm/powerpc/e500/fpu/fesetround.c

@@ -1,6 +1,5 @@
 /* Set current rounding direction.
    Copyright (C) 2004, 2006 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,4 +32,3 @@ fesetround (int round)
 
   return 0;
 }
-libm_hidden_def (fesetround)

+ 0 - 1
libm/powerpc/e500/fpu/feupdateenv.c

@@ -1,6 +1,5 @@
 /* Install given floating-point environment and raise exceptions.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or

+ 0 - 1
libm/powerpc/e500/fpu/fgetexcptflg.c

@@ -1,6 +1,5 @@
 /* Store current representation for exceptions.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or

+ 0 - 3
libm/powerpc/e500/fpu/fraiseexcpt.c

@@ -1,6 +1,5 @@
 /* Raise given exceptions.
    Copyright (C) 2004, 2006 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,5 +23,3 @@
 #define __FERAISEEXCEPT_INTERNAL feraiseexcept
 
 #include "../spe-raise.c"
-
-libm_hidden_def (feraiseexcept)

+ 0 - 1
libm/powerpc/e500/fpu/fsetexcptflg.c

@@ -1,6 +1,5 @@
 /* Set floating-point environment exception handling.
    Copyright (C) 1997,99,2000,01,04 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public

+ 0 - 1
libm/powerpc/e500/fpu/ftestexcept.c

@@ -1,6 +1,5 @@
 /* Test exception in current environment.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
    Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004.
 
    The GNU C Library is free software; you can redistribute it and/or