HP-UX 11i Release Notes (December 2000)

Programming
Libraries
Chapter 13258
application compile. With this define, the application will now have the
import stubs inlined in the application code further reducing the shared
libary call overhead.
CAUTION An application that has been built with the _HP_SHLIB_CALLS define
can *ONLY* be used with a fastcalled libc. If the application also has
APIs that are fastcalled and are part of the applications shared libraries,
then that library must also be built with the fastcall technology
The /usr/lib/pa20_64/libc.2 Library Although the build process for
this library has not changed, the runtime architecture for HPPA-2.0 can
make use of a reduced call overhead technology similar to that that
exists with the 32-bit library. There is no restriction on matching the
correct /usr/lib/pa20_64/libc.2 with the fastcalled application like
there is with the 32-bit library.
There is a manpage available for libcres.a (5).
Compatibility Issues An existing PA1.1 application will not have a
compatibility issue with the new 32-bit fastcalled /usr/lib/libc.sl.
However, if the fastcall technology is used to build an application, then
that application can only be used with a fastcall technology library.
An existing 64-bit application does not have any compatibility issues
with the existing /usr/lib/pa20_64/libc.sl libraries. If a 64-bit
application is built with the fastcall technology, this application will not
have any compatibility issues with an existing
/usr/lib/pa20_64/libc.sl.
To make use of the application fastcall and the libcres.a features,
changes will need to be made to existing make files.
Other Considerations There is little to no impact from these changes.
There is a slight (125KB) increase in amount of disk space required for
libcres.a. The changes to the system libraries are transparent to
current applications.
Any performance gains for an application are highly dependent on the
application’s use of libc.sl and what interfaces in this library are used.
The fastcall technology will be delivered with all systems. If there are
compatibility concerns, the applications should not be built with this
technology.