summaryrefslogtreecommitdiff
path: root/src/usertestelf.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/usertestelf.ld')
-rw-r--r--src/usertestelf.ld23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/usertestelf.ld b/src/usertestelf.ld
new file mode 100644
index 0000000..2567f77
--- /dev/null
+++ b/src/usertestelf.ld
@@ -0,0 +1,23 @@
+ENTRY(main)
+
+SECTIONS
+{
+ . = 8M;
+ .text BLOCK(4K) : ALIGN(4K)
+ {
+ *(.text)
+ }
+ .rodata BLOCK(4K) : ALIGN(4K)
+ {
+ *(.rodata)
+ }
+ .data BLOCK(4K) : ALIGN(4K)
+ {
+ *(.data)
+ }
+ .bss BLOCK(4K) : ALIGN(4K)
+ {
+ *(COMMON)
+ *(.bss)
+ }
+}