Skip to content

Commit

Permalink
Fix elf loading / app support
Browse files Browse the repository at this point in the history
  • Loading branch information
rickgaiser committed Jan 10, 2021
1 parent 309da00 commit 4df00aa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion elfldr/linkfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

ENTRY(_start);

PHDRS {
text PT_LOAD;
}


SECTIONS {
.text 0x00082000: {
_ftext = . ;
Expand All @@ -22,7 +27,7 @@ SECTIONS {
KEEP(*(.init))
KEEP(*(.fini))
QUAD(0)
}
} :text

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

0 comments on commit 4df00aa

Please sign in to comment.