summaryrefslogtreecommitdiff
path: root/other/wrez/lime-interface-test.lds
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/wrez/lime-interface-test.lds
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/wrez/lime-interface-test.lds')
-rw-r--r--other/wrez/lime-interface-test.lds32
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
2OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
3OUTPUT_ARCH(i386)
4
5ENTRY(main)
6
7PHDRS
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
13SECTIONS
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}