aboutsummaryrefslogtreecommitdiffstats
path: root/os/common
diff options
context:
space:
mode:
authoredolomb <none@example.com>2018-06-19 16:44:21 +0000
committeredolomb <none@example.com>2018-06-19 16:44:21 +0000
commita1168150813498b995c1094665b1e91db0859e38 (patch)
tree31ffde082cb4a1cfb787df92bbd8456a89375960 /os/common
parent243112664b8904708067e1ca2d12828dfc165ecf (diff)
downloadChibiOS-a1168150813498b995c1094665b1e91db0859e38.tar.gz
ChibiOS-a1168150813498b995c1094665b1e91db0859e38.tar.bz2
ChibiOS-a1168150813498b995c1094665b1e91db0859e38.zip
Fixed bug: removed subalign
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12116 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/common')
-rw-r--r--os/common/startup/ARM/compilers/GCC/ld/rules.ld8
1 files changed, 4 insertions, 4 deletions
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.*)