Assembler Directives and Pseudo-Operations

.EXPORT Directive

Discussion

The .EXPORT directive uses a series of keywords to define a symbol to the linker. These keywords declare the symbol's type, and its argument relocation information if the symbol is the name of a procedure.

Example

This example makes the symbol proc available to the linker as an entry point. It also specifies that the first argument is expected in a general register.

.EXPORT proc,ENTRY,ARGW0=GR

Chapter 4

87

Page 87
Image 87
HP UX Developer Tools manual Export proc,ENTRY,ARGW0=GR