Thank you for the historical information regarding the introduction of the features. I can confirm that removing the HAVE_GAS_WEAK check and setting HAVE_GAS_ALIGNED_COMM to 1 by default works well. These changes will be included in v2.
Regards, Evgeny -----Original Message----- Thursday, February 22, 2024 2:23 PM Richard Earnshaw (lists) 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.