aboutsummaryrefslogtreecommitdiff
path: root/flat.lds
diff options
context:
space:
mode:
Diffstat (limited to 'flat.lds')
-rw-r--r--flat.lds6
1 files changed, 4 insertions, 2 deletions
diff --git a/flat.lds b/flat.lds
index d12b835..be84ec3 100644
--- a/flat.lds
+++ b/flat.lds
@@ -3,14 +3,16 @@ OUTPUT_ARCH(i386)
SECTIONS
{
. = 1024K - 64K;
+ stext = .;
.text : { *(.text.startup) *(.text) *(.text.*) }
- . = ALIGN(4K);
+ . = ALIGN(16);
.data : { *(.data) }
. = ALIGN(16);
.rodata : { *(.rodata) }
. = ALIGN(16);
.bss : { *(.bss) }
- . = ALIGN(4K);
+ . = ALIGN(16);
+ edata = .;
. = 1024K - 128;
.init : {
*(.init);