Skip to content

Commit a3089c1

Browse files
lyakhkartben
authored andcommitted
llext: xtensa: strip the .xtensa.info section
.xtensa.info section isn't large so it was ignored in the beginning, but its contents can differ depending on the build platform even if the sources and the toolchain are the same. Strip the section to restore binary reproducibility. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 966ef0f commit a3089c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/extensions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5954,6 +5954,7 @@ function(add_llext_target target_name)
59545954
$<TARGET_PROPERTY:bintools,elfconvert_flag>
59555955
$<TARGET_PROPERTY:bintools,elfconvert_flag_strip_unneeded>
59565956
$<TARGET_PROPERTY:bintools,elfconvert_flag_section_remove>.xt.*
5957+
$<TARGET_PROPERTY:bintools,elfconvert_flag_section_remove>.xtensa.info
59575958
$<TARGET_PROPERTY:bintools,elfconvert_flag_infile>${llext_pkg_input}
59585959
$<TARGET_PROPERTY:bintools,elfconvert_flag_outfile>${llext_pkg_output}
59595960
$<TARGET_PROPERTY:bintools,elfconvert_flag_final>

0 commit comments

Comments
 (0)