Skip to main content

IAR Embedded Workbench for RISC-V 3.40

.data

In this section:
Description

Holds static and global initialized variables. In object files, this includes the initial values. When the linker directive initialize is used, a corresponding .data_init section is created for each .data section, holding the possibly compressed initial values. Sections with this name can have the TLS bit set. Such a section will be renamed to .tdata if the linker option ‑‑threaded_lib is used.

Memory placement

This section can be placed anywhere in memory.