9.124 --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.
Related reference
9.125 --undefined_and_export=symbol
9.62 --keep=section_id
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.