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
15
a9lh.ld
15
a9lh.ld
@ -1,13 +1,16 @@
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x23F00000;
|
||||
.text.start : { *(.text.start) }
|
||||
.text : { *(.text) }
|
||||
.data : { *(.data) }
|
||||
.bss : { __bss_start = .; *(.bss COMMON) }
|
||||
__bss_end = .;
|
||||
.rodata : { *(.rodata) }
|
||||
|
||||
.text : ALIGN(4) { *(.text.start) *(.text*) }
|
||||
.rodata : ALIGN(4) { *(.rodata*) }
|
||||
.data : ALIGN(4) { *(.data*) }
|
||||
.bss : ALIGN(4) { __bss_start = .; *(.bss* COMMON); __bss_end = .;}
|
||||
|
||||
. = ALIGN(4);
|
||||
__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)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x08000000;
|
||||
.text.start : { *(.text.start) }
|
||||
.text : { *(.text) }
|
||||
.data : { *(.data) }
|
||||
.bss : { __bss_start = .; *(.bss COMMON) }
|
||||
__bss_end = .;
|
||||
.rodata : { *(.rodata) }
|
||||
|
||||
.text : ALIGN(4) { *(.text.start) *(.text*) }
|
||||
.rodata : ALIGN(4) { *(.rodata*) }
|
||||
.data : ALIGN(4) { *(.data*) }
|
||||
.bss : ALIGN(4) { __bss_start = .; *(.bss* COMMON); __bss_end = .;}
|
||||
|
||||
. = ALIGN(4);
|
||||
__end__ = ABSOLUTE(.);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user