From 87e263f5feeeb0e52cbb5f7d0cc88084642fcee7 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Mon, 1 Apr 2024 20:52:55 +0300 Subject: [PATCH] Fix warning "ignoring changed section attributes for .text" --- arch/amd64/cpu/smp_trampoline.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/amd64/cpu/smp_trampoline.s b/arch/amd64/cpu/smp_trampoline.s index 99d02841..85c17afb 100644 --- a/arch/amd64/cpu/smp_trampoline.s +++ b/arch/amd64/cpu/smp_trampoline.s @@ -24,7 +24,7 @@ TRAMPOLINE_IDT = 0x590 TRAMPOLINE_CORE = 0x600 TRAMPOLINE_START = 0x2000 -.section .text, "a" +.section .rodata /* ========== 16-bit ========== */