]> code.ossystems Code Review - openembedded-core.git/commitdiff
newlib: Move syscalls from newlib to libgloss
authorMark Hatle <mark.hatle@kernel.crashing.org>
Fri, 14 Feb 2020 18:34:14 +0000 (12:34 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Feb 2020 11:23:33 +0000 (11:23 +0000)
By passing --disabled-newlib-supplied-syscalls, newlib will disable the
generation of builtin syscalls and move this to libgloss.  (This also
affects the generation of crt0.o.)

libgloss SHOULD then provide the syscalls, crt0.o and other functions that
are no longer part of newlib itself.  This now means that you must link
with both newlib and libgloss, whereas before newlib would run in many
configurations by itself.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/newlib/newlib.inc

index d7ac8bff173ec770e29f619d5cb891cc11b489e6..5edea8aba1673328f1ba25ae51c05c5e591433c3 100644 (file)
@@ -42,6 +42,7 @@ EXTRA_OECONF = " \
                --with-gnu-as \
                --with-gnu-ld \
                --disable-multilib \
+               --disable-newlib-supplied-syscalls \
                "
 
 do_configure[cleandirs] = "${B}"