Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑no_fragments

In this section:
Syntax
‑‑no_fragments
Description

Use this option to disable section fragment handling. Normally, the toolset uses IAR proprietary information for transferring section fragment information to the linker. The linker uses this information to remove unused code and data, and further minimize the size of the executable image. When you use this option, this information is not output in the object files.

See also

Keeping symbols and sections.

Caution

To set this option, use Project>Options>C/C++ Compiler>Extra Options