summaryrefslogtreecommitdiff
path: root/boot/amd64/generic/biosboot/link.ld
diff options
context:
space:
mode:
Diffstat (limited to 'boot/amd64/generic/biosboot/link.ld')
-rw-r--r--boot/amd64/generic/biosboot/link.ld26
1 files changed, 26 insertions, 0 deletions
diff --git a/boot/amd64/generic/biosboot/link.ld b/boot/amd64/generic/biosboot/link.ld
new file mode 100644
index 0000000..f039b2b
--- /dev/null
+++ b/boot/amd64/generic/biosboot/link.ld
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2026, Apollo Telephone Laboratories.
+ * Provided under the BSD-3 clause.
+ */
+
+OUTPUT_FORMAT(binary)
+
+SECTIONS {
+ . = 0x7C00;
+
+ .text : {
+ *(.text)
+ }
+
+ .data : {
+ *(.data)
+ }
+
+ .rodata : {
+ *(.rodata)
+ }
+
+ .bss : {
+ *(.bss)
+ }
+}