Make glibc's printf with a vcore-ctx aware (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 14 Dec 2015 20:04:47 +0000 (15:04 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 16 Dec 2015 23:23:10 +0000 (18:23 -0500)
commit4d763c663adcb2f275330040d54702d8032069a9
tree5bdfe6070f20d9e96f42720df91a32a36c2c5b89
parentbcf216b832c46c29e9147183d62aab50994cea3c
Make glibc's printf with a vcore-ctx aware (XCC)

This is a follow-up to commit 36acdc59f895 ("Override glibc's printf for
vcore context").

Using a #define for printf turned into a mess.  This approach accomplishes
the same goals (printf can be safely called from vcore context), but
without preprocessor magic.

Rebuild glibc.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/Versions
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/parlib-compat.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/printf.c [new file with mode: 0644]
user/parlib/include/stdio.h