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

📄 expressions.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="Expressions">Expressions</a>,

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

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

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

<hr><br>

</div>



<h3 class="section">Expressions in Linker Scripts</h3>



   <p>The syntax for expressions in the linker script language is identical to

that of C expressions.  All expressions are evaluated as integers.  All

expressions are evaluated in the same size, which is 32 bits if both the

host and target are 32 bits, and is otherwise 64 bits.



   <p>You can use and set symbol values in expressions.



   <p>The linker defines several special purpose builtin functions for use in

expressions.



<ul class="menu">

<li><a accesskey="1" href="Constants.html#Constants">Constants</a>: 			Constants

<li><a accesskey="2" href="Symbols.html#Symbols">Symbols</a>: 			Symbol Names

<li><a accesskey="3" href="Location-Counter.html#Location%20Counter">Location Counter</a>: 		The Location Counter

<li><a accesskey="4" href="Operators.html#Operators">Operators</a>: 			Operators

<li><a accesskey="5" href="Evaluation.html#Evaluation">Evaluation</a>: 			Evaluation

<li><a accesskey="6" href="Expression-Section.html#Expression%20Section">Expression Section</a>: 		The Section of an Expression

<li><a accesskey="7" href="Builtin-Functions.html#Builtin%20Functions">Builtin Functions</a>: 		Builtin Functions

</ul>



   </body></html>



⌨️ 快捷键说明

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