mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
loader: fix build with gcc-ld
With Rust 1.65.0, we may be forced to use gdb's linker due to bug that appeared in llvm-15: https://github.com/rust-lang/rust/issues/103949 Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
d74673ab29
commit
3a8457852f
1 changed files with 4 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
RAM : ORIGIN = 0x40000000, LENGTH = 16M
|
|
||||||
FLASH : ORIGIN = 0x20501000, LENGTH = 188k
|
FLASH : ORIGIN = 0x20501000, LENGTH = 188k
|
||||||
FONTS : ORIGIN = 0x20530000, LENGTH = 4352k
|
FONTS : ORIGIN = 0x20530000, LENGTH = 4352k
|
||||||
MEMLCD: ORIGIN = 0xB0000000, LENGTH = 32k
|
RAM : ORIGIN = 0x40000000, LENGTH = 16M
|
||||||
|
MEMLCD : ORIGIN = 0xB0000000, LENGTH = 32k
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Fonts go from 0x2053_0000 to 0x2097_0000
|
Fonts go from 0x2053_0000 to 0x2097_0000
|
||||||
|
|
@ -51,7 +51,7 @@ SECTIONS
|
||||||
.text.dummy (NOLOAD) :
|
.text.dummy (NOLOAD) :
|
||||||
{
|
{
|
||||||
/* This section is intended to make _stext address work */
|
/* This section is intended to make _stext address work */
|
||||||
. = _stext;
|
. = ABSOLUTE(_stext);
|
||||||
} > REGION_TEXT
|
} > REGION_TEXT
|
||||||
|
|
||||||
.text _stext :
|
.text _stext :
|
||||||
|
|
@ -91,7 +91,7 @@ SECTIONS
|
||||||
_edata = .;
|
_edata = .;
|
||||||
} > REGION_DATA AT > REGION_RODATA
|
} > REGION_DATA AT > REGION_RODATA
|
||||||
|
|
||||||
.fonts ALIGN(65536) : SUBALIGN(65536)
|
.fonts : ALIGN(65536)
|
||||||
{
|
{
|
||||||
KEEP(*(.fontdata));
|
KEEP(*(.fontdata));
|
||||||
} > FONTS
|
} > FONTS
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue