Skip to content

Commit

Permalink
Override program headers, but why?!
Browse files Browse the repository at this point in the history
  • Loading branch information
rickgaiser committed Dec 5, 2020
1 parent d918f6a commit df4bd01
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ee_core/linkfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ MEMORY {
ramD0 : ORIGIN = 0x000D0000, LENGTH = 192K /* 0x000D0000 - 0x00100000: usually free, but some games use it. */
}

PHDRS {
text PT_LOAD;
}


SECTIONS {
.text : {
_ftext = . ;
Expand All @@ -29,7 +34,7 @@ SECTIONS {
KEEP(*(.init))
KEEP(*(.fini))
QUAD(0)
} >ram84
} >ram84 :text

PROVIDE(_etext = .);
PROVIDE(etext = .);
Expand Down

0 comments on commit df4bd01

Please sign in to comment.