add asm headers and linker scripts for aarch64
[lunaix-os.git] / lunaix-os / arch / aarch64 / includes / linking / boot_secs.ldx
diff --git a/lunaix-os/arch/aarch64/includes/linking/boot_secs.ldx b/lunaix-os/arch/aarch64/includes/linking/boot_secs.ldx
new file mode 100644 (file)
index 0000000..aee31e3
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef __LUNAIX_BOOT_SECS_LD_INC
+#define __LUNAIX_BOOT_SECS_LD_INC
+
+#include "base_defs.ld.inc"
+
+.boot.text BLOCK(PAGE_GRAN) :
+{
+    *(.boot.text)
+} : boot_text 
+
+.boot.data BLOCK(PAGE_GRAN) :
+{
+    *(.boot.data)
+    *(.boot.bss)
+} : boot_data
+
+#endif
\ No newline at end of file