Skip to content

Commit ad8996c

Browse files
aykevldeadprogram
authored andcommitted
arm: fix linker script
There were a few instances like `.text` and `.text*`. The first was redundant with the second, but the intention was to write `.text.*`. This doesn't change anything (tested with `make smoketest`) but should avoid propagating this error in the future.
1 parent 571a412 commit ad8996c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

targets/arm.ld

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ SECTIONS
1010
{
1111
KEEP(*(.isr_vector))
1212
*(.text)
13-
*(.text*)
13+
*(.text.*)
1414
*(.rodata)
15-
*(.rodata*)
15+
*(.rodata.*)
1616
. = ALIGN(4);
1717
} >FLASH_TEXT
1818

@@ -35,7 +35,7 @@ SECTIONS
3535
. = ALIGN(4);
3636
_sdata = .; /* used by startup code */
3737
*(.data)
38-
*(.data*)
38+
*(.data.*)
3939
. = ALIGN(4);
4040
_edata = .; /* used by startup code */
4141
} >RAM AT>FLASH_TEXT
@@ -46,7 +46,7 @@ SECTIONS
4646
. = ALIGN(4);
4747
_sbss = .; /* used by startup code */
4848
*(.bss)
49-
*(.bss*)
49+
*(.bss.*)
5050
*(COMMON)
5151
. = ALIGN(4);
5252
_ebss = .; /* used by startup code */

0 commit comments

Comments
 (0)