📄 global.html
字号:
<html lang="en">
<head>
<title>Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<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="Global">Global</a>,
Next:<a rel="next" accesskey="n" href="Hidden.html#Hidden">Hidden</a>,
Previous:<a rel="previous" accesskey="p" href="Func.html#Func">Func</a>,
Up:<a rel="up" accesskey="u" href="Pseudo-Ops.html#Pseudo%20Ops">Pseudo Ops</a>
<hr><br>
</div>
<h3 class="section"><code>.global </code><var>symbol</var><code></code>, <code>.globl </code><var>symbol</var><code></code></h3>
<p><code>.global</code> makes the symbol visible to <code>ld</code>. If you define
<var>symbol</var> in your partial program, its value is made available to
other partial programs that are linked with it. Otherwise,
<var>symbol</var> takes its attributes from a symbol of the same name
from another file linked into the same program.
<p>Both spellings (<code>.globl</code> and <code>.global</code>) are accepted, for
compatibility with other assemblers.
<p>On the HPPA, <code>.global</code> is not always enough to make it accessible to other
partial programs. You may need the HPPA-only <code>.EXPORT</code> directive as well.
See <a href="HPPA-Directives.html#HPPA%20Directives">HPPA Assembler Directives</a>.
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -