shithub: rgbds

Download patch

ref: 062fa5392b32c7901bdbe5093ade905500536eb9
parent: baeec2315fd4acab9f3f1021ba98a731ba0de2b9
author: ISSOtm <[email protected]>
date: Sun Mar 22 07:52:31 EDT 2020

Still override alignment even if not satisfied

--- a/src/asm/section.c
+++ b/src/asm/section.c
@@ -107,8 +107,7 @@
 			if (org & mask)
 				yyerror("Section \"%s\"'s fixed address doesn't match its alignment",
 					pzName);
-			else
-				alignment = 1; /* Ignore it if it's satisfied */
+			alignment = 1; /* Ignore it if it's satisfied */
 		}
 	}