Skip to content

Commit

Permalink
cmake: llvm: Add elfconvert_flag_lma_adjust property
Browse files Browse the repository at this point in the history
The elfconvert_flag_lma_adjust property is required when using
CONFIG_BUILD_OUTPUT_ADJUST_LMA, but was missing for LLVM.

Signed-off-by: Carles Cufi <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
  • Loading branch information
carlescufi authored and kartben committed Jan 19, 2025
1 parent a7e6fe6 commit d3a0e16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/bintools/llvm/target_bintools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ set_property(TARGET bintools PROPERTY elfconvert_flag_section_remove "--remove-s
set_property(TARGET bintools PROPERTY elfconvert_flag_section_only "--only-section=")
set_property(TARGET bintools PROPERTY elfconvert_flag_section_rename "--rename-section;")

set_property(TARGET bintools PROPERTY elfconvert_flag_lma_adjust "--change-section-lma;")

# llvm-objcopy doesn't support gap fill argument.
set_property(TARGET bintools PROPERTY elfconvert_flag_gapfill "")
set_property(TARGET bintools PROPERTY elfconvert_flag_srec_len "--srec-len=")
Expand Down

0 comments on commit d3a0e16

Please sign in to comment.