Re: How to get size of ELF file

Mu Chunyang <[email protected]> Sat, 28 Feb 2009 17:04:58 -0800 (PST)
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
--BZVGq2TneZJzyO4mrJnJAtdatnUNM4hrAwMeYYa
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I give you a URL about ELF file format sepc.:
=A0http://www.skyfree.org/linux/references/ELF_Format.pdf
I think you can find what you want.




________________________________
From: Mu Chunyang <[email protected]>
To: [email protected]
Cc: prashgn <[email protected]>
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!

=A0

____________ _________ _________ __
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=20
file size) or not and if not then how to validate it=20

[Non-text portions of this message have been removed]





=20=20=20=20=20=20

[Non-text portions of this message have been removed]


--BZVGq2TneZJzyO4mrJnJAtdatnUNM4hrAwMeYYa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/htm=
l4/strict.dtd">
<html>
<head>
</head>




<body style=3D"background-color: #ffffff;">

<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id=3D"ygrp-mlmsg" style=3D"width:655px; position:relative;">
<div id=3D"ygrp-msg" style=3D"width: 470px; margin:0; padding:0 25px 0 0; f=
loat:left; z-index:1;">
<!--~-|**|PrettyHtmlEndT|**|-~-->

    <div id=3D"ygrp-text">
            <p>I give you a URL about ELF file format sepc.:<br>
=A0<a href=3D"http://www.skyfree.org/linux/references/ELF_Format.pdf">http:=
//www.skyfree.<wbr>org/linux/<wbr>references/<wbr>ELF_Format.<wbr>pdf</a><b=
r>
I think you can find what you want.<br>
<br>
____________<wbr>_________<wbr>_________<wbr>__<br>
From: Mu Chunyang &lt;<a href=3D"mailto:cc_mcy%40yahoo.com">cc_mcy@yahoo.<w=
br>com</a>&gt;<br>
To: <a href=3D"mailto:MPC500%40yahoogroups.com">MPC500@yahoogroups.<wbr>com=
</a><br>
Cc: prashgn &lt;<a href=3D"mailto:prashgn%40yahoo.com">prashgn@yahoo.<wbr>c=
om</a>&gt;<br>
Sent: Saturday, February 28, 2009 8:20:12 AM<br>
Subject: Re: [MPC500] How to get size of ELF file<br>
<br>
hi, you could find file size infomation in your .map file, which is created=
 by your compiler!<br>
<br>
=A0<br>
<br>
____________ _________ _________ __<br>
From: prashgn &lt;prashgn@yahoo. com&gt;<br>
To: MPC500@yahoogroups. com<br>
Sent: Thursday, February 26, 2009 5:06:48 PM<br>
Subject: [MPC500] How to get size of ELF file<br>
<br>
hi<br>
can any body tell me whether ELF file format hold the file size(entire <br>
file size) or not and if not then how to validate it <br>
<br>
[Non-text portions of this message have been removed]<br>
<br>
[Non-text portions of this message have been removed]<br>
<br>
</p>
=20

    </div>=20=20

    <!--~-|**|PrettyHtmlStart|**|-~-->
    <div width=3D"1" style=3D"color: white; clear: both;">__._,_.___</div>

=20=20=20=20=20=20=20=20=20=20=20=20=20
    <!-- Start the section with Message In topic -->
    <div id=3D"ygrp-actbar" style=3D"clear: both; margini-bottom: 25px; whi=
te-space:nowrap; color: #666; text-align: right;">
              <span class=3D"left" style=3D"float: left; white-space:nowrap=
;">
          <a href=3D"http://groups.yahoo.com/group/MPC500/message/3991;_ylc=
=3DX3oDMTM0ZHR0c2kxBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0=
MjA1BG1zZ0lkAzM5OTQEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjM1ODY5NTA4BHRwY0lkAzM=
5OTE-">
            Messages in this topic          </a> (<span class=3D"bld" style=
=3D"font-weight:bold;">3</span>)
        </span>
        <a href=3D"http://groups.yahoo.com/group/MPC500/post;_ylc=3DX3oDMTJ=
wNmUyZW9hBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0=
lkAzM5OTQEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjM1ODY5NTA4?act=3Dreply&messageN=
um=3D3994">
          <span class=3D"bld" style=3D"font-weight:bold;">
            Reply          </span> (via web post)
        </a>  |=20
        <a href=3D"http://groups.yahoo.com/group/MPC500/post;_ylc=3DX3oDMTJ=
ldGIyMHVhBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYw=
NmdHIEc2xrA250cGMEc3RpbWUDMTIzNTg2OTUwOA--" class=3D"bld" style=3D"font-wei=
ght:bold;">
          Start a new topic        </a>
          </div>=20
    <!-------     Start Nav Bar  ------>
    <!-- |**|begin egp html banner|**| -->
    <div id=3D"ygrp-vitnav" style=3D"padding-top: 10px; font-family: Verdan=
a; font-size: 77%; margin: 0;">
                <a href=3D"http://groups.yahoo.com/group/MPC500/messages;_y=
lc=3DX3oDMTJla3RzamdjBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NT=
U0MjA1BHNlYwNmdHIEc2xrA21zZ3MEc3RpbWUDMTIzNTg2OTUwOA--">Messages</a>=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
            |    <a href=3D"http://groups.yahoo.com/group/MPC500/links;_ylc=
=3DX3oDMTJmNG90N251BF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0=
MjA1BHNlYwNmdHIEc2xrA2xpbmtzBHN0aW1lAzEyMzU4Njk1MDg-">Links</a>=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
    </div>=20=20
    <!-- |**|end egp html banner|**| -->

                        <div id=3D"ygrp-grft" style=3D"font-family: Verdana=
; font-size: 77%; padding: 15px 0;">
=20=20=20=20=20=20=20=20=20=20

        </div>
=20=20=20=20=20=20
                  <div id=3D"ygrp-mkp">
      <div id=3D"hd">MARKETPLACE</div>
      <div id=3D"ads">
                  <div class=3D"ad" style=3D"color:#628C2A; font-family:Ari=
al; font-weight:bold;">
            <hr noshade=3D"noshade" size=3D"1"><a href=3D"http://us.ard.yah=
oo.com/SIG=3D14kshcgr8/M=3D493064.12016295.13271503.10835568/D=3Dgroups/S=
=3D1706554205:MKP1/Y=3DYAHOO/EXP=3D1235876709/L=3D/B=3D_N6uB0PDhF4-/J=3D123=
5869509006042/K=3DG37rzwUFNZjWJfHBmXGdVg/A=3D5530388/R=3D0/SIG=3D11nuutlas/=
*http://explore.yahoo.com/groups/kraftmealsmadesimple/">From kitchen basics=
 to easy recipes - join the Group from Kraft Foods
</a>          </div>
                              </div>
    </div>
=20=20=20=20=20=20
    <!-- yahoo logo -->
    <!-- |**|begin egp html banner|**| -->
    <div id=3D"ygrp-ft" style=3D"font-family: verdana; font-size: 77%; bord=
er-top: 1px solid #666; padding: 5px 0;">
      <a href=3D"http://groups.yahoo.com/;_ylc=3DX3oDMTJkZWFqY2lwBF9TAzk3Mz=
U5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2dmcARzd=
GltZQMxMjM1ODY5NTA4">
      <img src=3D"http://us.i1.yimg.com/us.yimg.com/i/yg/img/logo/ma_grp_16=
0.gif" height=3D"15" width=3D"106" border=3D"0" alt=3D"Yahoo! Groups"></a> =
<br>
      <a href=3D"http://groups.yahoo.com/group/MPC500/join;_ylc=3DX3oDMTJma=
3RjMzM0BF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNm=
dHIEc2xrA3N0bmdzBHN0aW1lAzEyMzU4Njk1MDg-">Change settings via the Web</a> (=
Yahoo! ID required) <br>
      Change settings via email: <a href=3D"mailto:MPC500-digest@yahoogroup=
s.com?subject=3DEmail Delivery: Digest">Switch delivery to Daily Digest</a>=
 | <a href =3D "mailto:[email protected]?subject=3DChange =
Delivery Format: Traditional">Switch format to Traditional</a> <br>

      <a href=3D"http://groups.yahoo.com/group/MPC500;_ylc=3DX3oDMTJkMG5qOT=
QwBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc=
2xrA2hwZgRzdGltZQMxMjM1ODY5NTA4">
        Visit Your Group=20
      </a> |
      <a href=3D"http://docs.yahoo.com/info/terms/">
        Yahoo! Groups Terms of Use      </a> |
      <a href=3D"mailto:[email protected]?subject=3D">
        Unsubscribe      </a>=20
    </div>     <!-- |**|end egp html banner|**| -->
  </div> <!-- ygrp-msg -->

=20=20
  <!-- Sponsor -->
  <!-- |**|begin egp html banner|**| -->
  <div id=3D"ygrp-sponsor" style=3D"width:160px; float:right; clear:none; m=
argin:0 0 25px 0; background: white;">
    <!-- Network content -->
=20=20=20=20
<!-- Start Recommendations -->
<div id=3D"ygrp-reco">
     </div>
<!-- End Recommendations -->

	    <!-- Start vitality -->
	    <div id=3D"ygrp-vital" style=3D"background-color: #e0ecee; margin-bott=
om: 20px; padding: 2px 0 8px 8px;">
	      		<div id=3D"vithd" style=3D"font-size: 77%; font-family: Verdana; f=
ont-weight: bold; color: #333; text-transform: uppercase;">Recent Activity<=
/div>
		<ul style=3D"list-style-type:none; padding: 0; margin: 2px 0;">
		        <li style=3D"clear: both; list-style-type: none; border: 1px soli=
d #e0ecee;">
      <div class=3D"ct" style=3D"float: right; font-weight: bold; color: #f=
f7900; float: right; width: 2em; text-align:right; padding-right: .5em;"><s=
pan style=3D"display:none">&nbsp;</span>1</div>
      <div class=3D"cat" style=3D"font-weight: bold;"><a href=3D"http://gro=
ups.yahoo.com/group/MPC500/members;_ylc=3DX3oDMTJmdjViMnA1BF9TAzk3MzU5NzE0B=
GdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1l=
AzEyMzU4Njk1MDg-">New Members</a></div>
    </li>
=20=20
=09=09=20=20=20=20
=09=09=20=20=20=20
=09=09=20=20=20=20
=09=09=20=20=20=20
=09=09=20=20=20=20
		</ul>
	      	      <a href=3D"http://groups.yahoo.com/group/MPC500;_ylc=3DX3oDMT=
JlMmJqYTI0BF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlY=
wN2dGwEc2xrA3ZnaHAEc3RpbWUDMTIzNTg2OTUwOA--">
		Visit Your Group	      </a>
	    </div>=20
=09=20=20=20=20=09=20=20=20=20=09=20=20=20=20=20=20
	    <!-- Network content -->
	    	      <div style=3D"background-color:#EEEEEE; margin-bottom:20px; pad=
ding:10px 8px;">    <div id=3D"nc">
              <div class=3D"ad" style=3D"color:#628C2A; font-family:Arial; =
font-weight:bold;">
                      <div id=3D"hd1">Yahoo! News</div>=20
<p><a href=3D"http://us.ard.yahoo.com/SIG=3D14hk7vadv/M=3D493064.12016309.1=
2445701.8674578/D=3Dgroups/S=3D1706554205:NC/Y=3DYAHOO/EXP=3D1235876709/L=
=3D/B=3D_d6uB0PDhF4-/J=3D1235869509006042/K=3DG37rzwUFNZjWJfHBmXGdVg/A=3D38=
48614/R=3D0/SIG=3D12t4qk00m/*http://news.yahoo.com/i/757;_ylt=3DA9FJqYzfwK5=
EFCQAswis0NUE;_ylu=3DX3oDMTA3NW1oMDRpBHNlYwM3NTc-">Odd News</a></p>=20
<p>You won't believe</p>=20
<p>it, but it's true</p>                  </div>
                    <div class=3D"ad" style=3D"color:#628C2A; font-family:A=
rial; font-weight:bold;">
                      <div id=3D"hd1">Yahoo! Finance</div>=20
<p><a href=3D"http://us.ard.yahoo.com/SIG=3D14hqch7td/M=3D493064.12016257.1=
2445664.8674578/D=3Dgroups/S=3D1706554205:NC/Y=3DYAHOO/EXP=3D1235876709/L=
=3D/B=3D_t6uB0PDhF4-/J=3D1235869509006042/K=3DG37rzwUFNZjWJfHBmXGdVg/A=3D45=
07179/R=3D0/SIG=3D12de4rskk/*http://us.rd.yahoo.com/evt=3D50284/*http://fin=
ance.yahoo.com/personal-finance">It's Now Personal</a></p>=20
<p>Guides, news,</p>=20
<p>advice & more.</p>                   </div>
                    <div class=3D"ad" style=3D"color:#628C2A; font-family:A=
rial; font-weight:bold;">
                      <div id=3D"hd1">Drive Traffic</div>
<p><a href=3D"http://us.ard.yahoo.com/SIG=3D14hmtejfp/M=3D493064.12016255.1=
2445662.8674578/D=3Dgroups/S=3D1706554205:NC/Y=3DYAHOO/EXP=3D1235876709/L=
=3D/B=3D_96uB0PDhF4-/J=3D1235869509006042/K=3DG37rzwUFNZjWJfHBmXGdVg/A=3D40=
25338/R=3D0/SIG=3D12jnci1fd/*http://us.rd.yahoo.com/evt=3D44092/*http://sea=
rchmarketing.yahoo.com/srch/index.php">Sponsored Search</a></p>
<p>can help increase</p>
<p>your site traffic.</p>                  </div>
          </div>
</div>
=09=20=20=20=20
	  </div> 	  <!-- |**|end egp html banner|**| -->
	  <div style=3D"clear:both; color: #FFF; font-size:1px;">.</div>
	</div> 		  <img src=3D"http://geo.yahoo.com/serv?s=3D97359714/grpId=3D6276=
387/grpspId=3D1706554205/msgId=3D3994/stime=3D1235869508/nc1=3D3848614/nc2=
=3D4507179/nc3=3D4025338" width=3D"1" height=3D"1"> <br>
=09
	<div style=3D"color: white; clear: both;">__,_._,___</div>
	<!--~-|**|PrettyHtmlEnd|**|-~-->
	</body>
	<!--~-|**|PrettyHtmlStart|**|-~-->
	<head>
<style type=3D"text/css">
<!--
#ygrp-mkp{
  border: 1px solid #d8d8d8;
  font-family: Arial;
  margin: 14px 0px;
  padding: 0px 14px;
}
#ygrp-mkp hr{
  border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd{
  color: #628c2a;
  font-size: 85%;
  font-weight: bold;
  line-height: 122%;
  margin: 10px 0px;
}
#ygrp-mkp #ads{
  margin-bottom: 10px;
}
#ygrp-mkp .ad{
  padding: 0 0;
}
#ygrp-mkp .ad a{
  color: #0000ff;
  text-decoration: none;
}
-->
</style>
</head>
	<head>
<style type=3D"text/css">
<!--
#ygrp-sponsor #ygrp-lc{
  font-family: Arial;
}
#ygrp-sponsor #ygrp-lc #hd{
  margin: 10px 0px;
  font-weight: bold;
  font-size: 78%;
  line-height: 122%;
}
#ygrp-sponsor #ygrp-lc .ad{
  margin-bottom: 10px;
  padding: 0 0;
}
-->
</style>
</head>
	<head>
	<style type=3D"text/css">
	<!--
	#ygrp-mlmsg {font-size:13px; font-family: arial,helvetica,clean,sans-serif=
;*font-size:small;*font:x-small;}
	#ygrp-mlmsg table {font-size:inherit;font:100%;}
	#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-s=
erif;}
	#ygrp-mlmsg pre, code {font:115% monospace;*font-size:100%;}
	#ygrp-mlmsg * {line-height:1.22em;}
	#ygrp-text{
	    font-family: Georgia;=09
	}
	#ygrp-text p{
	    margin: 0 0 1em 0;
	}

	dd.last p a {
          font-family: Verdana;
          font-weight: bold;
	}

	#ygrp-vitnav{
		padding-top: 10px;
		font-family: Verdana;
		font-size: 77%;
		margin: 0;
	}
	#ygrp-vitnav a{
		padding: 0 1px;
	}
	#ygrp-mlmsg #logo{
	  padding-bottom: 10px;
	}

	#ygrp-reco {
	margin-bottom: 20px;
	padding: 0px;
	}
	#ygrp-reco #reco-head {
		font-weight: bold;
		color: #ff7900;
	}

	#reco-category{
        	font-size: 77%;
	}
	#reco-desc{
        	font-size: 77%;
	}

	#ygrp-vital a{
		text-decoration: none;
	}

	#ygrp-vital a:hover{
	  text-decoration: underline;
	}

	#ygrp-sponsor #ov ul{
		padding: 0 0 0 8px;
		margin: 0;
	}
	#ygrp-sponsor #ov li{
		list-style-type: square;
		padding: 6px 0;
		font-size: 77%;
	}
	#ygrp-sponsor #ov li a{
		text-decoration: none;
		font-size: 130%;
	}
	#ygrp-sponsor #nc{
	  background-color: #eee;
	  margin-bottom: 20px;
	  padding: 0 8px;
	}
	#ygrp-sponsor .ad{
		padding: 8px 0;
	}
	#ygrp-sponsor .ad #hd1{
		font-family: Arial;
		font-weight: bold;
		color: #628c2a;
		font-size: 100%;
		line-height: 122%;
	}
	#ygrp-sponsor .ad a{
		text-decoration: none;
	}
	#ygrp-sponsor .ad a:hover{
		text-decoration: underline;
	}
	#ygrp-sponsor .ad p{
		margin: 0;
	}
	o{font-size: 0; }
	.MsoNormal{
	   margin: 0 0 0 0;
	}
	#ygrp-text tt{
	  font-size: 120%;
	}
	blockquote{margin: 0 0 0 4px;}
	.replbq{margin:4}

dd.last p span {
  margin-right: 10px;
  font-family: Verdana;
  font-weight: bold;
}

dd.last p span.yshortcuts {
  margin-right: 0;
}

div.photo-title a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
    text-decoration: none;
}

div.file-title a,
div.file-title a:active,
div.file-title a:hover,
div.file-title a:visited {
    text-decoration: none;
}

#ygrp-msg p {
    clear: both;
    padding: 15px 0 3px 0;
    overflow: hidden;
}

#ygrp-msg p span {
    color: #1E66AE;
    font-weight: bold;
}

div#ygrp-mlmsg #ygrp-msg p a span.yshortcuts {
    font-family: Verdana;
    font-size: 10px;
    font-weight: normal;
}

#ygrp-msg p a {
    font-family: Verdana;
    font-size: 10px;
}

#ygrp-mlmsg a {
    color: #1E66AE;
}

div.attach-table div div a {
    text-decoration: none;
}

div.attach-table {
    width: 400px;
}

	-->
	</style>
	</head>
	<!--~-|**|PrettyHtmlEnd|**|-~-->
	</html><!--End group email -->


--BZVGq2TneZJzyO4mrJnJAtdatnUNM4hrAwMeYYa--