On Mon, 3 Jun 2024, Pali Rohár wrote:

On Wednesday 29 May 2024 21:52:12 Pali Rohár wrote:
Ok. Then it means, it is needed to just rewrite commit message.

What about this commit message?

crt: Declare aliased __MINGW_IMP_SYMBOL symbols via __attribute__((alias))

Currently __MINGW_IMP_SYMBOL symbols for aliased functions are defined as
a new plain global variable, just like for an original function.

GCC supports declaring global variable as an alias to other global
variable.

Change all aliases of import __MINGW_IMP_SYMBOL symbols via alias
attribute. This reduce memory usage as original symbol and aliased symbol
will share same global variable. Also it makes it clear that the aliased
import symbol is an alias to another import symbol.

Thanks, this commit message seems reasonable to me. I pushed it with that (plus the bottom part of the original message) now.

// Martin

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to