Reduce the alignment constraint from 4 to 2. This fixes the problem where

gas(2) pads the text segment with 0x0 instead of NOP. Since m68k instructions
only need 16-bit alignment, .align 2 works just fine.
This commit is contained in:
scw 2001-10-13 09:21:50 +00:00
parent 8b4596288b
commit f768a5c42b
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dot_init.h,v 1.1 2001/05/12 00:17:55 kleink Exp $ */
/* $NetBSD: dot_init.h,v 1.2 2001/10/13 09:21:50 scw Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@ -51,7 +51,7 @@
__asm ( \
".section "#sect",\"ax\",@progbits \n"\
#entry_pt": \n"\
" .align 4 \n"\
" .align 2 \n"\
" /* fall thru */ \n"\
".previous")