⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 output-section-description.html

📁 gcc手册
💻 HTML
字号:
<html lang="en">

<head>

<title>Untitled</title>

<meta http-equiv="Content-Type" content="text/html">

<meta name="description" content="Untitled">

<meta name="generator" content="makeinfo 4.3">

<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">

</head>

<body>

<div class="node">

<p>

Node:<a name="Output%20Section%20Description">Output Section Description</a>,

Next:<a rel="next" accesskey="n" href="Output-Section-Name.html#Output%20Section%20Name">Output Section Name</a>,

Up:<a rel="up" accesskey="u" href="SECTIONS.html#SECTIONS">SECTIONS</a>

<hr><br>

</div>



<h4 class="subsection">Output section description</h4>



   <p>The full description of an output section looks like this:

<pre class="smallexample">     <var>section</var> [<var>address</var>] [(<var>type</var>)] : [AT(<var>lma</var>)]

       {

         <var>output-section-command</var>

         <var>output-section-command</var>

         ...

       } [&gt;<var>region</var>] [AT&gt;<var>lma_region</var>] [:<var>phdr</var> :<var>phdr</var> ...] [=<var>fillexp</var>]

     </pre>



   <p>Most output sections do not use most of the optional section attributes.



   <p>The whitespace around <var>section</var> is required, so that the section

name is unambiguous.  The colon and the curly braces are also required. 

The line breaks and other white space are optional.



   <p>Each <var>output-section-command</var> may be one of the following:



     <ul>

<li>a symbol assignment (see <a href="Assignments.html#Assignments">Assignments</a>)

<li>an input section description (see <a href="Input-Section.html#Input%20Section">Input Section</a>)

<li>data values to include directly (see <a href="Output-Section-Data.html#Output%20Section%20Data">Output Section Data</a>)

<li>a special output section keyword (see <a href="Output-Section-Keywords.html#Output%20Section%20Keywords">Output Section Keywords</a>)

</ul>



   </body></html>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -