This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]