aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-11-01 19:44:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-11-01 19:44:11 +0000
commit13537cb7240240e6c7f915aa4d2aa6772034003b (patch)
treedcedce83d067da61daedf63deab60353b9399319
parentef75851d109f9b1bd106c0140548300fce631906 (diff)
downloadChibiOS-13537cb7240240e6c7f915aa4d2aa6772034003b.tar.gz
ChibiOS-13537cb7240240e6c7f915aa4d2aa6772034003b.tar.bz2
ChibiOS-13537cb7240240e6c7f915aa4d2aa6772034003b.zip
Tentative constructors fix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9897 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld
index f61fe2d5a..937e62621 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld
@@ -18,12 +18,12 @@ ENTRY(Reset_Handler)
SECTIONS
{
- vectors : ALIGN(16) SUBALIGN(16)
+ .vectors : ALIGN(16)
{
KEEP(*(.vectors))
} > VECTORS_FLASH AT > VECTORS_FLASH_LMA
- xtors : ALIGN(4) SUBALIGN(4)
+ .xtors : ALIGN(4)
{
__init_array_start = .;
KEEP(*(SORT(.init_array.*)))
@@ -35,7 +35,7 @@ SECTIONS
__fini_array_end = .;
} > XTORS_FLASH AT > XTORS_FLASH_LMA
- .text : ALIGN(16) SUBALIGN(16)
+ .text ALIGN(16) : ALIGN(16)
{
*(.text)
*(.text.*)