Fix a few errors introduced into linker scripts by recent commits.

This commit is contained in:
Gregory Nutt 2019-09-12 08:11:27 -06:00
parent 50f9e26d5d
commit 94224639ca
2 changed files with 10 additions and 10 deletions

View File

@ -68,18 +68,18 @@ SECTIONS
_etext = ABSOLUTE(.);
} > flash
.init_section : ALIGN(4)) {
.init_section : ALIGN(4) {
_sinit = ABSOLUTE(.);
*(.init_array .init_array.*)
_einit = ABSOLUTE(.);
} > flash
.ARM.extab : ALIGN(4)) {
.ARM.extab : ALIGN(4) {
*(.ARM.extab*)
} > flash
__exidx_start = ABSOLUTE(.);
.ARM.exidx : ALIGN(4)) {
.ARM.exidx : ALIGN(4) {
*(.ARM.exidx*)
} > flash
@ -93,7 +93,7 @@ SECTIONS
*(.ram_vectors)
} > sram
.data : ALIGN(4)) {
.data : ALIGN(4) {
_sdata = ABSOLUTE(.);
*(.data .data.*)
*(.gnu.linkonce.d.*)
@ -101,7 +101,7 @@ SECTIONS
_edata = ABSOLUTE(.);
} > sram AT > flash
.bss : ALIGN(4)) {
.bss : ALIGN(4) {
_sbss = ABSOLUTE(.);
*(.bss .bss.*)
*(.gnu.linkonce.b.*)

View File

@ -64,18 +64,18 @@ SECTIONS
_etext = ABSOLUTE(.);
} > flash
.init_section : ALIGN(4)) {
.init_section : ALIGN(4) {
_sinit = ABSOLUTE(.);
*(.init_array .init_array.*)
_einit = ABSOLUTE(.);
} > flash
.ARM.extab : ALIGN(4)) {
.ARM.extab : ALIGN(4) {
*(.ARM.extab*)
} > flash
__exidx_start = ABSOLUTE(.);
.ARM.exidx : ALIGN(4)) {
.ARM.exidx : ALIGN(4) {
*(.ARM.exidx*)
} > flash
__exidx_end = ABSOLUTE(.);
@ -84,7 +84,7 @@ SECTIONS
/* The LM3S6918 has 64Kb of SRAM beginning at the following address */
.data : ALIGN(4)) {
.data : ALIGN(4) {
_sdata = ABSOLUTE(.);
*(.data .data.*)
*(.gnu.linkonce.d.*)
@ -92,7 +92,7 @@ SECTIONS
_edata = ABSOLUTE(.);
} > sram AT > flash
.bss : ALIGN(4)) { /* BSS */
.bss : ALIGN(4) { /* BSS */
_sbss = ABSOLUTE(.);
*(.bss .bss.*)
*(.gnu.linkonce.b.*)