Re-allow alignment of 0 bits
@@ -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));
}
