mirror of
https://github.com/drasko/codezero.git
synced 2026-02-26 08:43:13 +01:00
Moved all crt0.S to .text.head
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
#ifdef __thumb__
|
#ifdef __thumb__
|
||||||
#define bl blx
|
#define bl blx
|
||||||
#endif
|
#endif
|
||||||
|
.section .text.head
|
||||||
.code 32
|
.code 32
|
||||||
.global _start;
|
.global _start;
|
||||||
.align;
|
.align;
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
#ifdef __thumb__
|
#ifdef __thumb__
|
||||||
#define bl blx
|
#define bl blx
|
||||||
#endif
|
#endif
|
||||||
|
.section .text.head
|
||||||
.code 32
|
.code 32
|
||||||
.global _start;
|
.global _start;
|
||||||
.align;
|
.align;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ ENTRY(_start)
|
|||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
. = 0x2000000;
|
. = 0x2000000;
|
||||||
.text : { *(.text) }
|
.text : { *(.text.head) *(.text) }
|
||||||
.rodata : { *(.rodata) }
|
.rodata : { *(.rodata) }
|
||||||
.rodata1 : { *(.rodata1) }
|
.rodata1 : { *(.rodata1) }
|
||||||
.data :
|
.data :
|
||||||
|
|||||||
Reference in New Issue
Block a user