mbox series

[v2,0/2] add missing local symbols catch-all

Message ID 20220308142412.2069408-1-thomas@monjalon.net (mailing list archive)
Headers
Series add missing local symbols catch-all |

Message

Thomas Monjalon March 8, 2022, 2:24 p.m. UTC
  The libraries (and driver) regexdev, gpudev and auxiliary bus
were missing "local:*" in their version.map linker script
which catch all non-listed functions to be hidden in shared libraries.

v2: add a devtools check

Thomas Monjalon (2):
  regexdev: fix section attribute of symbols
  build: hide local symbols in shared libraries

 devtools/check-symbol-maps.sh      |  7 +++++++
 devtools/libabigail.abignore       | 12 ++++++++++++
 drivers/bus/auxiliary/version.map  |  2 ++
 lib/gpudev/version.map             |  2 ++
 lib/regexdev/rte_regexdev.h        |  4 ++++
 lib/regexdev/rte_regexdev_driver.h |  3 +++
 lib/regexdev/version.map           | 11 +++++++++++
 7 files changed, 41 insertions(+)
  

Comments

Thomas Monjalon March 8, 2022, 2:31 p.m. UTC | #1
08/03/2022 15:24, Thomas Monjalon:
> The libraries (and driver) regexdev, gpudev and auxiliary bus
> were missing "local:*" in their version.map linker script
> which catch all non-listed functions to be hidden in shared libraries.
> 
> v2: add a devtools check
> 
> Thomas Monjalon (2):
>   regexdev: fix section attribute of symbols
>   build: hide local symbols in shared libraries

Applied