From 062fa5392b32c7901bdbe5093ade905500536eb9 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sun, 22 Mar 2020 11:52:31 +0100 Subject: [PATCH] Still override alignment even if not satisfied --- src/asm/section.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/asm/section.c b/src/asm/section.c index 812d5da5..4dbf0130 100644 --- a/src/asm/section.c +++ b/src/asm/section.c @@ -107,8 +107,7 @@ static struct Section *getSection(char const *pzName, enum SectionType type, 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 */ } }