diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /other/wrez/lime-interface-test.lds | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'other/wrez/lime-interface-test.lds')
| -rw-r--r-- | other/wrez/lime-interface-test.lds | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/other/wrez/lime-interface-test.lds b/other/wrez/lime-interface-test.lds new file mode 100644 index 0000000..135a8d8 --- /dev/null +++ b/other/wrez/lime-interface-test.lds | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | |||
| 2 | OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") | ||
| 3 | OUTPUT_ARCH(i386) | ||
| 4 | |||
| 5 | ENTRY(main) | ||
| 6 | |||
| 7 | PHDRS | ||
| 8 | { | ||
| 9 | text PT_LOAD FILEHDR PHDRS FLAGS (0x0007); /* PF_R | PF_W | PF_X */ | ||
| 10 | data PT_LOAD FLAGS (0x0006); /* PF_R | PF_W */ | ||
| 11 | } | ||
| 12 | |||
| 13 | SECTIONS | ||
| 14 | { | ||
| 15 | . = 0x06660000 ; | ||
| 16 | .text : { | ||
| 17 | lime-interface-test.o(.text) | ||
| 18 | lime-interface.o(.text) | ||
| 19 | lime.o(.text) | ||
| 20 | *(.text) | ||
| 21 | *(.rodata) | ||
| 22 | *(.data) | ||
| 23 | } : text | ||
| 24 | |||
| 25 | /* save calls to objcopy, huh */ | ||
| 26 | /DISCARD/ : { | ||
| 27 | *(.bss) | ||
| 28 | *(.eh_frame) | ||
| 29 | *(.comment) | ||
| 30 | *(.note) | ||
| 31 | } | ||
| 32 | } | ||
