This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Are _etext, _edata, _end broken?
- From: "vamsi krishna" <vamsi dot krishnak at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 1 Jun 2006 03:16:36 +0530
- Subject: Are _etext, _edata, _end broken?
Hello All,
o Why is _etext is not equal to the virtual address of the .data
section (in the elf binary) ?
o And also _edata is not the virtual addess of the .bss section in the
elf binary?
o To locate the span of virtual address of DATA segment and BSS
segment is a better Idea to read the virtual addess form the .data
and .bss sections of elf binary or depend on _etext , _edata (they
seem to be broken ?)
Thank you,
Vamsi.