modified the "first" section names to look nicer

This commit is contained in:
Eric J. Bowersox 2013-05-02 22:37:46 -06:00
parent 622b4cfe3c
commit eda9737083
3 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ SECTIONS
/* space is reclaimed once the kernel begins operation in high memory with MMU on */ /* space is reclaimed once the kernel begins operation in high memory with MMU on */
.prestart.text PHYSADDR_LOAD : AT (PHYSADDR_LOAD) { .prestart.text PHYSADDR_LOAD : AT (PHYSADDR_LOAD) {
paPrestartCode = .; paPrestartCode = .;
*(.prestartHEAD.text) /* must be first! */ *(.first.prestart.text) /* must be first! */
*(.prestart.text) *(.prestart.text)
*(.prestart.rodata) *(.prestart.rodata)
*(.prestart.rodata.*) *(.prestart.rodata.*)
@ -100,7 +100,7 @@ SECTIONS
/* space is reclaimed once the kernel finishes initialization */ /* space is reclaimed once the kernel finishes initialization */
.init.text : AT(paInitCode) { .init.text : AT(paInitCode) {
vmaInitCode = .; vmaInitCode = .;
*(.initHEAD.text) /* must be first! */ *(.first.init.text) /* must be first! */
*(.init.text) *(.init.text)
*(.init.rodata) *(.init.rodata)
*(.init.rodata.*) *(.init.rodata.*)

View File

@ -41,7 +41,7 @@
*------------------------------------------------------------------------------------------ *------------------------------------------------------------------------------------------
*/ */
.section ".prestartHEAD.text" .section ".first.prestart.text"
.globl COMROGUEPrestart .globl COMROGUEPrestart

View File

@ -33,7 +33,7 @@
#include <comrogue/internals/sctlr.h> #include <comrogue/internals/sctlr.h>
#include "sizes.h" #include "sizes.h"
.section ".initHEAD.text" .section ".first.init.text"
.globl COMROGUEStart .globl COMROGUEStart