aboutsummaryrefslogtreecommitdiff
path: root/tests/multiboot/link.ld
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multiboot/link.ld')
-rw-r--r--tests/multiboot/link.ld19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/multiboot/link.ld b/tests/multiboot/link.ld
new file mode 100644
index 0000000000..3d49b58c60
--- /dev/null
+++ b/tests/multiboot/link.ld
@@ -0,0 +1,19 @@
+ENTRY(_start)
+
+SECTIONS
+{
+ . = 0x100000;
+ .text : {
+ *(multiboot)
+ *(.text)
+ }
+ .data ALIGN(4096) : {
+ *(.data)
+ }
+ .rodata ALIGN(4096) : {
+ *(.rodata)
+ }
+ .bss ALIGN(4096) : {
+ *(.bss)
+ }
+}