HP-UX 11i Version 1.5 Release Notes, May 2001

Table Of Contents
Programming
Linker Toolset
Chapter 7124
Linker Toolset
The IPF linker toolset provides a set of tools for linking and managing
ELF object files. This toolset includes the ar, chatr, elfdump, ld, ldd,
lorder, nm, size, and strip utilities.
Linking and Loading Behavior
In HP-UX 11i Version 1.5 (B.11.20) the linker and dynamic loader use a
linking and loading model that is consistent with the de facto industry
standard. The IPF linker maintains certain 32-bit PA behaviors to make
the transition from 32-bit PA to IPF easier. You can enable this
compatibility feature by using the +compat linker option. The +compat
option forces the linker and loader to mimic some of the 32-bit PA
behaviors.
Linking and Loading Compatibility
There is no incompatibility for applications migrating from 64-bit PA to
64-bit IPF. Incompatibility for applications migrating from 32-bit PA to
32-bit on IPF can be grouped as follows:
obsoleted options and features
Beginning with HP-UX 11.00, the linker has issued compatibility
warnings when these options or features were used. Obsoleted linker
options:
-A
name
This option produces an object file suitable for
incremental loading into an already executing
archive program. IPF applications must use shared
libraries instead.
-C
n
This option enables function parameter type
checking. Parameter type checking and relocation
stubs are not supported in the IPF run time
architecture.
-S This option is specific to 32-bit PA SOM object file
format. It enables generation of SOM Initial
Program header (IPL) instead of HP-UX auxiliary
header.