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:
parent
45f9ca0c9d
commit
35dcecc6db
|
@ -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>.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue