Merge changes from topic "Id18b0341353ffc00e44e2d3c643ccdd05cc20c4f" into integration

* changes:
  fix(rk3399): fix unquoted .incbin for clang
  fix(rk3399): mark INCBIN-generated sections as SHF_ALLOC
This commit is contained in:
Olivier Deprez 2025-01-31 11:52:13 +01:00 committed by TrustedFirmware Code Review
commit de5943f94c

View file

@ -6,16 +6,16 @@
/* convoluted way to make sure that the define is pasted just the right way */
.macro INCBIN file sym sec
.section \sec
.section \sec, "a"
.global \sym
.type \sym, @object
.align 4
\sym :
.incbin \file
.incbin "\file"
.size \sym , .-\sym
.global \sym\()_end
\sym\()_end :
.endm
INCBIN ""RK3399M0FW"", "rk3399m0_bin", ".sram.incbin"
INCBIN ""RK3399M0PMUFW"", "rk3399m0pmu_bin", ".pmusram.incbin"
INCBIN RK3399M0FW, "rk3399m0_bin", ".sram.incbin"
INCBIN RK3399M0PMUFW, "rk3399m0pmu_bin", ".pmusram.incbin"