summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
commit1f020b178664857b0e107778d04fb971a58e6230 (patch)
treec1cd86593b5d354091e0fa3201c5789bec5c53ad /libc/sysdeps/linux/e1
parentf1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff)
- trim any trailing whitespace
Diffstat (limited to 'libc/sysdeps/linux/e1')
-rw-r--r--libc/sysdeps/linux/e1/bits/fenv.h2
-rw-r--r--libc/sysdeps/linux/e1/bits/fenvinline.h22
-rw-r--r--libc/sysdeps/linux/e1/bits/kernel_stat.h4
-rw-r--r--libc/sysdeps/linux/e1/bits/kernel_types.h4
-rw-r--r--libc/sysdeps/linux/e1/longjmp.c6
-rw-r--r--libc/sysdeps/linux/e1/setjmp.c20
6 files changed, 29 insertions, 29 deletions
diff --git a/libc/sysdeps/linux/e1/bits/fenv.h b/libc/sysdeps/linux/e1/bits/fenv.h
index dde6aceaa..beeea3d51 100644
--- a/libc/sysdeps/linux/e1/bits/fenv.h
+++ b/libc/sysdeps/linux/e1/bits/fenv.h
@@ -36,7 +36,7 @@ enum
#define FE_OVERFLOW FE_OVERFLOW
FE_DIVBYZERO = (1 << 11),
#define FE_DIVBYZERO FE_DIVBYZERO
- FE_INVALID = (1 << 12)
+ FE_INVALID = (1 << 12)
#define FE_INVALID FE_INVALID
};
diff --git a/libc/sysdeps/linux/e1/bits/fenvinline.h b/libc/sysdeps/linux/e1/bits/fenvinline.h
index 2723a35f6..a16fc0fb2 100644
--- a/libc/sysdeps/linux/e1/bits/fenvinline.h
+++ b/libc/sysdeps/linux/e1/bits/fenvinline.h
@@ -1,4 +1,4 @@
-/*
+/*
Inline floating-point environment handling functions for Hyperstone e1-32X.
Copyright (C) 2002-2003, George Thanos <george.thanos@gdt.gr>
Yannis Mitsos <yannis.mitsos@gdt.gr>
@@ -22,9 +22,9 @@
#if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_MATH_INLINES
-/**********************************************************
+/**********************************************************
* --- A small description of the E1-16/32X FP unit. ---
- * FP exceptions can be enabled and disabled through
+ * FP exceptions can be enabled and disabled through
* <feenableexcept>, <fedisableexcept>.
*
* - When an enabled exception takes place a SIGFPE signal
@@ -37,7 +37,7 @@
* a trap. The user can check if any exception took place after
* an FP instruction by issuing an <fetestexcept> command.
* User should first clear the G2 register by issuing an
- * <feclearexcept> function.
+ * <feclearexcept> function.
* The following program is a typical example of how the user
* should check for exceptions that did not generate a SIGFPE
* signal :
@@ -49,7 +49,7 @@
* raised = fetestexcept (FE_OVERFLOW | FE_INVALID);
* if (raised & FE_OVERFLOW) { ... }
* if (raised & FE_INVALID) { ... }
- * ...
+ * ...
* }
***********************************************************/
@@ -102,7 +102,7 @@ static __inline__ feclearexcept(int __excepts)
__asm__ __volatile__("mov %0, SR"
:"=l"(enabled_excepts)
- :/*no input*/ );
+ :/*no input*/ );
enabled_excepts &= 0x1F00;
disabled_excepts = ~enabled_excepts;
@@ -123,9 +123,9 @@ static __inline__ feclearexcept(int __excepts)
/* fetestexcepts tests both for actual and accrued
* excepts. You can test for an exception either after
* an FP instruction or within a SIGFPE handler
- */
+ */
inline int fetestexcept(int __excepts)
-{
+{
unsigned int G2, G2en, G2dis;
unsigned int enabled_excepts, disabled_excepts;
@@ -135,7 +135,7 @@ inline int fetestexcept(int __excepts)
__asm__ __volatile__("mov %0, SR"
:"=l"(enabled_excepts)
- :/*no input*/ );
+ :/*no input*/ );
enabled_excepts &= 0x1F00;
disabled_excepts = ~enabled_excepts;
@@ -273,7 +273,7 @@ static __inline__ int fegetenv(fenv_t *envp)
:"l"( envp->actual_except ) ); \
(0); /* return 0 */ \
})
-
+
#define feupdateenv(envp) \
({ \
/* Clear FRM & FTE field of SR */ \
@@ -292,7 +292,7 @@ static __inline__ int fegetenv(fenv_t *envp)
:"l"( envp->actual_except ) ); \
(0); /* return 0 */ \
})
-
+
#endif /* __GNUC__ && !_SOFT_FLOAT */
diff --git a/libc/sysdeps/linux/e1/bits/kernel_stat.h b/libc/sysdeps/linux/e1/bits/kernel_stat.h
index 908a153d8..9be9d115d 100644
--- a/libc/sysdeps/linux/e1/bits/kernel_stat.h
+++ b/libc/sysdeps/linux/e1/bits/kernel_stat.h
@@ -5,8 +5,8 @@
#error bits/kernel_stat.h is for internal uClibc use only!
#endif
-/* This file provides whatever this particular arch's kernel thinks
- * struct kernel_stat should look like... It turns out each arch has a
+/* This file provides whatever this particular arch's kernel thinks
+ * struct kernel_stat should look like... It turns out each arch has a
* different opinion on the subject... */
struct kernel_stat {
diff --git a/libc/sysdeps/linux/e1/bits/kernel_types.h b/libc/sysdeps/linux/e1/bits/kernel_types.h
index 513009d8f..8017d8578 100644
--- a/libc/sysdeps/linux/e1/bits/kernel_types.h
+++ b/libc/sysdeps/linux/e1/bits/kernel_types.h
@@ -1,6 +1,6 @@
/* Note that we use the exact same include guard #define names
- * as asm/posix_types.h. This will avoid gratuitous conflicts
- * with the posix_types.h kernel header, and will ensure that
+ * as asm/posix_types.h. This will avoid gratuitous conflicts
+ * with the posix_types.h kernel header, and will ensure that
* our private content, and not the kernel header, will win.
* -Erik
*/
diff --git a/libc/sysdeps/linux/e1/longjmp.c b/libc/sysdeps/linux/e1/longjmp.c
index e60c28c52..9f04e7b5c 100644
--- a/libc/sysdeps/linux/e1/longjmp.c
+++ b/libc/sysdeps/linux/e1/longjmp.c
@@ -23,7 +23,7 @@ void longjmp(jmp_buf state, int value )
else
state->__jmpbuf->ReturnValue = value;
- jmpbuf_ptr = (unsigned long)state;
+ jmpbuf_ptr = (unsigned long)state;
e1newSP(state->__jmpbuf->SavedSP);
#define _state_ ((struct __jmp_buf_tag*)jmpbuf_ptr)
@@ -55,9 +55,9 @@ void siglongjmp(sigjmp_buf state, int value )
else
state->__jmpbuf->ReturnValue = value;
- jmpbuf_ptr = (unsigned long)state;
+ jmpbuf_ptr = (unsigned long)state;
e1newSP(state->__jmpbuf->SavedSP);
-
+
#define _state_ ((struct __jmp_buf_tag*)jmpbuf_ptr)
__asm__ __volatile__("mov L0, %0\n\t"
diff --git a/libc/sysdeps/linux/e1/setjmp.c b/libc/sysdeps/linux/e1/setjmp.c
index 3a3f3b7e8..bda18b13a 100644
--- a/libc/sysdeps/linux/e1/setjmp.c
+++ b/libc/sysdeps/linux/e1/setjmp.c
@@ -11,11 +11,11 @@ libc_hidden_proto(sigprocmask)
int setjmp( jmp_buf state)
{
- __asm__ __volatile__( "mov %0, G3\n\t"
- "mov %1, G4\n\t"
- :"=l"(state->__jmpbuf->G3),
- "=l"(state->__jmpbuf->G4)
- :/*no input*/
+ __asm__ __volatile__( "mov %0, G3\n\t"
+ "mov %1, G4\n\t"
+ :"=l"(state->__jmpbuf->G3),
+ "=l"(state->__jmpbuf->G4)
+ :/*no input*/
:"%G3", "%G4" );
__asm__ __volatile__( "setadr %0\n\t"
@@ -38,11 +38,11 @@ int sigsetjmp( sigjmp_buf state , int savesigs)
} else
state->__mask_was_saved = 0;
- __asm__ __volatile__( "mov %0, G3\n\t"
- "mov %1, G4\n\t"
- :"=l"(state->__jmpbuf->G3),
- "=l"(state->__jmpbuf->G4)
- :/*no input*/
+ __asm__ __volatile__( "mov %0, G3\n\t"
+ "mov %1, G4\n\t"
+ :"=l"(state->__jmpbuf->G3),
+ "=l"(state->__jmpbuf->G4)
+ :/*no input*/
:"%G3", "%G4" );
__asm__ __volatile__( "setadr %0\n\t"