Re: [PATCH v1 1/9] Support weak references

2024-09-05 Thread Martin Storsjö
On Thu, 5 Sep 2024, Evgeny Karpov wrote: Monday, September 2, 2024 Martin Storsjö The patch adds support for weak references. The original MinGW implementation targets ix86, which handles weak symbols differently compared to AArch64. Please clarify this statement. Here is an explanation of

[PATCH v1 1/9] Support weak references

2024-09-05 Thread Evgeny Karpov
Monday, September 2, 2024 Richard Sandiford wrote: > On patch 1, do you have a reference for how AArch64 and x86 handle weak > references for MinGW?  The code looks good, but I didn't really follow > why it was doing what it was doing. Monday, September 2, 2024 Martin Storsjö >> The patch adds

Re: [PATCH v1 1/9] Support weak references

2024-09-02 Thread Martin Storsjö
On Mon, 2 Sep 2024, Evgeny Karpov wrote: The patch adds support for weak references. The original MinGW implementation targets ix86, which handles weak symbols differently compared to AArch64. Please clarify this statement. There is no difference between architectures with respect to how weak

[PATCH v1 1/9] Support weak references

2024-09-02 Thread Evgeny Karpov
The patch adds support for weak references. The original MinGW implementation targets ix86, which handles weak symbols differently compared to AArch64. In AArch64, the weak symbols are replaced by other symbols which reference the original weak symbols, and the compiler does not track the original