implicit-linker-scripts.html

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

HTML
37 行
字号
<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="Implicit%20Linker%20Scripts">Implicit Linker Scripts</a>,

Previous:<a rel="previous" accesskey="p" href="Expressions.html#Expressions">Expressions</a>,

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

<hr><br>

</div>



<h3 class="section">Implicit Linker Scripts</h3>



   <p>If you specify a linker input file which the linker can not recognize as

an object file or an archive file, it will try to read the file as a

linker script.  If the file can not be parsed as a linker script, the

linker will report an error.



   <p>An implicit linker script will not replace the default linker script.



   <p>Typically an implicit linker script would contain only symbol

assignments, or the <code>INPUT</code>, <code>GROUP</code>, or <code>VERSION</code>

commands.



   <p>Any input files read because of an implicit linker script will be read

at the position in the command line where the implicit linker script was

read.  This can affect archive searching.



   </body></html>



⌨️ 快捷键说明

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