From 7e2457c9bee44041dbb9ace4d67158711be6352d Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 2 Mar 2017 08:29:28 +0000 Subject: [PATCH] Re-allow alignment of 0 bits --- src/asm/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asm/output.c b/src/asm/output.c index 696c1a5b..92340fa8 100644 --- a/src/asm/output.c +++ b/src/asm/output.c @@ -631,8 +631,8 @@ out_NewAbsSection(char *pzName, ULONG secttype, SLONG org, SLONG bank) void out_NewAlignedSection(char *pzName, ULONG secttype, SLONG alignment, SLONG bank) { - if (alignment < 1 || alignment > 16) { - yyerror("Alignment must be between 1-16 bits."); + if (alignment < 0 || alignment > 16) { + yyerror("Alignment must be between 0-16 bits."); } out_SetCurrentSection(out_FindSection(pzName, secttype, -1, bank, 1 << alignment)); }