2014-02-11 Joey Ye <joey.ye@arm.com>

* arm/syscalls.c (_sbrk): Define as weak symbols.
        (_read, _write): Ditto.
This commit is contained in:
Jeff Johnston 2014-02-11 19:55:22 +00:00
parent 35dcecc6db
commit 6a7a80d83c
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2014-02-11 Joey Ye <joey.ye@arm.com>
* arm/syscalls.c (_sbrk): Define as weak symbols.
(_read, _write): Ditto.
2014-02-03 Richard Earnshaw <rearnsha@arm.com>
* aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies

View File

@ -267,7 +267,7 @@ _swiread (int fh,
/* fd, is a valid user file handle.
Translates the return of _swiread into
bytes read. */
int
int __attribute__((weak))
_read (int fd,
char * ptr,
int len)
@ -418,7 +418,7 @@ _swiwrite (
}
/* fd, is a user file descriptor. */
int
int __attribute__((weak))
_write (int fd,
char * ptr,
int len)
@ -587,7 +587,7 @@ _getpid (int n __attribute__ ((unused)))
return 1;
}
caddr_t
caddr_t __attribute__((weak))
_sbrk (int incr)
{
extern char end asm ("end"); /* Defined by the linker. */