diff options
author | Michael Frysinger <vapier@gentoo.org> | 2011-06-22 03:00:44 +0000 |
---|---|---|
committer | Michael Frysinger <vapier@gentoo.org> | 2011-06-22 03:00:44 +0000 |
commit | 3a81efd10e8e32100c77d197dcd35d320e81568c (patch) | |
tree | 9a1f77bf7cd7f7f0456f03343971f4d8d71a2095 /libgloss/bfin | |
parent | e3b09df6efcc46a17d1486ce746508fe287f031d (diff) | |
download | cygnal-3a81efd10e8e32100c77d197dcd35d320e81568c.tar.gz cygnal-3a81efd10e8e32100c77d197dcd35d320e81568c.tar.bz2 cygnal-3a81efd10e8e32100c77d197dcd35d320e81568c.zip |
libgloss: bfin: trim trailing whitespace
Diffstat (limited to 'libgloss/bfin')
-rw-r--r-- | libgloss/bfin/crt0.S | 16 | ||||
-rw-r--r-- | libgloss/bfin/syscalls.c | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/libgloss/bfin/crt0.S b/libgloss/bfin/crt0.S index f34b5154b..ca6d6c7fd 100644 --- a/libgloss/bfin/crt0.S +++ b/libgloss/bfin/crt0.S @@ -45,15 +45,15 @@ L$L$clear_bss: /* Parse string at r1 */ p0.l = __init; - p0.h = __init; - P3 = P4; + p0.h = __init; + P3 = P4; call (p0) p0.l = _atexit; p0.h = _atexit; #ifdef __BFIN_FDPIC__ - r0 = [P4 + __fini@FUNCDESC_GOT17M4] ; - P3 = P4; + r0 = [P4 + __fini@FUNCDESC_GOT17M4]; + P3 = P4; #else r0.l = __fini; r0.h = __fini; @@ -61,12 +61,12 @@ L$L$clear_bss: call (p0) p0.l = ___setup_argv_and_call_main; - p0.h = ___setup_argv_and_call_main; - P3 = P4; + p0.h = ___setup_argv_and_call_main; + P3 = P4; call (p0) p0.l = _exit; - p0.h = _exit; - P3 = P4; + p0.h = _exit; + P3 = P4; jump (p0) /* Should not return. */ nop; diff --git a/libgloss/bfin/syscalls.c b/libgloss/bfin/syscalls.c index b5bce2611..b9a5f583f 100644 --- a/libgloss/bfin/syscalls.c +++ b/libgloss/bfin/syscalls.c @@ -47,7 +47,7 @@ _read (int file, char *ptr, int len) block[0] = file; block[1] = (int) ptr; block[2] = len; - + return do_syscall (SYS_read, block); } @@ -66,11 +66,11 @@ int _write (int file, char *ptr, int len) { int block[3]; - + block[0] = file; block[1] = (int) ptr; block[2] = len; - + return do_syscall (SYS_write, block); } @@ -123,9 +123,9 @@ _sbrk (int incr) if (heap_end == NULL) heap_end = &end; - + prev_heap_end = heap_end; - + if (heap_end + incr > stack_ptr) { /* Some of the libstdc++-v3 tests rely upon detecting @@ -134,14 +134,14 @@ _sbrk (int incr) extern void abort (void); _write (1, "_sbrk: Heap and stack collision\n", 32); - + abort (); #else errno = ENOMEM; return (caddr_t) -1; #endif } - + heap_end += incr; return (caddr_t) prev_heap_end; @@ -201,7 +201,7 @@ _gettimeofday (struct timeval *tv, void *tz) } /* Return a clock that ticks at 100Hz. */ -clock_t +clock_t _times (struct tms * tp) { return -1; |