Files
bootloader/doc/host_html/struct_elf32___shdr.html
László Monda e6c1fce5b4 Add KBOOT.
2016-08-10 01:45:15 +02:00

335 lines
17 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: Elf32_Shdr Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Kinetis Bootloader Host
&#160;<span id="projectnumber">2.0.0</span>
</div>
<div id="projectbrief">Host Tools for Kinetis devices</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Introduction</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_elf32___shdr.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_elf32___shdr-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Elf32_Shdr Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>ELF section header.
<a href="struct_elf32___shdr.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="apps_2elftosb_2common_2_e_l_f_8h_source.html">ELF.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6e8fd300ca473a31d0f65817ce371dfd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e8fd300ca473a31d0f65817ce371dfd"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#a6e8fd300ca473a31d0f65817ce371dfd">sh_name</a></td></tr>
<tr class="memdesc:a6e8fd300ca473a31d0f65817ce371dfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The section's name. Index into the section header string table section. <br /></td></tr>
<tr class="separator:a6e8fd300ca473a31d0f65817ce371dfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab6c221dbd7e16987df41280fb915408"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab6c221dbd7e16987df41280fb915408"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#aab6c221dbd7e16987df41280fb915408">sh_type</a></td></tr>
<tr class="memdesc:aab6c221dbd7e16987df41280fb915408"><td class="mdescLeft">&#160;</td><td class="mdescRight">Section type, describing the contents and semantics. <br /></td></tr>
<tr class="separator:aab6c221dbd7e16987df41280fb915408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27e003d8da37de3038a0065577a7743d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27e003d8da37de3038a0065577a7743d"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#a27e003d8da37de3038a0065577a7743d">sh_flags</a></td></tr>
<tr class="memdesc:a27e003d8da37de3038a0065577a7743d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Section flags describing various attributes. <br /></td></tr>
<tr class="separator:a27e003d8da37de3038a0065577a7743d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e668a62cee74a2f9c6edabb5f45635a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e668a62cee74a2f9c6edabb5f45635a"></a>
Elf32_Addr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#a7e668a62cee74a2f9c6edabb5f45635a">sh_addr</a></td></tr>
<tr class="memdesc:a7e668a62cee74a2f9c6edabb5f45635a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The address at which the section will appear in the memory image, or 0. <br /></td></tr>
<tr class="separator:a7e668a62cee74a2f9c6edabb5f45635a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e37227a5777cddc0a9dbbb3c2598ec1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e37227a5777cddc0a9dbbb3c2598ec1"></a>
Elf32_Off&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#a6e37227a5777cddc0a9dbbb3c2598ec1">sh_offset</a></td></tr>
<tr class="memdesc:a6e37227a5777cddc0a9dbbb3c2598ec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset from beginning of the file to the first byte in the section. <br /></td></tr>
<tr class="separator:a6e37227a5777cddc0a9dbbb3c2598ec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84dc67bb0ab65880bbcd74fbee722ff1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a84dc67bb0ab65880bbcd74fbee722ff1"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#a84dc67bb0ab65880bbcd74fbee722ff1">sh_size</a></td></tr>
<tr class="memdesc:a84dc67bb0ab65880bbcd74fbee722ff1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The section's size in bytes. <br /></td></tr>
<tr class="separator:a84dc67bb0ab65880bbcd74fbee722ff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad759308388eb14c5c6e4d636c38999da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad759308388eb14c5c6e4d636c38999da"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#ad759308388eb14c5c6e4d636c38999da">sh_link</a></td></tr>
<tr class="memdesc:ad759308388eb14c5c6e4d636c38999da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Section header table link index. Interpretation depends on section type. <br /></td></tr>
<tr class="separator:ad759308388eb14c5c6e4d636c38999da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef63fe62c2c9927f374c4f987954c6e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef63fe62c2c9927f374c4f987954c6e5"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#aef63fe62c2c9927f374c4f987954c6e5">sh_info</a></td></tr>
<tr class="memdesc:aef63fe62c2c9927f374c4f987954c6e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extra information about the section. Depends on section type. <br /></td></tr>
<tr class="separator:aef63fe62c2c9927f374c4f987954c6e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399f50b3591e6286d4ad819f790979ed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a399f50b3591e6286d4ad819f790979ed"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#a399f50b3591e6286d4ad819f790979ed">sh_addralign</a></td></tr>
<tr class="memdesc:a399f50b3591e6286d4ad819f790979ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Address alignment constraint. Values are 0 and positive powers of 2. <br /></td></tr>
<tr class="separator:a399f50b3591e6286d4ad819f790979ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10c59cecc928aae27930601fe545d3ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10c59cecc928aae27930601fe545d3ca"></a>
Elf32_Word&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_elf32___shdr.html#a10c59cecc928aae27930601fe545d3ca">sh_entsize</a></td></tr>
<tr class="memdesc:a10c59cecc928aae27930601fe545d3ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size in bytes of section entries, or 0 if the section does not have fixed-size entries. <br /></td></tr>
<tr class="separator:a10c59cecc928aae27930601fe545d3ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>ELF section header. </p>
<p>An object file's section header table lets one locate all the file's sections. The section header table is an array of <a class="el" href="struct_elf32___shdr.html" title="ELF section header. ">Elf32_Shdr</a> structures. A section header table index is a subscript into this array. The ELF header's <a class="el" href="struct_elf32___ehdr.html#a00601af5187a1b3f8babfe9cddd95c15" title="Section header table offset in bytes, or 0 if no section header table. ">Elf32_Ehdr::e_shoff</a> member gives the byte offset from the beginning of the file to the section header table; <a class="el" href="struct_elf32___ehdr.html#a11249bd7e61642742a68a3e7f69ac721" title="Number of entries in the section header table. ">Elf32_Ehdr::e_shnum</a> tells how many entries the section header table contains; <a class="el" href="struct_elf32___ehdr.html#ab53c709a841960e499da68e2316ed428" title="Size in bytes of an entry in the section header table. ">Elf32_Ehdr::e_shentsize</a> gives the size in bytes of each entry.</p>
<p>Some section header table indexes are reserved. An object file will not have sections for these special indexes:</p><ul>
<li>#SHN_UNDEF</li>
<li>#SHN_LORESERVE</li>
<li>#SHN_LOPROC</li>
<li>#SHN_HIPROC</li>
<li>#SHN_ABS</li>
<li>#SHN_COMMON</li>
<li>#SHN_HIRESERVE </li>
</ul>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7e668a62cee74a2f9c6edabb5f45635a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Addr Elf32_Shdr::sh_addr</td>
</tr>
</table>
</div><div class="memdoc">
<p>The address at which the section will appear in the memory image, or 0. </p>
</div>
</div>
<a class="anchor" id="a399f50b3591e6286d4ad819f790979ed"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_addralign</td>
</tr>
</table>
</div><div class="memdoc">
<p>Address alignment constraint. Values are 0 and positive powers of 2. </p>
</div>
</div>
<a class="anchor" id="a10c59cecc928aae27930601fe545d3ca"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_entsize</td>
</tr>
</table>
</div><div class="memdoc">
<p>Size in bytes of section entries, or 0 if the section does not have fixed-size entries. </p>
</div>
</div>
<a class="anchor" id="a27e003d8da37de3038a0065577a7743d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_flags</td>
</tr>
</table>
</div><div class="memdoc">
<p>Section flags describing various attributes. </p>
</div>
</div>
<a class="anchor" id="aef63fe62c2c9927f374c4f987954c6e5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_info</td>
</tr>
</table>
</div><div class="memdoc">
<p>Extra information about the section. Depends on section type. </p>
</div>
</div>
<a class="anchor" id="ad759308388eb14c5c6e4d636c38999da"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_link</td>
</tr>
</table>
</div><div class="memdoc">
<p>Section header table link index. Interpretation depends on section type. </p>
</div>
</div>
<a class="anchor" id="a6e8fd300ca473a31d0f65817ce371dfd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_name</td>
</tr>
</table>
</div><div class="memdoc">
<p>The section's name. Index into the section header string table section. </p>
</div>
</div>
<a class="anchor" id="a6e37227a5777cddc0a9dbbb3c2598ec1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Off Elf32_Shdr::sh_offset</td>
</tr>
</table>
</div><div class="memdoc">
<p>Offset from beginning of the file to the first byte in the section. </p>
</div>
</div>
<a class="anchor" id="a84dc67bb0ab65880bbcd74fbee722ff1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_size</td>
</tr>
</table>
</div><div class="memdoc">
<p>The section's size in bytes. </p>
</div>
</div>
<a class="anchor" id="aab6c221dbd7e16987df41280fb915408"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Elf32_Word Elf32_Shdr::sh_type</td>
</tr>
</table>
</div><div class="memdoc">
<p>Section type, describing the contents and semantics. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="apps_2elftosb_2common_2_e_l_f_8h_source.html">apps/elftosb/common/ELF.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="struct_elf32___shdr.html">Elf32_Shdr</a></li>
<li class="footer">Generated on Mon Mar 7 2016 16:49:51 for Kinetis Bootloader Host by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>