Skip to content

v2.11.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Nov 01:33
bdc2dda

What's Changed

Full Changelog: v2.10.0...v2.11.0

Highlights

--syntax gas now links C++ compiled with g++ -fno-exceptions, with or without RTTI.

New

  • COMDAT groups ("axG"): the first file's copy of a template or inline function is kept, later copies are dropped, as ld does; before, every copy was stored
  • .init_array/.fini_array (also C __attribute__((constructor))), sorted by priority, between read-only data and data; the link defines __init_array_start/_end and __fini_array_start/_end
  • string merging for 2- and 4-byte characters (wchar_t, char16_t literals)

Fixed

  • a pointer to an undefined weak symbol (__cxa_pure_virtual in a vtable) stays 0 without a fixup

Exceptions remain refused (.gcc_except_table, .uleb128); .cfi_* is read and dropped.

Checked against GNU as + ld, whole image: pugixml, tinyxml2 and a multi-file template test at -O0/-O2/-Os on 68000 to 68060 (36 builds); Doom, Lua, musl and SQLite unchanged.