Chapter 1 25
What's New in Recent Releases
New Features for 64-bit Mode Linking
New Features for 64-bit Mode Linking
This section introduces new features of the 64-bit linker for HP-UX
release 11.00.

64-bit Mode Linker Options

The ld(1) command supports the following new options in 64-bit mode:
Option Action
-dynamic Forces the linker to create a shared
executable. The linker looks for shared
libraries first and then archived libraries.
This option is on by default when you
compile in 64-bit mode.
-noshared Forces the linker to create a fully bound
archive program.
-k filename Allows you to control the mapping of input
section in the object file to segments in the
output file.
+[no]allowunsats Instructs the linker how to report errors for
output files with unsatisfied symbols.
+compat Instruct the linker to use 32-bit mode
linking and dynamic loading behaviors.
+[no]forceload Enables/disables forced loading of all the
object files from archive libraries.a
+hideallsymbols Hides all symbols from being exported.a
+nodefaultmap Instructs the linker not to load the default
mapfile. See the -k option.a