From: John Hodge Date: Sat, 2 Jul 2011 04:38:19 +0000 (+0800) Subject: Kernel/x86_64 - Cleaning up unused symbols in linker script X-Git-Tag: rel0.10~55 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4cbfb47ebf71128b57cf25a131550b3f66a295a3;p=tpg%2Facess2.git Kernel/x86_64 - Cleaning up unused symbols in linker script --- diff --git a/Kernel/arch/x86_64/link.ld b/Kernel/arch/x86_64/link.ld index b475f690..49fe7ae3 100644 --- a/Kernel/arch/x86_64/link.ld +++ b/Kernel/arch/x86_64/link.ld @@ -32,8 +32,8 @@ SECTIONS { .usertext ALIGN(0x1000): AT(ADDR(.usertext) - _kernel_base) { _UsertextBase = .; *(.usertext) + _UsertextEnd = .; } - _UsertextEnd = .; .rodata ALIGN(0x1000): AT(ADDR(.rodata) - _kernel_base) { *(.initpd) @@ -57,10 +57,8 @@ SECTIONS { __bss_start = .; .bss : AT(ADDR(.bss) - _kernel_base) { - _sbss = .; *(COMMON) *(.bss) - _ebss = .; } gKernelEnd = (. + 0xFFF)&0xFFFFFFFFFFFFF000; }