aboutsummaryrefslogtreecommitdiffhomepage
path: root/guest/guest.ld
diff options
context:
space:
mode:
Diffstat (limited to 'guest/guest.ld')
-rw-r--r--guest/guest.ld9
1 files changed, 9 insertions, 0 deletions
diff --git a/guest/guest.ld b/guest/guest.ld
new file mode 100644
index 0000000..5c81da9
--- /dev/null
+++ b/guest/guest.ld
@@ -0,0 +1,9 @@
+OUTPUT_FORMAT(binary)
+
+SECTIONS {
+ .boot : { *(.boot) }
+ .text : { *(.text) }
+ .data : { *(.data) }
+ .rodata : { *(.rodata) }
+ /DISCARD/ : { *(.*) }
+}