[PATCH] libgloss: Resolve compilation errors for mips.
Roger Sayle
roger@nextmovesoftware.com
Thu Jan 4 13:59:03 GMT 2024
This patch fixes some compilation issues in libgloss when
building a cross-compiler for mips. This mostly requires new
function prototypes, similar to the changes recently made
by Jeff Law for other targets.
2024-01-04 Roger Sayle <roger@nextmovesoftware.com>
libgloss/ChangeLog
* kill.c: Prototype _exit.
* mips/cfe_mem.c (__libcfe_meminit): Add casts to avoid compilation
warnings/errors.
* mips/cma101.c: Prototype __cpu_timer_poll and __cpu_flush.
* mips/syscalls.c: Prototype get_mem_info.
(sbrk): Add casts to avoid compilation warnings/errors.
* mips/test.c: Prototype outbyte and print. Fix return type of main.
* print.c: Prototype outbyte. Make ptr argument const char*.
* putnum.c: Update prototype of print to const char*.
Ok?
Roger
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgloss.patch
Type: application/octet-stream
Size: 3699 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20240104/fc739f68/attachment.obj>
More information about the Newlib
mailing list