-mmake-absolute-imports-weak

Purpose

Marks variables listed with absolute addresses in the input import file with weak linkage, enabling code generation to accommodate deferred loading of such variables.

Syntax

Read syntax diagramSkip visual syntax diagram -mmake-absolute-imports-weak=<importfile>

Defaults

None.

Usage

-mmake-absolute-imports-weak takes a list of global variables with absolute addresses in the import file and marks them with the weak link attribute during code generation. This prevents the compiler from generating accesses to these variables in code paths where the program semantics do not involve such accesses.

Note: In the context where global variables are defined, using -mmake-absolute-imports-weak might cause the variable definition to be silently replaced.

Predefined macros

None.