diff --git a/arch/arm/core/userspace.S b/arch/arm/core/userspace.S index c5b89843db0..939449e5ba4 100644 --- a/arch/arm/core/userspace.S +++ b/arch/arm/core/userspace.S @@ -25,7 +25,7 @@ GTEXT(z_arch_user_string_nlen_fixup) GDATA(_kernel) /* Imports */ -GTEXT(_k_syscall_table) +GDATA(_k_syscall_table) /** * diff --git a/arch/x86/core/userspace.S b/arch/x86/core/userspace.S index bfaf8062139..814bf80e169 100644 --- a/arch/x86/core/userspace.S +++ b/arch/x86/core/userspace.S @@ -19,7 +19,7 @@ GTEXT(z_arch_user_string_nlen_fault_end) GTEXT(z_arch_user_string_nlen_fixup) /* Imports */ -GTEXT(_k_syscall_table) +GDATA(_k_syscall_table) /* Landing site for syscall SW IRQ. Marshal arguments and call C function for * further processing. We're on the kernel stack for the invoking thread.