softpll-unify: use pp_printf
This copies over pp_printf from wrpc-sw, builds it, and changes
trace.h to explicitly call pp_printf. Actually, it also
define mprintf to pp_printf.
The excplicit call is needed, or the --gc-functions will discard the
pp_printf code if no object file refers to it. Later,
arch/lm32/ram.ld redirects mprintf to pp_printf, but that would be too
late.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
rt/lib/mprintf.c
deleted
100644 → 0
rt/pp_printf/.gitignore
0 → 100644
rt/pp_printf/COPYING
0 → 100644
rt/pp_printf/Makefile
0 → 100644
rt/pp_printf/README
0 → 100644
File added
rt/pp_printf/pp-printf.h
0 → 100644
rt/pp_printf/printf.c
0 → 100644
rt/pp_printf/printf.mk
0 → 100644
rt/pp_printf/vsprintf-full.c
0 → 100644
rt/pp_printf/vsprintf-mini.c
0 → 100644
rt/pp_printf/vsprintf-none.c
0 → 100644
rt/pp_printf/vsprintf-xint.c
0 → 100644
Please
register
or
sign in
to comment