diff --git a/purgatory/arch/i386/entry32-16-debug.S b/purgatory/arch/i386/entry32-16-debug.S index 5167944d..12e11649 100644 --- a/purgatory/arch/i386/entry32-16-debug.S +++ b/purgatory/arch/i386/entry32-16-debug.S @@ -25,10 +25,10 @@ .globl entry16_debug_pre32 .globl entry16_debug_first32 .globl entry16_debug_old_first32 - .arch i386 .balign 16 entry16_debug: .code32 + .arch i386 /* Compute where I am running at (assumes esp valid) */ call 1f 1: popl %ebx diff --git a/purgatory/arch/i386/entry32-16.S b/purgatory/arch/i386/entry32-16.S index c051aab0..eace0958 100644 --- a/purgatory/arch/i386/entry32-16.S +++ b/purgatory/arch/i386/entry32-16.S @@ -20,10 +20,10 @@ #undef i386 .text .globl entry16, entry16_regs - .arch i386 .balign 16 entry16: .code32 + .arch i386 /* Compute where I am running at (assumes esp valid) */ call 1f 1: popl %ebx diff --git a/purgatory/arch/i386/entry32.S b/purgatory/arch/i386/entry32.S index f7a494f1..8ce9e316 100644 --- a/purgatory/arch/i386/entry32.S +++ b/purgatory/arch/i386/entry32.S @@ -20,10 +20,10 @@ #undef i386 .text - .arch i386 .globl entry32, entry32_regs entry32: .code32 + .arch i386 /* Setup a gdt that should that is generally usefully */ lgdt %cs:gdt diff --git a/purgatory/arch/i386/setup-x86.S b/purgatory/arch/i386/setup-x86.S index 201bb2cb..a212eed4 100644 --- a/purgatory/arch/i386/setup-x86.S +++ b/purgatory/arch/i386/setup-x86.S @@ -21,10 +21,10 @@ #undef i386 .text - .arch i386 .globl purgatory_start purgatory_start: .code32 + .arch i386 /* Load a gdt so I know what the segment registers are */ lgdt %cs:gdt