11.145 --undefined=symbol

Prevents the removal of a specified symbol if it is undefined.

Syntax

--undefined=symbol

Usage

Causes the linker to:

  1. Create a symbol reference to the specified symbol name.

  2. Issue an implicit --keep=symbol to prevent any sections brought in to define that symbol from being removed.

Non-ConfidentialPDF file icon PDF versionDUI0803J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.