ref: 7e2457c9bee44041dbb9ace4d67158711be6352d
parent: 7993d3455d9eef8173fe9d9fb24513989d72ce20
author: Ben <[email protected]>
date: Thu Mar 2 03:29:28 EST 2017
Re-allow alignment of 0 bits
--- a/src/asm/output.c
+++ b/src/asm/output.c
@@ -631,8 +631,8 @@
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));
}