Skip to content

Commit

Permalink
[rom_ext] Mark static critical version as used
Browse files Browse the repository at this point in the history
The previous PR missed updating this file.

Marking it as used prevents optimizations such as LTO from stripping
the value.

Change-Id: I60bac0f10d35e59f17bde24b6d60c5f8130b5cb4
Signed-off-by: Yi-Hsuan Deng <[email protected]>
  • Loading branch information
sasdf committed Dec 12, 2024
1 parent bca9c70 commit c991443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
* populated by the ROM before the jump to ROM_EXT.
*/
OT_SET_BSS_SECTION(".static_critical.version",
uint32_t static_critical_version;)
OT_USED uint32_t static_critical_version;)

0 comments on commit c991443

Please sign in to comment.