Skip to content

Commit d3a0e16

Browse files
carlescufikartben
authored andcommitted
cmake: llvm: Add elfconvert_flag_lma_adjust property
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 <carles.cufi@nordicsemi.no> Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
1 parent a7e6fe6 commit d3a0e16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/bintools/llvm/target_bintools.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ set_property(TARGET bintools PROPERTY elfconvert_flag_section_remove "--remove-s
4444
set_property(TARGET bintools PROPERTY elfconvert_flag_section_only "--only-section=")
4545
set_property(TARGET bintools PROPERTY elfconvert_flag_section_rename "--rename-section;")
4646

47+
set_property(TARGET bintools PROPERTY elfconvert_flag_lma_adjust "--change-section-lma;")
48+
4749
# llvm-objcopy doesn't support gap fill argument.
4850
set_property(TARGET bintools PROPERTY elfconvert_flag_gapfill "")
4951
set_property(TARGET bintools PROPERTY elfconvert_flag_srec_len "--srec-len=")

0 commit comments

Comments
 (0)