Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/include Use minimal alignment for functions in...



details:   https://anonhg.NetBSD.org/src/rev/9b96158c6035
branches:  trunk
changeset: 766127:9b96158c6035
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jun 16 13:16:20 2011 +0000

description:
Use minimal alignment for functions in standalone code.

diffstat:

 sys/arch/i386/include/asm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 43f596dfa1d4 -r 9b96158c6035 sys/arch/i386/include/asm.h
--- a/sys/arch/i386/include/asm.h       Thu Jun 16 09:21:02 2011 +0000
+++ b/sys/arch/i386/include/asm.h       Thu Jun 16 13:16:20 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index