script-format.html

来自「gcc手册」· HTML 代码 · 共 40 行

HTML
40
字号
<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="Script%20Format">Script Format</a>,

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

Previous:<a rel="previous" accesskey="p" href="Basic-Script-Concepts.html#Basic%20Script%20Concepts">Basic Script Concepts</a>,

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

<hr><br>

</div>



<h3 class="section">Linker Script Format</h3>



   <p>Linker scripts are text files.



   <p>You write a linker script as a series of commands.  Each command is

either a keyword, possibly followed by arguments, or an assignment to a

symbol.  You may separate commands using semicolons.  Whitespace is

generally ignored.



   <p>Strings such as file or format names can normally be entered directly. 

If the file name contains a character such as a comma which would

otherwise serve to separate file names, you may put the file name in

double quotes.  There is no way to use a double quote character in a

file name.



   <p>You may include comments in linker scripts just as in C, delimited by

<code>/*</code> and <code>*/</code>.  As in C, comments are syntactically equivalent

to whitespace.



   </body></html>



⌨️ 快捷键说明

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