I give you a URL about ELF file format sepc.:
http://www.skyfree.org/linux/references/ELF_Format.pdfI think you can find what you want.
________________________________
From: Mu Chunyang <
cc_mcy@...>
To:
MPC500@...
Cc: prashgn <
prashgn@...>
Sent: Saturday, February 28, 2009 8:20:12 AM
Subject: Re: [MPC500] How to get size of ELF file
hi, you could find file size infomation in your .map file, which is created by your compiler!
____________ _________ _________ __
From: prashgn <prashgn@yahoo. com>
To: MPC500@yahoogroups. com
Sent: Thursday, February 26, 2009 5:06:48 PM
Subject: [MPC500] How to get size of ELF file
hi
can any body tell me whether ELF file format hold the file size(entire
file size) or not and if not then how to validate it
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]