diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2014-02-11 19:54:30 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2014-02-11 19:54:30 +0000 |
commit | 35dcecc6dbc80d81c3ed16fbd2bbeff7c8892746 (patch) | |
tree | 8b19739d6d2ba501487ad98b8184a6a7c9cfdb03 /newlib/libc/sys/arm | |
parent | 45f9ca0c9df98e008c916fdcb5891d00799724b7 (diff) | |
download | newlib-35dcecc6dbc80d81c3ed16fbd2bbeff7c8892746.zip newlib-35dcecc6dbc80d81c3ed16fbd2bbeff7c8892746.tar.gz newlib-35dcecc6dbc80d81c3ed16fbd2bbeff7c8892746.tar.bz2 |
2014-02-11 Joey Ye <joey.ye@arm.com>
* libc/sys/arm/syscalls.c (_sbrk): Define as weak symbols.
(_read, _write): Ditto.
Diffstat (limited to 'newlib/libc/sys/arm')
-rw-r--r-- | newlib/libc/sys/arm/syscalls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/sys/arm/syscalls.c b/newlib/libc/sys/arm/syscalls.c index c5df5bb..04dde45 100644 --- a/newlib/libc/sys/arm/syscalls.c +++ b/newlib/libc/sys/arm/syscalls.c @@ -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. */ |