[PATCH] Define _sbrk, read, _write as weak symbols
Joey Ye
joey.ye@arm.com
Fri Feb 7 08:27:00 GMT 2014
Users sometimes redefines _sbrk, _read and _write but would like to use
other functions in rdimon. This patch defines them weak symbols to avoid
multiple definition linker errors.
Joey Ye <joey.ye@arm.com>
ChangeLog.newlib:
libc/sys/arm/syscalls.c (_sbrk): Define as weak symbols.
(_read, _write): Ditto.
ChangeLog.libgloss:
arm/syscalls.c (_sbrk): Define as weak symbols.
(_read, _write): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weak_sbrk-0108.patch
Type: application/octet-stream
Size: 1409 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20140207/ed8d5c9b/attachment.obj>
More information about the Newlib
mailing list