9.4.3 Linker command-line options for bare metal and DLL-like models

There are linker command-line options available for building bare metal executables and dynamically linked library (DLL) like models for a platform OS.

The command-line options are:

Table 9-2 Turning on BPABI support

Command-line options Description
--base_platform To use scatter-loading with Base Platform Application Binary Interface (BPABI).
--bpabi To produce a BPABI executable.
--bpabi --dll To produce a BPABI DLL.

Note:

The DLL-like model is not supported for AArch64 state.

Additional linker command-line options for the BPABI DLL-like model

There are additional linker command-line options available for the BPABI DLL-like model.

The additional command-line options are:

  • --export_all, --no_export_all.
  • --pltgot=type.
  • --pltgot_opts=mode.
  • --ro_base=address.
  • --ropi.
  • --rosplit.
  • --rw_base=address.
  • --rwpi.
  • --symver_script=filename.
  • --symver_soname.
Non-ConfidentialPDF file icon PDF versionDUI0803J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.