Toolchain Options > Linker tab

(Builder: Project > Toolchain Options for Selected Files... > Linker tab)

Linker section overlap (drop-down list)

Allows sections to overlap in the final layout without warning or error.

Disable warnings

Disables warnings from the linker.

Generate checksum

Generates a 4-byte checksum at the end of every section, equivalent to the -checksum option. See the Development Guide for more information.

Allow undefined symbols

Allows a link to complete successfully with undefined symbols rather than producing an error. Equivalent to the -undefined command line option.

Re-scan libraries

Continually re-scan the list of libraries to resolve dependencies if at the end of pass through the libraries some symbols remain unresolved. This continues until either all symbols are resolved or no symbols were resolved in the last pass. See the linker section in the Development Guide for more information.

Relocatable program

Generate an object file which is suitable for input into another linker run or a dynamic loader as well as executable. Equivalent to linking with the -r and -a options.

No INTEGRITY shared objs

INTEGRITY specific: do not use shared objects (libraries are statically linked into each AddressSpace).

C parameter checking

Causes the C compiler to output special symbols which represent every function definition and every function call. The Green Hills linker (lx or elxr) will recognize these symbols and give an error if a function is called inconsistently with its definition. Equivalent to the build-time option -parameter_check.

Full C parameter checking

This is a superset of "C parameter checking" above. It causes the linker to give an error if a function is called but there is no parameter checking information associated with the definition. This option cannot be used unless all libraries and objects are compiled with some form of C parameter checking enabled. Furthermore, any functions defined in assembly language will need to have parameter checking information added manually. Note that libraries provided by Green Hills are not compiled with parameter checking enabled except on certain targets. Equivalent to the build-time option -full_parameter_check.

Undefined symbols

Place these symbols as an undefined symbol in the symbol table. This is generally used to force the loading of a library symbol that otherwise might not be loaded. Equivalent to the -u sym command line option.

Defined symbols

The format is sym=val. Defines a symbol `sym' with value `val'.

Abs objects to link against

Equivalent to linking with -A <name of object>

General linker options

These options are passed through to the linker.

Generate map file

Generate a link map file showing where symbols are located. See the linker chapter in the Development Guide for more information. Equivalent to the -map command line option.

Add cross reference

Adds cross reference to the link map. See the linker chapter in the Development Guide for more information. Equivalent to the -Mx command line option.

Sort symbols by address

Sorts symbols in the link map by address. See the linker chapter in the Development Guide for more information. Equivalent to the -Mn command line option.

Wide format

Prints the link map in wide format. See the linker chapter in the Development Guide for more information. Equivalent to the -Mw command line option.

Map file name

The filename for the map file (optional). Equivalent to the -map=name command line option.

Map file directory

The directory for the map file (optional). Equivalent to the -map=name command line option.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.