Skip to content

Commit

Permalink
ldscripts : unmark RAM section as executable
Browse files Browse the repository at this point in the history
It has no business being marked "rwx". Related to #106 on GH, but
doesn't fix the "LOAD segment with RWX permissions" warning.
  • Loading branch information
fenugrec committed Nov 23, 2022
1 parent a0a333a commit b3814f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldscripts/ldscript_base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ __RAM_SIZE = @LDV_RAM_SIZE@;
MEMORY
{
FLASH (rx) : ORIGIN = @LDV_FLASH_START@, LENGTH = __FLASH_SIZE
RAM (rwx) : ORIGIN = @LDV_RAM_START@, LENGTH = __RAM_SIZE
RAM (rw) : ORIGIN = @LDV_RAM_START@, LENGTH = __RAM_SIZE
}

ENTRY(Reset_Handler)
Expand Down

0 comments on commit b3814f5

Please sign in to comment.