[PATCH] Cygwin: define ___CTOR_LIST__ and ___DTOR_LIST__ for AArch64

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Jun 25 11:46:07 GMT 2025


On Jun 24 19:47, Radek Barton via Cygwin-patches wrote:
> Hello.
> 
> This change defines  `___CTOR_LIST__`  and `___DTOR_LIST__` for AArch64 in the same way as for x86_x64 as AArch64 uses `pei-aarch64-little` and x86_x64 uses `pei-x86-64` COFF formats, which both are defined at https://github.com/Windows-on-ARM-Experiments/binutils-woarm64/blob/woarm64/ld/scripttempl/pep.sc#L159 resp. https://github.com/Windows-on-ARM-Experiments/binutils-woarm64/blob/woarm64/ld/emultempl/pep.em.
> 
> Radek
> 
> ---
> >From 1dc5dbeb5e8b9f2783ceddc7dcf227bc7b922e08 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Radek=20Barto=C5=88?= <radek.barton@microsoft.com>
> Date: Fri, 6 Jun 2025 14:12:28 +0200
> Subject: [PATCH] Cygwin: define ___CTOR_LIST__  and ___DTOR_LIST__ for AArch64
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> Signed-off-by: Radek Bartoň <radek.barton@microsoft.com>
> ---
>  winsup/cygwin/cygwin.sc.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Pushed.


Thanks,
Corinna


More information about the Cygwin-patches mailing list