From 256b2c871a0f3ac0175de298b78c6ea527f42f60 Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Sat, 28 Mar 2026 15:11:43 +0700 Subject: Set architecture bitness in nasm files Signed-off-by: Alexey Gavrilov --- arch/x86/cpuid/CpuidCheck.nasm | 1 + libgcc/x86/crti.nasm | 1 + libgcc/x86/crtn.nasm | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/x86/cpuid/CpuidCheck.nasm b/arch/x86/cpuid/CpuidCheck.nasm index 67bc9eb..1905a33 100644 --- a/arch/x86/cpuid/CpuidCheck.nasm +++ b/arch/x86/cpuid/CpuidCheck.nasm @@ -1,3 +1,4 @@ +BITS 32 global CPUIDCHK:function CPUIDCHK: push ebx diff --git a/libgcc/x86/crti.nasm b/libgcc/x86/crti.nasm index 57cb8c1..745a0c3 100644 --- a/libgcc/x86/crti.nasm +++ b/libgcc/x86/crti.nasm @@ -1,3 +1,4 @@ +BITS 32 section .init global _init:function _init: diff --git a/libgcc/x86/crtn.nasm b/libgcc/x86/crtn.nasm index 537fa65..8fc8f32 100644 --- a/libgcc/x86/crtn.nasm +++ b/libgcc/x86/crtn.nasm @@ -1,3 +1,4 @@ +BITS 32 section .init pop ebp ret -- cgit v1.2.3