Skip to content

Commit 94728de

Browse files
author
Wayne Ren
committed
library: secureshield: add NOLOAD attribute to avoid warning
add NOLOAD attribute for the ram area used by secureshield runtime to avoid compile warning. Signed-off-by: Wayne Ren <[email protected]>
1 parent 87e45f9 commit 94728de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/secureshield/board/secureshield_normal_template_gnu.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ SECTIONS
7070
#endif
7171

7272
. = ORIGIN(SECURE_RAM);
73-
.ram.secureshield ALIGN(CONTAINER_ADDRESS_ALIGNMENT) : {
73+
.ram.secureshield ALIGN(CONTAINER_ADDRESS_ALIGNMENT) (NOLOAD) : {
7474
/* secureshield runtime data */
7575
. = ALIGN(4);
7676
_f_ram_secureshieldruntime = .;

library/secureshield/board/secureshield_normal_template_mw.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ SECTIONS {
5757
SECURESHIELD_REGION_SECURE_CONTAINERS_ROM
5858
#endif
5959

60-
GROUP : {
60+
GROUP (NOLOAD) : {
6161
.ram.secureshieldruntime ALIGN(CONTAINER_ADDRESS_ALIGNMENT) : {
6262
/* secureshield runtime data */
6363
. = ALIGN(4);

0 commit comments

Comments
 (0)