Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
ELF for the ARM® Architecture

ELF for the ARM® Architecture

Ratings: (0)|Views: 31|Likes:
Published by api-19417993

More info:

Published by: api-19417993 on Dec 03, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

ELF for the ARM Architecture
GENC-003538 v0.3
DRAFT
Page 1 of 17
ELF for the ARM\u00ae Architecture
Development systems Division
Compiler Tools Group
Document number:
GENC-003538
Date of Issue:
1st December 2003
Author:
Richard Earnshaw
Authorized by:
\u00a9 Copyright ARM Limited 2003. All rights reserved.
Abstract
This document describes the processor-specific definitions for ELF for the Application Binary Interface (ABI) for
the ARM architecture.
Keywords
Object files, file formats, linking, EABI, ELF
Licence

1. Subject to the provisions of clause 2, ARM hereby grants to LICENSEE a perpetual, non-exclusive,
nontransferable, royalty free, worldwide licence to use and copy this ABI Specification solely for the purpose
of developing, having developed, manufacturing, having manufactured, offering to sell, selling, supplying or
otherwise distributing products which comply with this ABI Specification. All other rights are reserved to ARM
or its licensors.

2. THIS ABI SPECIFICATION IS PROVIDED \u201cAS IS\u201d WITH NO WARRANTIES EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF SATISFACTORY QUALITY, MERCHANTABILITY, NONINFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE.

Proprietary notice
ARM and Thumb are registered trademarks of ARM Limited. The ARM logo is a trademark of ARM Limited. All
other products or services mentioned herein may be trademarks of their respective owners.
ELF for the ARM Architecture
GENC-003538 v0.3
DRAFT
Page 2 of 17
Contents
1
ABOUT THIS DOCUMENT
4
1.1
Change control
4
1.1.1
Current status and anticipated changes
4
1.1.2
Change history
4
1.2
References
4
1.3
Terms and abbreviations
5
1.4
About the licence to use this specification
5
1.5
Acknowledgements
5
2
SCOPE
6
3
INTRODUCTION
7
3.1
Platform Standards
7
4
OBJECT FILES
8
4.1
Introduction
8
4.2
ELF Header
8
4.2.1
ELF Identification
9
4.3
Sections
9
4.3.1
Special Section Indexes
9
4.3.2
Section Types
9
4.3.3
Section Attribute Flags
9
4.3.4
Special Sections
9
4.3.5
Section Alignment
10
4.4
String Table
10
4.5
Symbol Table
10
4.5.1
Weak Symbols
10
4.5.1.1
Weak References
10
4.5.1.2
Weak Definitions
11
4.5.2
Symbol Types
11
4.5.3
Symbol Values
11
4.5.4
Symbol names
11
4.5.5
Sub-class and super-class symbols [optional]
12
4.5.6
Mapping symbols
12
4.5.6.1
Section-relative mapping symbols
12
4.5.6.2
Absolute mapping symbols
13
4.6
Relocation
13
ELF for the ARM Architecture
GENC-003538 v0.3
DRAFT
Page 3 of 17
4.6.1
Relocation codes
13
4.6.1.1
Mandatory relocation types
13
4.6.1.2
Platform specific relocation types
16
4.6.1.3
Private relocation types
16
4.6.1.4
Unallocated relocation types
16
4.6.2
Idempotency
16
5
PROGRAM LOADING AND DYNAMIC LINKING
17
5.1
Introduction
17
5.2
Program Header
17
5.3
Program Loading
17
5.4
Dynamic Linking
17

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->