Improve error message for align failure (#1721)

This commit is contained in:
Rangi
2025-07-06 08:36:11 -04:00
committed by GitHub
parent 185a3b29e6
commit e14f68d1d7
3 changed files with 20 additions and 10 deletions

View File

@@ -1,3 +1,3 @@
error: fragment-align.asm(25):
Section's alignment fails required alignment (offset from section start = $0004)
Section is misaligned ($0004 bytes into the section, expected ALIGN[2, 0], got ALIGN[2, 1])
error: Assembly aborted (1 error)!