summaryrefslogtreecommitdiffhomepage
path: root/src/ppc64/linkscript.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppc64/linkscript.ld')
-rw-r--r--src/ppc64/linkscript.ld15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ppc64/linkscript.ld b/src/ppc64/linkscript.ld
new file mode 100644
index 0000000..da9209c
--- /dev/null
+++ b/src/ppc64/linkscript.ld
@@ -0,0 +1,15 @@
+ENTRY(mp_reset_vector)
+SECTIONS
+{
+ . = 0xf00000;
+
+ .startup . : { ppc64-boot.o(.text) }
+ .text : { *(.text) }
+ .data : { *(.data) }
+ .bss : { *(.bss COMMON) }
+ . = ALIGN(8);
+ . = . + 0x1000; /* 4kB of stack memory */
+ stack_top = .;
+
+ PROVIDE(mp_memory_end = .);
+}