Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Assembler Reference Manual: HP 9000 Computers > Chapter 3 HP-UX Architecture Conventions

Shared Libraries

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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/.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1998 Hewlett-Packard Development Company, L.P.