For details and system defaults, refer to the description of ld in the HP-UX Reference Manual or the ld(1) manpage for more information.

-N

-N

The -Noption causes the program file produced by the linker to be marked as unsharable.

For details and system defaults, refer to the description of ld in the HP-UX Reference Manual or the ld(1) manpage for more information.

+O[no]dynopt

+O[no]dynopt

Supported only on HP-UX 11.31 systems, the +O[no]dynopt option enables [disables] dynamic optimization for the output file. Both forms of this option change the default setting, which allows the run-time environment to enable or disable dynamic optimization according to a system-wide default. This option applies only to executable files and shared libraries, if the run-time environment supports this feature. chatr(1) can be used to change this setting, including restoration of the default setting, after the output file has been created.

-q

-q

The -qoption causes the output file from the linker to be marked as demand-loadable.

For details and system defaults, refer to the description of ld in the HP-UX Reference Manual or the ld(1) manpage for more information.

-Q

-Q

The -Qoption causes the program file from the linker to be marked as not demand-loadable.

For details and system defaults, refer to the description of ld in the HP-UX Reference Manual or the ld(1) manpage for more information.

-r

-r

Use the -roption to retain relocation information in the output file for subsequent relinking.

-s

-s

Using the -soption causes the executable program file created by the linker to be stripped of symbol table information. Specifying this option prevents using a symbolic debugger on the resulting program. For details and system defaults, refer to the description of ld in the HP-UX Reference Manual or the ld(1) manpage for more information.

-usymbol

-usymbol

Enter symbol as an undefined symbol in ld’s symbol table. The resulting unresolved reference is useful for linking a program solely from object files in a library. More than one symbol can be specified, but each must be preceded by -u.

See ld(1) manpage for more information.

Linker Options 51

Page 51
Image 51
HP C/aC++ for PA-RISC Software manual +Onodynopt, Usymbol