10.4. Dynamic Linking

10.4.1. Introduction

LSB-conforming implementations shall provide dynamic linking as specified in Section 5.2 of the System V Application Binary Interface AMD64 Architecture Processor Supplement, except as described in the following sections.

Note: Since LSB-conforming implementations are not required to support the large model, support for dynamic linking of large model code is not required.

10.4.2. Dynamic Section

Dynamic section entries give information to the dynamic linker. The following dynamic entry types shall be supported:

DT_JMPREL 

This entry is associated with a table of relocation entries for the procedure linkage table. This entry is mandatory both for executable and shared object files

DT_PLTGOT 

This entry's d_ptr member gives the address of the first byte in the procedure linkage table

DT_RELACOUNT 

The number of relative relocations in .rela.dyn

10.4.3. Global Offset Table

LSB-conforming implementations shall support a Global Offset Table as described in Section 5.2 of the System V Application Binary Interface AMD64 Architecture Processor Supplement.

10.4.4. Function Addresses

Function addresses shall behave as described in Section 5.2 of the System V Application Binary Interface AMD64 Architecture Processor Supplement.

10.4.5. Procedure Linkage Table

LSB-conforming implementations shall support a Procedure Linkage Table as described in Section 5.2 of the System V Application Binary Interface AMD64 Architecture Processor Supplement.

10.4.6. Initialization and Termination Functions

LSB-conforming implementations shall support initialization and termination functions as specified in Section 5.2.2 of the System V Application Binary Interface AMD64 Architecture Processor Supplement.