misc: Use KEEP directive on .pe_header section of UEFI LD scripts
diff --git a/bootstrap b/bootstrap
index e3750343..f18f091f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -19,7 +19,7 @@ FREESTANDING_HEADERS_COMMIT_HASH=dd3abd2d7147efc4170dff478d3b7730bed14147
CC_RUNTIME_COMMIT_HASH=38942e9a0d11af77c5d9fb45794850f7a1565d2b
-LIMINE_EFI_COMMIT_HASH=c7d42cae902fc7e3f0b20b428186e8d9b1e9f5b5
+LIMINE_EFI_COMMIT_HASH=f49bfc29a344f1bd57a6a99d8c71fcc133cd72c7
TINF_COMMIT_HASH=57ffa1f1d5e3dde19011b2127bd26d01689b694b
diff --git a/common/linker_uefi_aarch64.ld.in b/common/linker_uefi_aarch64.ld.in
index 3eb07ed2..e2c9fe35 100644
--- a/common/linker_uefi_aarch64.ld.in
+++ b/common/linker_uefi_aarch64.ld.in
@@ -18,7 +18,7 @@ SECTIONS
__image_size = ABSOLUTE(__image_end - __image_base);
.text : {
- *(.pe_header)
+ KEEP(*(.pe_header))
. = ALIGN(0x1000);
diff --git a/common/linker_uefi_ia32.ld.in b/common/linker_uefi_ia32.ld.in
index a5ba7b98..26b734ae 100644
--- a/common/linker_uefi_ia32.ld.in
+++ b/common/linker_uefi_ia32.ld.in
@@ -18,7 +18,7 @@ SECTIONS
__image_size = ABSOLUTE(__image_end - __image_base);
.text : {
- *(.pe_header)
+ KEEP(*(.pe_header))
. = ALIGN(0x1000);
diff --git a/common/linker_uefi_riscv64.ld.in b/common/linker_uefi_riscv64.ld.in
index a7db0cbc..acc868d4 100644
--- a/common/linker_uefi_riscv64.ld.in
+++ b/common/linker_uefi_riscv64.ld.in
@@ -18,7 +18,7 @@ SECTIONS
__image_size = ABSOLUTE(__image_end - __image_base);
.text : {
- *(.pe_header)
+ KEEP(*(.pe_header))
. = ALIGN(0x1000);
diff --git a/common/linker_uefi_x86_64.ld.in b/common/linker_uefi_x86_64.ld.in
index 30ec2309..8a943db4 100644
--- a/common/linker_uefi_x86_64.ld.in
+++ b/common/linker_uefi_x86_64.ld.in
@@ -18,7 +18,7 @@ SECTIONS
__image_size = ABSOLUTE(__image_end - __image_base);
.text : {
- *(.pe_header)
+ KEEP(*(.pe_header))
. = ALIGN(0x1000);
