From 3c427d61c866dd9155d662f2600a499a531de865 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 12 Oct 2012 15:00:34 +0000 Subject: Force 16 byte alignment in boot(8) srt0.S, since this is more likely to get the required file offset (0x120) for the .text segment. --- sys/arch/i386/stand/boot/conf.c | 4 ++-- sys/arch/i386/stand/boot/srt0.S | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/i386/stand') diff --git a/sys/arch/i386/stand/boot/conf.c b/sys/arch/i386/stand/boot/conf.c index 45665de7c8d..ee1c88f35f7 100644 --- a/sys/arch/i386/stand/boot/conf.c +++ b/sys/arch/i386/stand/boot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.48 2012/10/09 14:01:36 jsing Exp $ */ +/* $OpenBSD: conf.c,v 1.49 2012/10/12 15:00:33 jsing Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -43,7 +43,7 @@ #include #include "debug.h" -const char version[] = "3.19"; +const char version[] = "3.20"; int debug = 1; diff --git a/sys/arch/i386/stand/boot/srt0.S b/sys/arch/i386/stand/boot/srt0.S index 81e3d7b4f7d..868b3264d1c 100644 --- a/sys/arch/i386/stand/boot/srt0.S +++ b/sys/arch/i386/stand/boot/srt0.S @@ -1,4 +1,4 @@ -/* $OpenBSD: srt0.S,v 1.15 2012/10/09 11:39:57 jsing Exp $ */ +/* $OpenBSD: srt0.S,v 1.16 2012/10/12 15:00:33 jsing Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -40,6 +40,7 @@ .globl Gdtr .text + .align 16 .code16 .globl _start _start: -- cgit v1.2.3