[coreboot] [PATCH] reentrant and .bss-less vsprintf

Patrick Georgi patrick at georgi-clan.de
Tue May 26 15:58:00 CEST 2009

ron minnich schrieb:
> Is it necessary to nest the function to fix this problem? Are you sure
> no other function will ever need str_tx_byte?
As far as I can see, the global variable is only used for communication 
between the two functions, of which one is a callback.
By nesting the function, the variable can be local.

The only alternative I see is to rewrite that part entirely.
Unless the gcc maintainers plan to kill this extension, I see no reason 
not to use it.


More information about the coreboot mailing list