From 2c49f5cec3fd19e124b21b1ccda6f5b547777a5f Mon Sep 17 00:00:00 2001
From: Imbus <>
Date: Sat, 31 May 2025 10:23:24 +0200
Subject: [PATCH] Remove redundant section wildcard members in kernel linker
 script

---
 kernel/kernel.ld | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

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 */