From 38d9f87c5086ca132fea43912d6f6ad777c2c852 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 30 Jun 2022 17:27:48 +0200 Subject: kernel/linker: rename .text.early to .shared It's not really just a text section, as it's writeable too. Makes gcc shut up about invalid section attributes. --- src/kernel/arch/i386/sysenter.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch/i386/sysenter.s') diff --git a/src/kernel/arch/i386/sysenter.s b/src/kernel/arch/i386/sysenter.s index 70e9f13..edfabf0 100644 --- a/src/kernel/arch/i386/sysenter.s +++ b/src/kernel/arch/i386/sysenter.s @@ -28,7 +28,7 @@ sysenter_setup: ret -.section .text.early +.section .shared .global stored_eax stored_eax: -- cgit v1.2.3