From 3a81efd10e8e32100c77d197dcd35d320e81568c Mon Sep 17 00:00:00 2001 From: Michael Frysinger Date: Wed, 22 Jun 2011 03:00:44 +0000 Subject: [PATCH] libgloss: bfin: trim trailing whitespace --- libgloss/ChangeLog | 5 +++++ libgloss/bfin/crt0.S | 16 ++++++++-------- libgloss/bfin/syscalls.c | 16 ++++++++-------- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index fa25a5c8d..a6f7ef606 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2011-06-21 Mike Frysinger + + * bfin/syscalls.c: Trim trailing whitespace. + * bfin/crt0.S: Likewise. + 2011-06-14 Joseph Myers * configure.in: Don't handle strongarm, ep9312 and xscale target 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;