Re: [coldfire-gnu-discuss] Newlib reentrancy structure overhead
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldfire-gnu-discuss] Newlib reentrancy structure overhead
- To: David Brown <david@xxxxxxxxxxxxxxx>
- Subject: Re: [coldfire-gnu-discuss] Newlib reentrancy structure overhead
- From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
- Date: Thu, 23 Nov 2006 10:46:58 +0000
David Brown wrote:
Hi,
Does anyone know if there is a way to get access to the newlib c library
functions without the overhead of the re-entrancy support? When working
on a small system, it can be very significant - any standard library
function that uses "errno" gets a 1024 byte impure_data structure, and
all access to c library global data pass through an extra layer of
indirection (reading or setting errno requires a function call).
unfortunately not. newlib is designed as a reentrant library and has no
configure option to make it not so.
Of course, such capability could be added, but it would be significant work and
we have no current plans to do so.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@xxxxxxxxxxxxxxxx :: http://www.planetfall.pwp.blueyonder.co.uk