[dpdk-dev] [PATCHv3 2/3] rte_compat: Add MAP_STATIC_SYMBOL macro

2015-06-28 Thread Thomas Monjalon
2015-06-26 10:30, Neil Horman: > On Fri, Jun 26, 2015 at 02:52:50PM +0200, Thomas Monjalon wrote: > > 2015-06-25 10:35, Neil Horman: > > > +/* > > > + * MAP_STATIC_SYMBOL > > > + * If a function has been bifurcated into multiple versions, none of > > > which > > > + * are defined as the exported

[dpdk-dev] [PATCHv3 2/3] rte_compat: Add MAP_STATIC_SYMBOL macro

2015-06-26 Thread Thomas Monjalon
2015-06-25 10:35, Neil Horman: > +/* > + * MAP_STATIC_SYMBOL > + * If a function has been bifurcated into multiple versions, none of which > + * are defined as the exported symbol name in the map file, this macro can be > + * used to alias a specific version of the symbol to its exported name.

[dpdk-dev] [PATCHv3 2/3] rte_compat: Add MAP_STATIC_SYMBOL macro

2015-06-26 Thread Neil Horman
On Fri, Jun 26, 2015 at 02:52:50PM +0200, Thomas Monjalon wrote: > 2015-06-25 10:35, Neil Horman: > > +/* > > + * MAP_STATIC_SYMBOL > > + * If a function has been bifurcated into multiple versions, none of which > > + * are defined as the exported symbol name in the map file, this macro can > >

[dpdk-dev] [PATCHv3 2/3] rte_compat: Add MAP_STATIC_SYMBOL macro

2015-06-26 Thread Gajdzica, MaciejX T
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > Sent: Thursday, June 25, 2015 4:36 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCHv3 2/3] rte_compat: Add MAP_STATIC_SYMBOL > macro > > It was pointed out in my ex

[dpdk-dev] [PATCHv3 2/3] rte_compat: Add MAP_STATIC_SYMBOL macro

2015-06-25 Thread Neil Horman
It was pointed out in my examples that doing shared library symbol versioning by partitioning symbols to version specific functions (as opposed to leaving the latest symol version at the base symbol name), neglects to take into account static builds. Add a macro to handle that. If you choose a