9.3. Sections

9.3.1. Special Sections

The following sections are defined in the System V Application Binary Interface PowerPC Processor Supplement Chapter 4, Section "Section", Subsection "Special Sections".

Table 9-1. ELF Special Sections

NameTypeAttributes
.gotSHT_PROGBITSSHF_ALLOC+SHF_WRITE+SHF_EXECINSTR
.pltSHT_NOBITSSHF_ALLOC+SHF_WRITE+SHF_EXECINSTR
.sdataSHT_PROGBITSSHF_ALLOC+SHF_WRITE

.got 

This section holds the global offset table. See `Coding Examples' in Chapter 3, `Special Sections' in Chapter 4, and `Global Offset Table' in Chapter 5 of the processor supplement for more information.

.plt 

This section holds the Procedure Linkage Table

.sdata 

This section holds initialized small data that contribute to the program memory image

Note that the .tags, .taglist and .tagsym sections described in Chapter 4, Section "Sections" System V Application Binary Interface PowerPC Processor Supplement are not supported.

9.3.2. Linux Special Sections

The following Linux PPC32 specific sections are defined here.

Table 9-2. Additional Special Sections

NameTypeAttributes
.got2SHT_PROGBITSSHF_ALLOC+SHF_WRITE
.rela.bssSHT_RELASHF_ALLOC
.rela.dynSHT_RELASHF_ALLOC
.rela.gotSHT_RELASHF_ALLOC
.rela.got2SHT_RELASHF_ALLOC
.rela.pltSHT_RELASHF_ALLOC
.rela.sbssSHT_RELASHF_ALLOC
.sbssSHT_NOBITSSHF_ALLOC+SHF_WRITE
.sdata2SHT_PROGBITSSHF_ALLOC

.got2 

This section holds the second level GOT

.rela.bss 

This section holds RELA type relocation information for the BSS section of a shared library or dynamically linked application

.rela.dyn 

This section holds RELA type relocation information for all sections of a shared library except the PLT

.rela.got 

This section holds RELA type relocation information for the GOT section of a shared library or dynamically linked application

.rela.got2 

This section holds RELA type relocation information for the second level GOT section of a shared library or dynamically linked application

.rela.plt 

This section holds RELA type relocation information for the PLT section of a shared library or dynamically linked application

.rela.sbss 

This section holds RELA type relocation information for the SBSS section of a shared library or dynamically linked application

.sbss 

This section holds uninitialized data that contribute to the program's memory image. The system initializes the data with zeroes when the program begins to run.

.sdata2 

This section holds the second level of initialised small data