zephyr/tests/misc/iterable_sections/sections-rom.ld
Peter Mitsis 62db185d5b linker: tests: Use Z_LINK_ITERABLE_SUBALIGN
Updates the linker script fragments under 'tests' to use
Z_LINK_ITERABLE_SUBALIGN for the subalignment instead of
a hardcoded value of 4.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2024-04-20 13:45:25 -04:00

8 lines
354 B
Plaintext

#include <zephyr/linker/iterable_sections.h>
ITERABLE_SECTION_ROM(test_rom, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_ROM(test_rom2, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_ROM(test_rom_named, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_ROM_NUMERIC(test_rom_numeric, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_ROM(romn_alt, Z_LINK_ITERABLE_SUBALIGN)