This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Define _sbrk, read, _write as weak symbols


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.

Attachment: weak_sbrk-0108.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]