Module Name: src
Committed By: joerg
Date: Thu Jun 16 13:16:20 UTC 2011
Modified Files:
src/sys/arch/i386/include: asm.h
Log Message:
Use minimal alignment for functions in standalone code.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/i386/include/asm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/include/asm.h
diff -u src/sys/arch/i386/include/asm.h:1.39 src/sys/arch/i386/include/asm.h:1.40
--- src/sys/arch/i386/include/asm.h:1.39 Mon Dec 20 21:11:24 2010
+++ src/sys/arch/i386/include/asm.h Thu Jun 16 13:16:20 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.39 2010/12/20 21:11:24 joerg Exp $ */
+/* $NetBSD: asm.h,v 1.40 2011/06/16 13:16:20 joerg Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -85,7 +85,7 @@
/* let kernels and others override entrypoint alignment */
#if !defined(_ALIGN_TEXT) && !defined(_KERNEL)
# ifdef _STANDALONE
-# define _ALIGN_TEXT .align 4
+# define _ALIGN_TEXT .align 1
# elif defined __ELF__
# define _ALIGN_TEXT .align 16
# else