On 21/02/2024 18:36, Evgeny Karpov wrote: > +/* GNU as supports weak symbols on PECOFF. */ +#ifdef HAVE_GAS_WEAK
Can't we assume this is true? It was most likely needed on i386 because support goes back longer than the assembler had this feature, but it looks like it was added in 2000, or thereabouts, so significantly before aarch64 was supported in the assembler. +#ifndef HAVE_GAS_ALIGNED_COMM And this was added to GCC in 2009, which probably means it predates aarch64-coff support in gas as well. R.