This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
ive committed the following patch -mike 2011-06-21 Mike Frysinger <vapier@gentoo.org> * bfin/syscalls.c: Trim trailing whitespace. * bfin/crt0.S: Likewise. --- libgloss/bfin/crt0.S 8 Nov 2006 19:36:56 -0000 1.1 +++ libgloss/bfin/crt0.S 22 Jun 2011 02:57:13 -0000 @@ -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; --- libgloss/bfin/syscalls.c 14 Aug 2008 22:00:45 -0000 1.4 +++ libgloss/bfin/syscalls.c 22 Jun 2011 02:57:13 -0000 @@ -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 } /* Return a clock that ticks at 100Hz. */ -clock_t +clock_t _times (struct tms * tp) { return -1;
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |