28.01.2015 Views

Exception Handling ABI for the ARM Architecture

Exception Handling ABI for the ARM Architecture

Exception Handling ABI for the ARM Architecture

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.

<strong>Exception</strong> handling <strong>ABI</strong> <strong>for</strong> <strong>the</strong> <strong>ARM</strong> architecture<br />

Contents<br />

1 ABOUT THIS DOCUMENT 5<br />

1.1 Change control 5<br />

1.1.1 Current status and anticipated changes 5<br />

1.1.2 Change history 5<br />

1.2 References 5<br />

1.3 Terms and abbreviations 6<br />

1.4 Your licence to use this specification 6<br />

1.5 Acknowledgements 7<br />

2 INTRODUCTION AND SCOPE 8<br />

3 DESIGN PRINCIPLES 9<br />

3.1 The execution-environment model 9<br />

3.1.1 The linker must match <strong>the</strong> run-time support code 10<br />

3.2 The ELF model 10<br />

3.2.1 Relocatable ELF 10<br />

3.2.2 Executable ELF 10<br />

3.2.3 Principles of usage 10<br />

4 THE TOP-LEVEL EXCEPTION HANDLING ARCHITECTURE 11<br />

4.1 Overview <strong>for</strong> executables, shared objects, and DLLs 11<br />

4.2 The binary searched index table 11<br />

4.3 The exception-handling table 11<br />

4.4 The object producer interface 12<br />

4.4.1 Sections 12<br />

4.4.2 Relocations 12<br />

4.5 Tool chain quality of implementation issues 13<br />

4.6 Functional encapsulation 13<br />

4.7 Restriction on implementation 13<br />

5 INDEX TABLE ENTRIES 15<br />

6 EXCEPTION-HANDLING TABLE ENTRIES 16<br />

6.1 Overview 16<br />

<strong>ARM</strong> IHI 0038A Copyright © 2002-2005, 2007 <strong>ARM</strong> Limited. All rights reserved. Page 2 of 50

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

Saved successfully!

Ooh no, something went wrong!