X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/28c176b668c841a3b7fb093faccf0efa39257603..35a7d633d3f16c1e0539af6ca5d8e7482926cd93:/lunaix-os/link/kernel.ldx diff --git a/lunaix-os/link/kernel.ldx b/lunaix-os/link/kernel.ldx index a259e1b..421a9c8 100644 --- a/lunaix-os/link/kernel.ldx +++ b/lunaix-os/link/kernel.ldx @@ -1,31 +1,18 @@ -.text BLOCK(PAGE_GRAN) : AT ( ADDR(.text) - KEXEC_BASE ) +.text BLOCK(PAGE_GRAN) + : AT ( ADDR(.text) - KEXEC_BASE ) { *(.text) -} +} : text -.kf.preempt BLOCK(PAGE_GRAN) : AT ( ADDR(.kf.preempt) - KEXEC_BASE ) -{ - PROVIDE(__kf_preempt_start = .); - - KEEP(*(.kf.preempt)); - - PROVIDE(__kf_preempt_end = .); -} - -PROVIDE(__kexec_text_end = .); - -.data BLOCK(PAGE_GRAN) : AT ( ADDR(.data) - KEXEC_BASE ) +.data BLOCK(PAGE_GRAN) + : AT ( ADDR(.data) - KEXEC_BASE ) { *(.data) -} +} : data -.rodata BLOCK(PAGE_GRAN) : AT ( ADDR(.rodata) - KEXEC_BASE ) +.rodata BLOCK(PAGE_GRAN) + : AT ( ADDR(.rodata) - KEXEC_BASE ) { *(.rodata) *(.rodata.*) -} - -.kpg BLOCK(PAGE_GRAN) : AT ( ADDR(.kpg) - KEXEC_BASE ) -{ - *(.kpg) -} \ No newline at end of file +} : rodata \ No newline at end of file