It might be helpful to look for static data by dumping symbol tables:

objdump --demangle -t obj/debug/ia32/assembler-ia32.o | grep
'\.bss\|\.data\|\.rodata'
00000000 l    d  .data 00000000 .data
00000000 l    d  .bss 00000000 .bss
00000000 l    d  .rodata 00000000 .rodata
00000ae8 l     O .rodata 00000004 v8::internal::esp
00000afc l     O .rodata 00000004 v8::internal::ebp
00000ae4 l     O .rodata 00000004 v8::internal::eax
00000aec l     O .rodata 00000004 v8::internal::edi
00000af0 l     O .rodata 00000004 v8::internal::edx
00000af4 l     O .rodata 00000004 v8::internal::ecx
00000af8 l     O .rodata 00000004 v8::internal::ebx
00000b00 l     O .rodata 00000004 v8::internal::esi
00000000 g     O .bss 00000008 .hidden v8::internal::CpuFeatures::supported_
00000008 g     O .bss 00000008 .hidden v8::internal::CpuFeatures::enabled_
00000018 g     O .bss 00000004 .hidden
v8::internal::Assembler::spare_buffer_
00000010 g     O .bss 00000008 .hidden
v8::internal::CpuFeatures::found_by_runtime_probing_
00000ae0 g     O .rodata 00000004 .hidden
v8::internal::RelocInfo::kApplyMask

Some (all?) static data ought to appear in the .bss and .data sections of
object files. For good measure, we'll throw in .rodata (for constants). The
compiler will still stuff some constants into non-read-only sections if it
is unable to determine their value at compile-time (this seems to be
happening in the ARM assembler).

  Luke

-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to