Local linkage directive Format .LOCAL_LINKAGE_PAIR name
1 – Parameter
name The name of a procedure descriptor of the routine to which linkage is required. The specified procedure descriptor must be defined in the current module.
2 – Description
.LOCAL_LINKAGE_PAIR causes a linkage pair to be stored at the current location counter. A linkage pair consists of a code address and the address of the specified identifier. The specified name must reference a procedure descriptor that is defined within the assembly unit.
3 – Notes
o You can only use this directive within data or mixed psects (psects that have either the NOEXE or MIX attributes). o If automatic data alignment is enabled, this directive aligns the current location counter to an octaword (128-bit) boundary before allocating storage.
4 – Example
.PROCEDURE_DESCRIPTOR P1,CA1 . . . .LOCAL_LINKAGE_PAIR P1 ; Code address CA1 followed by ; procedure descriptor address P1.