📄 cris-opts.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="CRIS-Opts">CRIS-Opts</a>,
Next:<a rel="next" accesskey="n" href="CRIS-Expand.html#CRIS-Expand">CRIS-Expand</a>,
Up:<a rel="up" accesskey="u" href="CRIS-Dependent.html#CRIS-Dependent">CRIS-Dependent</a>
<hr><br>
</div>
<h4 class="section">Command-line Options</h4>
<p>The CRIS version of <code>as</code> has these
machine-dependent command-line options.
<p>The format of the generated object files can be either ELF or
a.out, specified by the command-line options
<code>--emulation=crisaout</code> and <code>--emulation=criself</code>.
The default is ELF (criself), unless <code>as</code> has been
configured specifically for a.out by using the configuration
name <code>cris-axis-aout</code>.
<p>There are two different link-incompatible ELF object file
variants for CRIS, for use in environments where symbols are
expected to be prefixed by a leading <code>_</code> character and for
environments without such a symbol prefix. The variant used for
GNU/Linux port has no symbol prefix. Which variant to produce
is specified by either of the options <code>--underscore</code> and
<code>--no-underscore</code>. The default is <code>--underscore</code>.
Since symbols in CRIS a.out objects are expected to have a
<code>_</code> prefix, specifying <code>--no-underscore</code> when
generating a.out objects is an error. Besides the object format
difference, the effect of this option is to parse register names
differently (see <a href="crisnous.html#crisnous">crisnous</a>). The <code>--no-underscore</code>
option makes a <code>$</code> register prefix mandatory.
<p>The option <code>--pic</code> must be passed to <code>as</code> in
order to recognize the symbol syntax used for ELF (SVR4 PIC)
position-independent-code (see <a href="crispic.html#crispic">crispic</a>). This will also
affect expansion of instructions. The expansion with
<code>--pic</code> will use PC-relative rather than (slightly
faster) absolute addresses in those expansions.
<p>When <code>-N</code> is specified, <code>as</code> will emit a
warning when a 16-bit branch instruction is expanded into a
32-bit multiple-instruction construct (see <a href="CRIS-Expand.html#CRIS-Expand">CRIS-Expand</a>).
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -