Assembler Directives and Pseudo-Operations

.SUBSPA Directive

.SUBSPA Directive

The .SUBSPA directive declares a new subspace or switches back to an old subspace. In 64-bit assembly programs subspaces map directly to the ELF concept of sections, so the .SUBSPA directive switches to or creates a new section. For more information, see “Sections in 64-bit Mode” on page 44.

Syntax

.SUBSPA name

,ACCESS=value ,ALIGN=value ,CODE_ONLY

,COMMON ,DUP_COMM ,FIRST

,FROZEN ,LOCK ,QUAD=value

,SORT=value

,TSPECIFIC

,UNLOADABLE

,ZERO

...

Parameters

name

An identifier that names the current subspace.

ACCESS=value Specifies the 7-bit value for the access rights field in the PDIR (Physical Page Directory for virtual address mapping). Must be 0X2C for code, and 0X1F for data subspaces.

ALIGN=value Specifies a value (which must be a power of 2) on which the Assembler should align the beginning of the subspace. The default value is the largest alignment requested within that subspace, or one if no alignment requests exist.

Chapter 4

111

Page 111
Image 111
HP UX Developer Tools manual Subspa Directive, Name An identifier that names the current subspace