Fixed some typos in the "large alignment" support.

This commit is contained in:
Greg King
2020-05-15 21:09:02 -04:00
parent 3adeb0f907
commit f8be35b41e
3 changed files with 4 additions and 4 deletions

View File

@@ -306,7 +306,7 @@ void SegAlign (unsigned long Alignment, int FillVal)
ActiveSeg->Align = CombinedAlignment;
/* Output a warning for larger alignments if not suppressed */
if (CombinedAlignment > LARGE_ALIGNMENT && !LargeAlignment) {
if (CombinedAlignment >= LARGE_ALIGNMENT && !LargeAlignment) {
Warning (0, "Combined alignment is suspiciously large (%lu)",
CombinedAlignment);
}
@@ -411,7 +411,7 @@ void SegDone (void)
/* We cannot evaluate the expression now, leave the job for
** the linker. However, we can check if the address size
** matches the fragment size. Mismatches are errors in
** matches the fragment size. Mismatches are errors in
** most situations.
*/
if ((F->Len == 1 && ED.AddrSize > ADDR_SIZE_ZP) ||