aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-27 14:41:23 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-27 14:41:23 +0000
commitfa831b736df078de738b8f36b7ee53df68e79b01 (patch)
tree26d60b91406223040fc8079abd8ab01504525bb4 /os
parentbf5290452d6d92b57051931d2ec3081b0800e8d4 (diff)
downloadChibiOS-fa831b736df078de738b8f36b7ee53df68e79b01.tar.gz
ChibiOS-fa831b736df078de738b8f36b7ee53df68e79b01.tar.bz2
ChibiOS-fa831b736df078de738b8f36b7ee53df68e79b01.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7821 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/common/ports/ARM/compilers/GCC/crt0.s2
-rw-r--r--os/common/ports/ARM/compilers/GCC/rules.ld2
2 files changed, 1 insertions, 3 deletions
diff --git a/os/common/ports/ARM/compilers/GCC/crt0.s b/os/common/ports/ARM/compilers/GCC/crt0.s
index caf9f0f1e..951fd4c78 100644
--- a/os/common/ports/ARM/compilers/GCC/crt0.s
+++ b/os/common/ports/ARM/compilers/GCC/crt0.s
@@ -38,7 +38,7 @@
.set I_BIT, 0x80
.set F_BIT, 0x40
- .section .startup
+ .text
.code 32
.balign 4
diff --git a/os/common/ports/ARM/compilers/GCC/rules.ld b/os/common/ports/ARM/compilers/GCC/rules.ld
index f801c2f94..6bda5170c 100644
--- a/os/common/ports/ARM/compilers/GCC/rules.ld
+++ b/os/common/ports/ARM/compilers/GCC/rules.ld
@@ -74,8 +74,6 @@ SECTIONS
.text : ALIGN(16) SUBALIGN(16)
{
- *(.startup)
- *(.startup.*)
*(.text)
*(.text.*)
*(.rodata)