Re: [RFC v3 3/8] eal: rework function versioning macros

2025-03-13 Thread David Marchand
On Thu, Mar 13, 2025 at 5:54 PM Bruce Richardson wrote: > > diff --git a/doc/guides/contributing/abi_versioning.rst > > b/doc/guides/contributing/abi_versioning.rst > > index 7afd1c1886..88dd776b4c 100644 > > --- a/doc/guides/contributing/abi_versioning.rst > > +++ b/doc/guides/contributing/abi_v

Re: [RFC v3 3/8] eal: rework function versioning macros

2025-03-13 Thread Bruce Richardson
On Tue, Mar 11, 2025 at 10:56:01AM +0100, David Marchand wrote: > For versioning symbols: > - MSVC uses pragmas on the symbol, > - GNU linker uses special asm directives, > > To accommodate both GNU linker and MSVC linker, introduce new macros for > exporting and versioning symbols that will surro

[RFC v3 3/8] eal: rework function versioning macros

2025-03-11 Thread David Marchand
For versioning symbols: - MSVC uses pragmas on the symbol, - GNU linker uses special asm directives, To accommodate both GNU linker and MSVC linker, introduce new macros for exporting and versioning symbols that will surround the whole function. This has the advantage of hiding all the ugly detai