|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] how to objdump xen to print its function?
Hello all,
I want to see the assemble code of Xen. So I use make world and make
install to generate xen-4.1.2.gz. and unzip it to be the ELF file
xen-4.1.2. Then I use objdump tool to see the assemble code.
I found xen has only one section .text. Then I wonder where is the
section .data?
# objdump -h /boot/xen-4.1.2
/boot/xen-4.1.2: file format elf32-i386
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0013d41c 00100000 00100000 00000080 2**6
CONTENTS, ALLOC, LOAD, CODE
Another question: how do I know which assemble code in the ELF file
corresponds to the source code line "dom0->is_privileged=1" in
xen\arch\x86\setup.c file? In other words, how could I show the
function name in the assemble code file? by adding -g option when
making xen?
--
Best Regards,
Baozeng Ding
OSTG,NFS,ISCAS
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |