summaryrefslogtreecommitdiffstats
path: root/qemu/tests/multiboot/link.ld
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/multiboot/link.ld')
-rw-r--r--qemu/tests/multiboot/link.ld19
1 files changed, 19 insertions, 0 deletions
diff --git a/qemu/tests/multiboot/link.ld b/qemu/tests/multiboot/link.ld
new file mode 100644
index 000000000..3d49b58c6
--- /dev/null
+++ b/qemu/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)
+ }
+}