toolchain/share/doc/as.html/PRU-Options.html

69 lines
3.0 KiB
HTML
Raw Normal View History

2024-01-10 05:24:32 +00:00
<html lang="en">
<head>
<title>PRU Options - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="PRU_002dDependent.html#PRU_002dDependent" title="PRU-Dependent">
<link rel="next" href="PRU-Syntax.html#PRU-Syntax" title="PRU Syntax">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This file documents the GNU Assembler "as".
Copyright (C) 1991-2019 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, with no Front-Cover Texts, and with no
Back-Cover Texts. A copy of the license is included in the
section entitled ``GNU Free Documentation License''.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="PRU-Options"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="PRU-Syntax.html#PRU-Syntax">PRU Syntax</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="PRU_002dDependent.html#PRU_002dDependent">PRU-Dependent</a>
<hr>
</div>
<h4 class="subsection">9.37.1 Options</h4>
<p><a name="index-PRU-options-1959"></a><a name="index-options-for-PRU-1960"></a>
<!-- man begin OPTIONS -->
<a name="index-g_t_0040code_007bmlink_002drelax_007d-command_002dline-option_002c-PRU-1961"></a>
<dl><dt><code>-mlink-relax</code><dd>Assume that LD would optimize LDI32 instructions by checking the upper
16 bits of the <var>expression</var>. If they are all zeros, then LD would
shorten the LDI32 instruction to a single LDI. In such case <code>as</code>
will output DIFF relocations for diff expressions.
<p><a name="index-g_t_0040code_007bmno_002dlink_002drelax_007d-command_002dline-option_002c-PRU-1962"></a><br><dt><code>-mno-link-relax</code><dd>Assume that LD would not optimize LDI32 instructions. As a consequence,
DIFF relocations will not be emitted.
<p><a name="index-g_t_0040code_007bmno_002dwarn_002dregname_002dlabel_007d-command_002dline-option_002c-PRU-1963"></a><br><dt><code>-mno-warn-regname-label</code><dd>Do not warn if a label name matches a register name. Usually assembler
programmers will want this warning to be emitted. C compilers may want
to turn this off.
</dl>
<!-- man end -->
</body></html>