The field selectors T',
LT', and RT'
are used to write position-independent code in assembly language.
When you use these selectors and invoke the Assembler with the as
command, you must use the +z
or +Z compiler
option on the command line.
Any assembly code that is to be used with shared libraries
must follow the standard procedure call mechanism as defined in
the runtime architecture documents under the topic PA-RISC Architecture
at URL: http://www.software.hp.com/STK/. Any external procedures must be exported as
type ENTRY for
the shared library interface to work correctly.
For more information on position-independent code and shared
libraries, refer to the HP-UX Linker and Libraries Online
User Guide and the ELF 64 Object File Format, URL: http://www.software.hp.com/STK/.