Skip to content
Snippets Groups Projects
Commit 92b23022 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

check-error: new file, to catch undesired function calls


We don't want to call the real printf, which brings in the whole of
newlib, but it sometimes happen. So let's diagnose the problem
immediately rather than letting users wonder what is wrong with the
size.

Similarly, if building under ppsi, ensure we are not calling libgcc
division functions: any 64-bit division my be done with __div64_32
offered by ppsi/lib (copied from the kernel).

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent f5ae81a7
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment