diff --git a/tools/cmake/scripts/data_file_embed_asm.cmake b/tools/cmake/scripts/data_file_embed_asm.cmake index 71329ade5e..291f9fea26 100644 --- a/tools/cmake/scripts/data_file_embed_asm.cmake +++ b/tools/cmake/scripts/data_file_embed_asm.cmake @@ -67,6 +67,7 @@ endif() append_line(" */") append_line(".data") +append_line(".section .rodata.embedded") append_identifier("${varname}") append_identifier("_binary_${varname}_start" "for objcopy compatibility") append("${data}")