1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

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

@ -226,7 +226,7 @@ Here is a description of all the command line options:
<tag><tt>--large-alignment</tt></tag>
Disable warnings about a large combined alignment. See the discussion of the
<tt><ref id=".ALIGN" name=".ALIGN"></tt> directive for futher information.
<tt><ref id=".ALIGN" name=".ALIGN"></tt> directive for further information.
<label id="option--list-bytes">

View File

@ -303,7 +303,7 @@ Here is a description of all of the command-line options:
<tag><tt>--large-alignment</tt></tag>
Disable warnings about a large combined alignment. See the discussion of the
<tt/.ALIGN/ directive in the ca65 Users Guide for futher information.
<tt/.ALIGN/ directive in the ca65 Users Guide for further information.
<tag><tt>--lib file</tt></tag>

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) ||