eal: introduce destructor macros
authorGaetan Rivet <gaetan.rivet@6wind.com>
Wed, 11 Jul 2018 21:44:56 +0000 (23:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Jul 2018 21:42:27 +0000 (23:42 +0200)
commita671f01fcc65a884122bf69a71553c533649eebb
treeaeb982ea8c39d0d353f47ca29eb7c157377dfb6b
parent5d6af85ab00c23f41429f335e462482093994b6e
eal: introduce destructor macros

This macro adds symbols to the .fini section using the global
RTE priorities, to ensure consistency.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_eal/common/include/rte_common.h