Skip to content

Commit 306ae58

Browse files
committed
added readonly attribute to all .text linkerscripts
1 parent c49d27e commit 306ae58

16 files changed

Lines changed: 16 additions & 16 deletions

File tree

targets/chip/atsam3x8e/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SECTIONS
3636
VECTORS() > rom
3737

3838
/* Text segment, stores all user code */
39-
.text :
39+
.text (READONLY) :
4040
{
4141
. = ALIGN(4);
4242
/* text segment */

targets/chip/atsam4s2b/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SECTIONS
3636
VECTORS() > rom
3737

3838
/* Text segment, stores all user code */
39-
.text :
39+
.text (READONLY) :
4040
{
4141
. = ALIGN(4);
4242
/* text segment */

targets/chip/lpc1752/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SECTIONS
5151
} > rom
5252

5353
/* Text segment, stores all user code */
54-
.text :
54+
.text (READONLY) :
5555
{
5656
. = ALIGN(4);
5757
/* text segment */

targets/chip/lpc1754/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ SECTIONS
5252
} > rom
5353

5454
/* Text segment, stores all user code */
55-
.text :
55+
.text (READONLY) :
5656
{
5757
. = ALIGN(4);
5858
/* text segment */

targets/chip/lpc1756/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ SECTIONS
5252
} > rom
5353

5454
/* Text segment, stores all user code */
55-
.text :
55+
.text (READONLY) :
5656
{
5757
. = ALIGN(4);
5858
/* text segment */

targets/chip/lpc1759/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ SECTIONS
5555
} > rom
5656

5757
/* Text segment, stores all user code */
58-
.text :
58+
.text (READONLY) :
5959
{
6060
. = ALIGN(4);
6161
/* text segment */

targets/chip/lpc55s66/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ SECTIONS
4545
VECTORS() > rom
4646

4747
/* Text segment, stores all user code */
48-
.text :
48+
.text (READONLY) :
4949
{
5050
. = ALIGN(4);
5151
/* text segment */

targets/chip/lpc802/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SECTIONS
4141
VECTORS() > rom
4242

4343
/* Text segment, stores all user code */
44-
.text :
44+
.text (READONLY) :
4545
{
4646
. = ALIGN(4);
4747
/* text segment */

targets/chip/max32625/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SECTIONS
3636
VECTORS() > rom
3737

3838
/* Text segment, stores all user code */
39-
.text :
39+
.text (READONLY) :
4040
{
4141
. = ALIGN(4);
4242
/* text segment */

targets/chip/max32660/linkerscript.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SECTIONS
3636
VECTORS() > rom
3737

3838
/* Text segment, stores all user code */
39-
.text :
39+
.text (READONLY) :
4040
{
4141
. = ALIGN(4);
4242
/* text segment */

0 commit comments

Comments
 (0)