Skip to content

v2.10.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 10:07
b45653f

What's Changed

Full Changelog: v2.9.1...v2.10.0

Highlights

--syntax gas now links musl libc and SQLite as compiled by GCC, in addition to Doom and Lua.

New

  • .weak: a strong definition replaces a weak one, an undefined weak symbol resolves to 0 (a jbsr to it becomes jsr 0.l)
  • .set, .equ and name = expr, including aliases of labels (identical-code folding emits same = helper)
  • broken words: a .word a-b that overflows 16 bits is redirected through a jump stub placed before the next label, as in GNU as (bra.l on 68020+, jmp abs.l with a fixup on 68000)
  • cas; mov as an alias of move

Fixed

  • a bitfield width of 0 ({#0:#0}) means 32
  • a branch to a local alias of a label was sized against the wrong item
  • an alignment of 32 KiB or coarser panicked while looking for the fixups

Checked against GNU as + ld, whole image: musl on 68000 to 68060 at -O0/-O2/-O3/-Os, SQLite at -O0 on all CPUs and -Os on 68000. The other SQLite builds differ only where GNU as over-grows branches; with GNU's branch sizes pinned they are byte-identical.