zephyr/tests/application_development/code_relocation/custom-sections.ld
Hake Huang 45daf3b448 tests: application_development: add code_relocation test
add code relocation test case
1. customer relocation code and data test
2. memcpy relocation

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2022-08-01 18:09:28 +01:00

10 lines
254 B
Plaintext

/* SPDX-License-Identifier: Apache-2.0 */
SECTION_DATA_PROLOGUE(_CUSTOM_SECTION_NAME2,,)
{
. = ALIGN(4);
__custom_section_start = .;
KEEP(*(".custom_section.*"));
__custom_section_end = ALIGN(4);
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)