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

📄 output-section-region.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%20Region">Output Section Region</a>,

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

Previous:<a rel="previous" accesskey="p" href="Output-Section-LMA.html#Output%20Section%20LMA">Output Section LMA</a>,

Up:<a rel="up" accesskey="u" href="Output-Section-Attributes.html#Output%20Section%20Attributes">Output Section Attributes</a>

<hr><br>

</div>



<h5 class="subsubsection">Output section region</h5>



   <p>You can assign a section to a previously defined region of memory by

using <code>&gt;</code><var>region</var><code></code>.  See <a href="MEMORY.html#MEMORY">MEMORY</a>.



   <p>Here is a simple example:

<pre class="smallexample">     MEMORY { rom : ORIGIN = 0x1000, LENGTH = 0x1000 }

     SECTIONS { ROM : { *(.text) } &gt;rom }

     </pre>



   </body></html>



⌨️ 快捷键说明

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