libtcc1: Don't use stdlib functions
commit3db037387c16c7e582f76167d32d5c29ac32fb15
authorMichael Matz <matz@suse.de>
Tue, 18 Oct 2016 01:38:59 +0000 (18 03:38 +0200)
committerMichael Matz <matz@suse.de>
Thu, 15 Dec 2016 16:49:56 +0000 (15 17:49 +0100)
treecd472c5df0ec37e32d9d82ea96462d932c41b784
parentd042e71e9f96cd2635e9d18622c4a2aa007821a4
libtcc1: Don't use stdlib functions

libtcc1 is the compiler support library and therefore needs
to function in a freestanding environment.  In particular
it can't just use fprintf or stderr, which it was on x86-64
(but only when compiled by GCC).  The tight integration between
libtcc1 and tcc itself makes it impossible to ever reach that
case so the abort() there is enough.  abort() is strictly speaking
also not available in a freestanding environment, but it often is
nevertheless.
lib/libtcc1.c