aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/scripts/kernel.ld
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/scripts/kernel.ld')
-rw-r--r--arch/x86_64/scripts/kernel.ld20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld
index c3eea9c..cc07896 100644
--- a/arch/x86_64/scripts/kernel.ld
+++ b/arch/x86_64/scripts/kernel.ld
@@ -48,17 +48,17 @@ SECTIONS
*(.boot_text)
} :boot_text
- .boot_data ALIGN(4K) : AT(ADDR (.boot_data))
- {
- *(.boot_data)
- } :boot_data
-
.boot_bss ALIGN(4K) : AT(ADDR (.boot_bss))
{
*(.boot_bss)
*(.boot_stack)
}
+ .boot_data ALIGN(4K) : AT(ADDR (.boot_data))
+ {
+ *(.boot_data)
+ } :boot_data
+
/***************************************************************************
* Now it is time to load the 64-bit kernel code. We
* make sure to align the loaded data onto a page boundary.
@@ -112,17 +112,17 @@ SECTIONS
KEEP(*crtend.o(.dtors))
}
- .data ALIGN(4K) : AT (ADDR (.data))
- {
- *(.data*)
- }
-
.bss ALIGN(4K) : AT (ADDR (.bss))
{
*(COMMON)
*(.bss*)
}
+ .data ALIGN(4K) : AT (ADDR (.data))
+ {
+ *(.data*)
+ }
+
/***************************************************************************
* In accordance with the symbol definitions at the start, we generate some
* symbols to mark the end of our loaded image.