Repository navigation
v2.9.1
What's Changed
- Release 2.9.1 by @Attackwave in #162
Full Changelog: v2.9.0...v2.9.1
Highlights
Robustness pass over --syntax gas, with a new fuzz target for it.
Fixed: wrong code without an error
- an index register without a size (
(%a0,%d1)) is long, as in GNU as; it was encoded as a word index - a displacement whose labels only partly cancel (
(a-b+c-b)(%a0)) was dropped - a numeric
d(%pc)behind a leading extension word (mulu.l,divs.l, FPU, bitfield,chk2/cmp2) was 2 bytes short - a byte branch displacement of -1 (
$FF, the 32-bit form on a 68020) is refused movem/fmovemmasks wider than 16/8 bits are refused instead of truncated- adjacent strings (
.ascii "ab" "cd") are joined;>>is unsigned, as in GNU as .previous/.pushsectionin a dropped debug section are refused instead of skipped together with the code after them
Fixed: crashes and unbounded memory
- the stored image is limited to 16 MiB and the program must end 256 bytes below 4 GiB; sizes beyond that panicked, wrapped
__bss_endor allocated up to 4 GB - checked arithmetic in expressions, at most 256 operators per expression
- long chains of branches that grow one after another no longer hit the relaxation limit
C compiler output is unaffected: whole-image parity with GNU as + ld is unchanged on the test code bases (68000 to 68060).