[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] how to objdump xen to print its function?
- To: xen-devel@xxxxxxxxxxxxxxxxxxx
- From: Baozeng <sploving1@xxxxxxxxx>
- Date: Wed, 23 Nov 2011 21:02:50 +0800
- Delivery-date: Wed, 23 Nov 2011 15:45:16 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=jhmBs9mpoxWLkMERL9ErfzuJfiacYoKmnc6tx/rCIbU=; b=E+vlKDwvwebNaXGvJaDS5jDNUtoPw53oU5MoExMMdpH3sGZOUXhjoW3pRa1bYnDGxe jXSTXU04U4BTawzL5lw543tGT9rhsw6QEnz9xEkMDSZieNJWfBNK8ymta+T5hFxwVFX3 JrBaO29NPl2rrikVZX9J/gHAXr8re1Kp8Oppc=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
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