From a1168150813498b995c1094665b1e91db0859e38 Mon Sep 17 00:00:00 2001 From: edolomb Date: Tue, 19 Jun 2018 16:44:21 +0000 Subject: Fixed bug: removed subalign git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12116 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/common/startup/ARM/compilers/GCC/ld/rules.ld | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/common/startup/ARM') diff --git a/os/common/startup/ARM/compilers/GCC/ld/rules.ld b/os/common/startup/ARM/compilers/GCC/ld/rules.ld index 8103c9d81..61a5b6132 100644 --- a/os/common/startup/ARM/compilers/GCC/ld/rules.ld +++ b/os/common/startup/ARM/compilers/GCC/ld/rules.ld @@ -48,13 +48,13 @@ SECTIONS . = 0; _text = .; - startup : ALIGN(16) SUBALIGN(16) + startup : ALIGN(16) { KEEP(*(.vectors)) KEEP(*(.boot)) } > flash - constructors : ALIGN(4) SUBALIGN(4) + constructors : ALIGN(4) { PROVIDE(__init_array_start = .); KEEP(*(SORT(.init_array.*))) @@ -62,7 +62,7 @@ SECTIONS PROVIDE(__init_array_end = .); } > flash - destructors : ALIGN(4) SUBALIGN(4) + destructors : ALIGN(4) { PROVIDE(__fini_array_start = .); KEEP(*(.fini_array)) @@ -70,7 +70,7 @@ SECTIONS PROVIDE(__fini_array_end = .); } > flash - .text : ALIGN(16) SUBALIGN(16) + .text : ALIGN(16) { *(.text) *(.text.*) -- cgit v1.2.3