summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p/link.ld9
1 files changed, 6 insertions, 3 deletions
diff --git a/p/link.ld b/p/link.ld
index 998da93..b3e315e 100644
--- a/p/link.ld
+++ b/p/link.ld
@@ -5,9 +5,12 @@ SECTIONS
{
. = 0x80000000;
.text.init : { *(.text.init) }
- .tohost ALIGN(0x1000) : { *(.tohost) }
- .text ALIGN(0x1000) : { *(.text) }
- .data ALIGN(0x1000) : { *(.data) }
+ . = ALIGN(0x1000);
+ .tohost : { *(.tohost) }
+ . = ALIGN(0x1000);
+ .text : { *(.text) }
+ . = ALIGN(0x1000);
+ .data : { *(.data) }
.bss : { *(.bss) }
_end = .;
}