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

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

Next:<a rel="next" accesskey="n" href="ARM.html#ARM">ARM</a>,

Previous:<a rel="previous" accesskey="p" href="H8-300.html#H8%2f300">H8/300</a>,

Up:<a rel="up" accesskey="u" href="Machine-Dependent.html#Machine%20Dependent">Machine Dependent</a>

<hr><br>

</div>



<h3 class="section"><code>ld</code> and the Intel 960 family</h3>



   <p>You can use the <code>-A</code><var>architecture</var><code></code> command line option to

specify one of the two-letter names identifying members of the 960

family; the option specifies the desired output target, and warns of any

incompatible instructions in the input files.  It also modifies the

linker's search strategy for archive libraries, to support the use of

libraries specific to each particular architecture, by including in the

search loop names suffixed with the string identifying the architecture.



   <p>For example, if your <code>ld</code> command line included <code>-ACA</code> as

well as <code>-ltry</code>, the linker would look (in its built-in search

paths, and in any paths you specify with <code>-L</code>) for a library with

the names



<pre class="smallexample">     try

     libtry.a

     tryca

     libtryca.a

     </pre>



<p>The first two possibilities would be considered in any event; the last

two are due to the use of <code>-ACA</code>.



   <p>You can meaningfully use <code>-A</code> more than once on a command line, since

the 960 architecture family allows combination of target architectures; each

use will add another pair of name variants to search for when <code>-l</code>

specifies a library.



   <p><code>ld</code> supports the <code>--relax</code> option for the i960 family.  If

you specify <code>--relax</code>, <code>ld</code> finds all <code>balx</code> and

<code>calx</code> instructions whose targets are within 24 bits, and turns

them into 24-bit program-counter relative <code>bal</code> and <code>cal</code>

instructions, respectively.  <code>ld</code> also turns <code>cal</code>

instructions into <code>bal</code> instructions when it determines that the

target subroutine is a leaf routine (that is, the target subroutine does

not itself call any subroutines).



   </body></html>



⌨️ 快捷键说明

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