:: commit 5bca3c0b5f6f4d48ecbc88023674fab533708102

Mintsuki <mintsuki@protonmail.com> — 2025-07-28 02:21

parents: e23eff73a5

Revert "build: Update loongarch64 ld script to sync with 75d7f372bf2b7723f832484ebd38100db035f948"

This reverts commit 3bd64aa39c12624340bb3aad0b7b03b47040faf9.
diff --git a/common/linker_uefi_loongarch64.ld.in b/common/linker_uefi_loongarch64.ld.in
index 4d0dc746..02d02add 100644
--- a/common/linker_uefi_loongarch64.ld.in
+++ b/common/linker_uefi_loongarch64.ld.in
@@ -3,10 +3,10 @@ ENTRY(_start)
 
 PHDRS
 {
-    text    PT_LOAD    FLAGS((1 << 0) | (1 << 2)) ;
-    rodata  PT_LOAD    FLAGS((1 << 2)) ;
-    data    PT_LOAD    FLAGS((1 << 1) | (1 << 2)) ;
-    dynamic PT_DYNAMIC FLAGS((1 << 1) | (1 << 2)) ;
+    text    PT_LOAD    FLAGS(0x05);
+    rodata  PT_LOAD    FLAGS(0x04);
+    data    PT_LOAD    FLAGS(0x06);
+    dynamic PT_DYNAMIC FLAGS(0x06);
 }
 
 SECTIONS
tab: 248 wrap: offon