| United States-English |
|
|
|
![]() |
HP-UX 64-bit Porting and Transition Guide: HP 9000 Computers > Chapter 3 HP-UX 64-bit Porting
Concepts Architecture Specific Changes |
|
There is a class of porting issues that is not strictly caused by the 64-bit architecture, but is a side-effect of the 64-bit architecture. Assembly language code may need changes due to the 64-bit PA-RISC 2.0 calling conventions. You may also want to take advantage of the new instructions for improved performance. The following summarizes items that may need adjustments:
For More Information:
HP PA-RISC 1.0 and 1.1-based systems use the System Object Module (SOM) object file format. This is a proprietary format. It is the common representation of code and data for all compilers which generate code for PA-RISC 1.x-based systems. HP PA-RISC 2.0-based systems use the SOM object file format in 32-bit mode and the industry-standard Executable and Linking Format (ELF) in 64-bit mode. If your application manipulates the object file format, it should support both the 64-bit ELF format and the 32-bit SOM format. To identify the ELF format within scripts, use the HP-UX file command. To identify the ELF format within programs, use the nlist64 APIs in libelf.sl. The procedure calling conventions for the 64-bit PA-RISC 2.0 architecture are different. You may be impacted if your code depends on stack unwinds, uses assembly language, and passes data in and out of the kernel. See 64-bit Runtime Architecture for PA-RISC 2.0, URL:http://www.software.hp.com/STK/ for details. |
|||||||||||||||||||||||||||||||
|
|||||||||||||||