aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/i386/system/kernel.ld
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/i386/system/kernel.ld')
-rw-r--r--tests/tcg/i386/system/kernel.ld23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/tcg/i386/system/kernel.ld b/tests/tcg/i386/system/kernel.ld
new file mode 100644
index 0000000000..92de525e93
--- /dev/null
+++ b/tests/tcg/i386/system/kernel.ld
@@ -0,0 +1,23 @@
+SECTIONS {
+ . = 0x100000;
+
+ .text : {
+ __load_st = .;
+ *(.head)
+ *(.text)
+ }
+
+ .rodata : {
+ *(.rodata)
+ }
+
+ .data : {
+ *(.data)
+ __load_en = .;
+ }
+
+ .bss : {
+ *(.bss)
+ __bss_en = .;
+ }
+}