From eda973708399a17a799ec2d5dea7052dc50285eb Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Thu, 2 May 2013 22:37:46 -0600 Subject: [PATCH] modified the "first" section names to look nicer --- kernel/kernel.ldi | 4 ++-- kernel/prestart.S | 2 +- kernel/start.S | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/kernel.ldi b/kernel/kernel.ldi index e5fdb06..b8ed3d2 100644 --- a/kernel/kernel.ldi +++ b/kernel/kernel.ldi @@ -40,7 +40,7 @@ SECTIONS /* space is reclaimed once the kernel begins operation in high memory with MMU on */ .prestart.text PHYSADDR_LOAD : AT (PHYSADDR_LOAD) { paPrestartCode = .; - *(.prestartHEAD.text) /* must be first! */ + *(.first.prestart.text) /* must be first! */ *(.prestart.text) *(.prestart.rodata) *(.prestart.rodata.*) @@ -100,7 +100,7 @@ SECTIONS /* space is reclaimed once the kernel finishes initialization */ .init.text : AT(paInitCode) { vmaInitCode = .; - *(.initHEAD.text) /* must be first! */ + *(.first.init.text) /* must be first! */ *(.init.text) *(.init.rodata) *(.init.rodata.*) diff --git a/kernel/prestart.S b/kernel/prestart.S index 9eb8b03..02f6041 100644 --- a/kernel/prestart.S +++ b/kernel/prestart.S @@ -41,7 +41,7 @@ *------------------------------------------------------------------------------------------ */ -.section ".prestartHEAD.text" +.section ".first.prestart.text" .globl COMROGUEPrestart diff --git a/kernel/start.S b/kernel/start.S index 1271e62..5861dad 100644 --- a/kernel/start.S +++ b/kernel/start.S @@ -33,7 +33,7 @@ #include #include "sizes.h" -.section ".initHEAD.text" +.section ".first.init.text" .globl COMROGUEStart