[PATCH 3/3] ld/testsuite: Add comprehensive PE COFF weak external tests

Alan Modra amodra@gmail.com
Mon Jun 1 10:39:11 GMT 2026


On Sat, May 30, 2026 at 03:15:22PM -0400, Peter Damianov wrote:
> Add tests covering the full matrix of weak/strong symbol interactions
> for PE COFF weak externals, based on testcases by Martin Storsjo.

On a cross build of x86_64-w64-mingw32 from x86_64-linux with gcc
13.2.0-6ubuntu1+26.1 installed, I see
x86_64-w64-mingw32  +FAIL: weak external: strong undef + weak def (link)
x86_64-w64-mingw32  +FAIL: weak external: duplicate weak defs (link)

-- 
Alan Modra


More information about the Binutils mailing list