12.94 --match=crossmangled

Instructs the linker to match the combinations of mangled and unmangled symbol references and definitions.

Usage

Matches:

  • A reference to an unmangled symbol with the mangled definition.

  • A reference to a mangled symbol with the unmangled definition.

Libraries and matching combinations operate as follows:

  • If the library members define a mangled definition, and there is an unresolved unmangled reference, the member is loaded to satisfy it.

  • If the library members define an unmangled definition, and there is an unresolved mangled reference, the member is loaded to satisfy it.

Note:

This option has no effect if used with partial linking. The partial object contains all the unresolved references to unmangled symbols, even if the mangled definition exists. Matching is done only in the final link step.

Non-ConfidentialPDF file icon PDF versionARM DUI0474M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.