File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ SECTIONS
62
62
.text :
63
63
{
64
64
. = ALIGN (4);
65
- *( .text) /* .text sections (code) */
66
- *( .text*) /* .text* sections (code) */
65
+ *SORT_BY_ALIGNMENT(SORT_BY_NAME( .text) ) /* .text sections (code) */
66
+ *SORT_BY_ALIGNMENT(SORT_BY_NAME( .text*) ) /* .text* sections (code) */
67
67
*(.rodata) /* .rodata sections (constants, strings, etc.) */
68
68
*(.rodata*) /* .rodata* sections (constants, strings, etc.) */
69
69
/* *(.glue_7) */ /* glue arm to thumb code */
@@ -85,8 +85,8 @@ SECTIONS
85
85
. = ALIGN (4);
86
86
_sdata = .; /* create a global symbol at data start; used by startup code in order to initialise the .data section in RAM */
87
87
_ram_start = .; /* create a global symbol at ram start for garbage collector */
88
- *( .data) /* .data sections */
89
- *( .data*) /* .data* sections */
88
+ *SORT_BY_ALIGNMENT(SORT_BY_NAME( .data) ) /* .data sections */
89
+ *SORT_BY_ALIGNMENT(SORT_BY_NAME( .data*) ) /* .data* sections */
90
90
91
91
. = ALIGN (4);
92
92
_edata = .; /* define a global symbol at data end; used by startup code in order to initialise the .data section in RAM */
@@ -97,8 +97,8 @@ SECTIONS
97
97
{
98
98
. = ALIGN (4);
99
99
_sbss = .; /* define a global symbol at bss start; used by startup code */
100
- *( .bss)
101
- *( .bss*)
100
+ *SORT_BY_ALIGNMENT(SORT_BY_NAME( .bss) )
101
+ *SORT_BY_ALIGNMENT(SORT_BY_NAME( .bss*) )
102
102
*(COMMON)
103
103
104
104
. = ALIGN (4);
You can’t perform that action at this time.
0 commit comments