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

* libc/sys/arm/syscalls.c (_sbrk): Define as weak symbols.
        (_read, _write): Ditto.
This commit is contained in:
Jeff Johnston 2014-02-11 19:54:30 +00:00
parent 45f9ca0c9d
commit 35dcecc6db
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-02-11 Joey Ye <joey.ye@arm.com>
* libc/sys/arm/syscalls.c (_sbrk): Define as weak symbols.
(_read, _write): Ditto.
2014-02-09 Corinna Vinschen <vinschen@redhat.com>
* libc/include/pwd.h: Include <sys/cdefs.h>.

View File

@ -202,7 +202,7 @@ _swiread (int file,
#endif
}
int
int __attribute__((weak))
_read (int file,
char * ptr,
int len)
@ -307,7 +307,7 @@ _swiwrite (
#endif
}
int
int __attribute__((weak))
_write (int file,
char * ptr,
int len)
@ -451,7 +451,7 @@ _getpid (int n)
n = n;
}
caddr_t
caddr_t __attribute__((weak))
_sbrk (int incr)
{
extern char end asm ("end"); /* Defined by the linker. */