MSC100ABIRM Motorola / Freescale Semiconductor, MSC100ABIRM Datasheet - Page 35

no-image

MSC100ABIRM

Manufacturer Part Number
MSC100ABIRM
Description
SC100 Application Binary Interface Reference Manual
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
4.3.2 Sections
Sections are the main components of the ELF file. Section headers define all the information about a
section. A section header is defined in
Example 4-3. Section Header Defined
Sections used in SC100 ELF binaries are shown in Table 4-1.
SC100 Application Binary Interface
.<section_name>
.<section_name>
.<section_name>
.text
.rel.text
.data
.rodata
.bss
.symtab
.shstrtab
.strtab
Name
typedef struct
} Elf32_Shdr;
PROGBITS
NOBITS
OVERLAY
PROGBITS
REL
PROGBITS
PROGBITS
NOBITS
SYMTAB
STRTAB
STRTAB
Elf32_Word sh_name;
Elf32_Word sh_type;
Elf32_Word sh_flags;
Elf32_Addr sh_addr;
Elf32_Off
Elf32_Word sh_size;
Elf32_Word sh_link;
Elf32_Word sh_info;
Elf32_Word sh_addralign;
Elf32_Word sh_entsize;
Type
1
Table 4-1. SC100 ELF Sections
{
ALLOC/EXEC
ALLOC/EXEC
ALLOC
ALLOC/EXEC
ALLOC
ALLOC
ALLOC
ALLOC
ALLOC
NONE
ALLOC
sh_offset;
Section
Flags
Preliminary (April 2000)
4-3. It is identical to the ELF V1.1 definition.
Named program section
Overlay section
component
Overlay section
component
Relocation info
Initialized data section
Read-only, initialized
data
Uninitialized data
section
Symbol table
Section header string
table
General string table
Section data
Purpose
Defined run time overlay
section characteristics.
sh_info contains overlay
count.
Defines load time overlay
section characteristics.
sh_info contains overlay
count.
Assembler physical section
containing executable
instructions.
See
“Relocation.”
Section 4.3.4,
Interface Descriptions
Comments
4-3

Related parts for MSC100ABIRM