aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)