libgloss: bfin: trim trailing whitespace
This commit is contained in:
parent
e3b09df6ef
commit
3a81efd10e
|
@ -1,3 +1,8 @@
|
||||||
|
2011-06-21 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* bfin/syscalls.c: Trim trailing whitespace.
|
||||||
|
* bfin/crt0.S: Likewise.
|
||||||
|
|
||||||
2011-06-14 Joseph Myers <joseph@codesourcery.com>
|
2011-06-14 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* configure.in: Don't handle strongarm, ep9312 and xscale target
|
* configure.in: Don't handle strongarm, ep9312 and xscale target
|
||||||
|
|
|
@ -45,15 +45,15 @@ L$L$clear_bss:
|
||||||
/* Parse string at r1 */
|
/* Parse string at r1 */
|
||||||
|
|
||||||
p0.l = __init;
|
p0.l = __init;
|
||||||
p0.h = __init;
|
p0.h = __init;
|
||||||
P3 = P4;
|
P3 = P4;
|
||||||
call (p0)
|
call (p0)
|
||||||
|
|
||||||
p0.l = _atexit;
|
p0.l = _atexit;
|
||||||
p0.h = _atexit;
|
p0.h = _atexit;
|
||||||
#ifdef __BFIN_FDPIC__
|
#ifdef __BFIN_FDPIC__
|
||||||
r0 = [P4 + __fini@FUNCDESC_GOT17M4] ;
|
r0 = [P4 + __fini@FUNCDESC_GOT17M4];
|
||||||
P3 = P4;
|
P3 = P4;
|
||||||
#else
|
#else
|
||||||
r0.l = __fini;
|
r0.l = __fini;
|
||||||
r0.h = __fini;
|
r0.h = __fini;
|
||||||
|
@ -61,12 +61,12 @@ L$L$clear_bss:
|
||||||
call (p0)
|
call (p0)
|
||||||
|
|
||||||
p0.l = ___setup_argv_and_call_main;
|
p0.l = ___setup_argv_and_call_main;
|
||||||
p0.h = ___setup_argv_and_call_main;
|
p0.h = ___setup_argv_and_call_main;
|
||||||
P3 = P4;
|
P3 = P4;
|
||||||
call (p0)
|
call (p0)
|
||||||
|
|
||||||
p0.l = _exit;
|
p0.l = _exit;
|
||||||
p0.h = _exit;
|
p0.h = _exit;
|
||||||
P3 = P4;
|
P3 = P4;
|
||||||
jump (p0) /* Should not return. */
|
jump (p0) /* Should not return. */
|
||||||
nop;
|
nop;
|
||||||
|
|
|
@ -47,7 +47,7 @@ _read (int file, char *ptr, int len)
|
||||||
block[0] = file;
|
block[0] = file;
|
||||||
block[1] = (int) ptr;
|
block[1] = (int) ptr;
|
||||||
block[2] = len;
|
block[2] = len;
|
||||||
|
|
||||||
return do_syscall (SYS_read, block);
|
return do_syscall (SYS_read, block);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,11 +66,11 @@ int
|
||||||
_write (int file, char *ptr, int len)
|
_write (int file, char *ptr, int len)
|
||||||
{
|
{
|
||||||
int block[3];
|
int block[3];
|
||||||
|
|
||||||
block[0] = file;
|
block[0] = file;
|
||||||
block[1] = (int) ptr;
|
block[1] = (int) ptr;
|
||||||
block[2] = len;
|
block[2] = len;
|
||||||
|
|
||||||
return do_syscall (SYS_write, block);
|
return do_syscall (SYS_write, block);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,9 +123,9 @@ _sbrk (int incr)
|
||||||
|
|
||||||
if (heap_end == NULL)
|
if (heap_end == NULL)
|
||||||
heap_end = &end;
|
heap_end = &end;
|
||||||
|
|
||||||
prev_heap_end = heap_end;
|
prev_heap_end = heap_end;
|
||||||
|
|
||||||
if (heap_end + incr > stack_ptr)
|
if (heap_end + incr > stack_ptr)
|
||||||
{
|
{
|
||||||
/* Some of the libstdc++-v3 tests rely upon detecting
|
/* Some of the libstdc++-v3 tests rely upon detecting
|
||||||
|
@ -134,14 +134,14 @@ _sbrk (int incr)
|
||||||
extern void abort (void);
|
extern void abort (void);
|
||||||
|
|
||||||
_write (1, "_sbrk: Heap and stack collision\n", 32);
|
_write (1, "_sbrk: Heap and stack collision\n", 32);
|
||||||
|
|
||||||
abort ();
|
abort ();
|
||||||
#else
|
#else
|
||||||
errno = ENOMEM;
|
errno = ENOMEM;
|
||||||
return (caddr_t) -1;
|
return (caddr_t) -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
heap_end += incr;
|
heap_end += incr;
|
||||||
|
|
||||||
return (caddr_t) prev_heap_end;
|
return (caddr_t) prev_heap_end;
|
||||||
|
@ -201,7 +201,7 @@ _gettimeofday (struct timeval *tv, void *tz)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return a clock that ticks at 100Hz. */
|
/* Return a clock that ticks at 100Hz. */
|
||||||
clock_t
|
clock_t
|
||||||
_times (struct tms * tp)
|
_times (struct tms * tp)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue