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

📄 hppa-elf32.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="HPPA%20ELF32">HPPA ELF32</a>,

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

Previous:<a rel="previous" accesskey="p" href="ARM.html#ARM">ARM</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 HPPA 32-bit ELF support</h3>



   <p>When generating a shared library, <code>ld</code> will by default generate

import stubs suitable for use with a single sub-space application. 

The <code>--multi-subspace</code> switch causes <code>ld</code> to generate export

stubs, and different (larger) import stubs suitable for use with

multiple sub-spaces.



   <p>Long branch stubs and import/export stubs are placed by <code>ld</code> in

stub sections located between groups of input sections. 

<code>--stub-group-size</code> specifies the maximum size of a group of input

sections handled by one stub section.  Since branch offsets are signed,

a stub section may serve two groups of input sections, one group before

the stub section, and one group after it.  However, when using

conditional branches that require stubs, it may be better (for branch

prediction) that stub sections only serve one group of input sections. 

A negative value for <code>N</code> chooses this scheme, ensuring that

branches to stubs always use a negative offset.  Two special values of

<code>N</code> are recognized, <code>1</code> and <code>-1</code>.  These both instruct

<code>ld</code> to automatically size input section groups for the branch types

detected, with the same behaviour regarding stub placement as other

positive or negative values of <code>N</code> respectively.



   <p>Note that <code>--stub-group-size</code> does not split input sections.  A

single input section larger than the group size specified will of course

create a larger group (of one section).  If input sections are too

large, it may not be possible for a branch to reach its stub.



   </body></html>



⌨️ 快捷键说明

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