On Tue, Jun 03, 2008 at 08:44:30PM -0400, Andy Walls wrote:
> For the record, every pointer store looks something like this (before
> relocations) on 64-bit:
> 
>    1f9:       48 c7 87 c0 04 00 00    movq   $0x0,0x4c0(%rdi)
>    200:       00 00 00 00 
> 
> 11 bytes * 19 NULL pointer stores = 209 bytes + wasted CPU cycles.

Static objects don't get stored at init.. they are either in the data
segment (older compilers) or BSS (smarter ones)

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to