Browse Source

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>
pull/91921/head
Guennadi Liakhovetski 3 weeks ago committed by Benjamin Cabé
parent
commit
a3089c1ffc
  1. 1
      cmake/modules/extensions.cmake

1
cmake/modules/extensions.cmake

@ -5954,6 +5954,7 @@ function(add_llext_target target_name) @@ -5954,6 +5954,7 @@ function(add_llext_target target_name)
$<TARGET_PROPERTY:bintools,elfconvert_flag>
$<TARGET_PROPERTY:bintools,elfconvert_flag_strip_unneeded>
$<TARGET_PROPERTY:bintools,elfconvert_flag_section_remove>.xt.*
$<TARGET_PROPERTY:bintools,elfconvert_flag_section_remove>.xtensa.info
$<TARGET_PROPERTY:bintools,elfconvert_flag_infile>${llext_pkg_input}
$<TARGET_PROPERTY:bintools,elfconvert_flag_outfile>${llext_pkg_output}
$<TARGET_PROPERTY:bintools,elfconvert_flag_final>

Loading…
Cancel
Save