On 14.01.2011 22:07, Stefan Reinauer wrote:
> * Mathias Krause <[email protected]> [110105 13:03]:
>> This patch reduces the stack usage by declaring 'const' stack variables
>> as 'static const' so they end up in the .rodata section instead of being
>> copied from there to the stack for every invocation of the corresponding
>> function. As a plus we end up in having a smaller binary as the "copy
>> from .rodata to stack" code isn't emitted by the compiler any more
>> (roughly -100 bytes).
>>
>> Signed-off-by: Mathias Krause <[email protected]>
> 
> Acked-by: Stefan Reinauer <[email protected]>
> 

Thanks, committed as r1252.

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to