OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk
    from Rev 197 to Rev 198
    Reverse comparison

Rev 197 → Rev 198

gnu-src/newlib-1.17.0/libgloss/or32/close-uart.c Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: gnu-src/newlib-1.17.0/libgloss/or32/unlink.c =================================================================== --- gnu-src/newlib-1.17.0/libgloss/or32/unlink.c (revision 197) +++ gnu-src/newlib-1.17.0/libgloss/or32/unlink.c (revision 198) @@ -32,6 +32,7 @@ #include +#undef errno extern int errno;
/gnu-src/newlib-1.17.0/libgloss/or32/open.c
32,6 → 32,7
#include <errno.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/Makefile.in
94,7 → 94,7
wait.o \
write.o
UART_OBJS = _exit.o \
close-uart.o \
close.o \
environ.o \
execve.o \
fork.o \
/gnu-src/newlib-1.17.0/libgloss/or32/fork.c
32,6 → 32,7
#include <errno.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/wait.c
32,6 → 32,7
#include <errno.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/close.c
30,9 → 30,9
/* -------------------------------------------------------------------------- */
 
#include <errno.h>
#include <unistd.h>
 
 
#undef errno
extern int errno;
 
 
53,7 → 53,7
int
_close (int file)
{
errno = (STDOUT_FILENO == file) || (STDERR_FILENO == file) ? EIO : EBADF;
errno = EBADF;
return -1; /* Always fails */
 
/gnu-src/newlib-1.17.0/libgloss/or32/stat.c
33,6 → 33,7
#include <sys/stat.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/read.c
33,6 → 33,7
#include <unistd.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/execve.c
32,6 → 32,7
#include <errno.h>
 
 
#undef errno;
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/read-uart.c
33,6 → 33,7
#include <unistd.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/crt0.S
363,11 → 363,11
l.or r3,r0,r0
l.or r4,r0,r0
l.jal _main
l.or r5,r0,r0
l.or r5,r0,r0 /* Delay slot */
 
/* If program exits, call exit routine */
l.jal _exit
l.addi r3,r11,0
l.addi r3,r11,0 /* Delay slot */
 
/* Loop forever */
.L2:
/gnu-src/newlib-1.17.0/libgloss/or32/kill.c
32,6 → 32,7
#include <errno.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/sbrk.c
31,15 → 31,13
 
#include <errno.h>
 
/*! Reserved stack space inbytes. */
#define STACK_BUFFER 65536
 
/*! Define NULL if not yet defined. */
#ifndef NULL
#define NULL ((void *) 0)
#endif
#undef errno
extern int errno;
 
#define STACK_BUFFER 65536 /*!< Reserved stack space in bytes. */
 
 
/* -------------------------------------------------------------------------- */
/*!Extend the heap
 
73,7 → 71,7
/* Value set by crt0.S */
extern void *stack; /* end of free memory */
 
/* The statically held previous end of the stack, with its initialization. */
/* The statically held previous end of the heap, with its initialization. */
static void *heap_ptr = (void *)&end; /* Previous end */
 
if ((stack - (heap_ptr + nbytes)) > STACK_BUFFER )
/gnu-src/newlib-1.17.0/libgloss/or32/write-uart.c
35,6 → 35,7
#include "uart.h"
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/lseek.c
33,6 → 33,7
#include <unistd.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/_exit.c
29,13 → 29,9
with Doxygen. */
/* -------------------------------------------------------------------------- */
 
#include <errno.h>
#include "or1ksim-board.h"
 
 
extern int errno;
 
 
/* -------------------------------------------------------------------------- */
/*!Exit a program with no tidy up.
 
/gnu-src/newlib-1.17.0/libgloss/or32/lseek-uart.c
33,6 → 33,7
#include <unistd.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/isatty.c
33,6 → 33,7
#include <unistd.h>
 
 
#undef ERRNO
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/fstat.c
34,6 → 34,7
#include <unistd.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/times.c
33,6 → 33,7
#include <sys/times.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/isatty-uart.c
33,6 → 33,7
#include <unistd.h>
 
 
#undef ERRNO
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/fstat-uart.c
34,6 → 34,7
#include <unistd.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/write.c
35,6 → 35,7
#include "or1ksim-board.h"
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/or32/link.c
32,6 → 32,7
#include <errno.h>
 
 
#undef errno
extern int errno;
 
 
/gnu-src/newlib-1.17.0/libgloss/ChangeLog
1,3 → 1,31
2010-07-16 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* or32/_exit.c: Removed redundant header.
* or32/close-uart.c: Deleted.
* or32/close.c: Undefined #errno. Fail for all streams.
* or32/crt0.S; Simplified cache initialization.
* or32/execve.c: Undefined #errno.
* or32/fork.c: Undefined #errno.
* or32/fstat-uart.c: Undefined #errno.
* or32/fstat.c: Undefined #errno.
* or32/isatty-uart.c: Undefined #errno.
* or32/isatty.c: Undefined #errno.
* or32/kill.c: Undefined #errno.
* or32/link.c: Undefined #errno.
* or32/lseek-uart.c: Undefined #errno.
* or32/lseek.c: Undefined #errno.
* or32/Makefile.in: Replaced close-uart.c by close.c
* or32/open.c: Undefined #errno.
* or32/read-uart.c: Undefined #errno.
* or32/read.c: Undefined #errno.
* or32/sbrk.c: Undefined #errno.
* or32/stat.c: Undefined #errno.
* or32/times.c: Undefined #errno.
* or32/unlink.c: Undefined #errno.
* or32/wait.c: Undefined #errno.
* or32/write-uart.c: Undefined #errno.
* or32/write.c: Undefined #errno.
 
2010-07-14 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* or32/crt0.S: Use l.j rather than l.jr for library calls.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.