06.02.2013 Views

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BPABI and SysV shared libraries and executables<br />

10.19 Mandatory symbol versioning in <strong>the</strong> BPABI DLL-like model<br />

10.19.1 See also<br />

The Base Platform Application Binary Interface (BPABI) DLL-like model requires static<br />

binding. This is because a post-linker might translate <strong>the</strong> symbolic information in a BPABI DLL<br />

to an import or export table that is indexed by an ordinal. In which case, it is not possible to<br />

search for a symbol at run-time.<br />

Static binding is enforced in <strong>the</strong> BPABI with <strong>the</strong> use of symbol versioning. The command-line<br />

option --symver_soname is on by default for BPABI files, this means that all exported symbols<br />

are given a version based on <strong>the</strong> name of <strong>the</strong> DLL.<br />

Concepts<br />

• About symbol versioning on page 10-27.<br />

Reference<br />

<strong>Linker</strong> Reference:<br />

• --soname=name on page 2-151<br />

• --symver_script=file on page 2-167<br />

• --symver_soname on page 2-168.<br />

<strong>ARM</strong> DUI 0474C Copyright © 2010-2011 <strong>ARM</strong>. All rights reserved. 10-23<br />

ID080411 Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!