mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
Updated .ld files thanks to @Wolfvak
This commit is contained in:
parent
06eaf679b9
commit
5f252a3a34
17
a9lh.ld
17
a9lh.ld
@ -1,13 +1,16 @@
|
|||||||
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
|
||||||
|
OUTPUT_ARCH(arm)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
. = 0x23F00000;
|
. = 0x23F00000;
|
||||||
.text.start : { *(.text.start) }
|
|
||||||
.text : { *(.text) }
|
.text : ALIGN(4) { *(.text.start) *(.text*) }
|
||||||
.data : { *(.data) }
|
.rodata : ALIGN(4) { *(.rodata*) }
|
||||||
.bss : { __bss_start = .; *(.bss COMMON) }
|
.data : ALIGN(4) { *(.data*) }
|
||||||
__bss_end = .;
|
.bss : ALIGN(4) { __bss_start = .; *(.bss* COMMON); __bss_end = .;}
|
||||||
.rodata : { *(.rodata) }
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__end__ = ABSOLUTE(.);
|
__end__ = ABSOLUTE(.);
|
||||||
}
|
}
|
||||||
|
15
gateway.ld
15
gateway.ld
@ -1,13 +1,16 @@
|
|||||||
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
|
||||||
|
OUTPUT_ARCH(arm)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
. = 0x08000000;
|
. = 0x08000000;
|
||||||
.text.start : { *(.text.start) }
|
|
||||||
.text : { *(.text) }
|
.text : ALIGN(4) { *(.text.start) *(.text*) }
|
||||||
.data : { *(.data) }
|
.rodata : ALIGN(4) { *(.rodata*) }
|
||||||
.bss : { __bss_start = .; *(.bss COMMON) }
|
.data : ALIGN(4) { *(.data*) }
|
||||||
__bss_end = .;
|
.bss : ALIGN(4) { __bss_start = .; *(.bss* COMMON); __bss_end = .;}
|
||||||
.rodata : { *(.rodata) }
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__end__ = ABSOLUTE(.);
|
__end__ = ABSOLUTE(.);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user