diff --git a/kernel/kernel.ld b/kernel/kernel.ld index 2844edf..b355405 100644 --- a/kernel/kernel.ld +++ b/kernel/kernel.ld @@ -16,7 +16,7 @@ SECTIONS */ .text : { /* Match any section that starts with .text. */ - *(.text .text.*) + *(.text*) /* Align the next section to a 4KB (page) boundary. */ . = ALIGN(0x1000); @@ -44,9 +44,9 @@ SECTIONS .rodata : { /* Align on quadword boundary. */ . = ALIGN(16); - *(.srodata .srodata.*) /* do not need to distinguish this from .rodata */ + *(.srodata*) /* do not need to distinguish this from .rodata */ . = ALIGN(16); - *(.rodata .rodata.*) + *(.rodata*) } /* @@ -55,9 +55,9 @@ SECTIONS */ .data : { . = ALIGN(16); - *(.sdata .sdata.*) /* do not need to distinguish this from .data */ + *(.sdata*) /* do not need to distinguish this from .data */ . = ALIGN(16); - *(.data .data.*) + *(.data*) } /* @@ -68,9 +68,9 @@ SECTIONS */ .bss : { . = ALIGN(16); - *(.sbss .sbss.*) /* do not need to distinguish this from .bss */ + *(.sbss*) /* do not need to distinguish this from .bss */ . = ALIGN(16); - *(.bss .bss.*) + *(.bss*) } /* Define symbol end as current location, note that this is not aligned, see vm.c */