[PATCH 0/5] add linker version script for shared libraries

Thomas Haller thaller at redhat.com
Sun Jan 4 08:24:35 PST 2015


Before there was only one linker version script that exported
all symbols. This lead to have symbols exported, that should not
be public.

Add individual linker scripts and explicitly name the public symbols,
and marking all other as local.

Some of these patches are ABI changes, but I still think they are
the right thing to do.


Thomas Haller (5):
  build: add individual linker version scripts for shared libraries
  build: add linker scripts for libnl-cli-3.so library
  build: explicitly list exported symbols in linker scripts
  build: move linker script symbols since last stable release to own
    section
  build: don't export internal symbols

 .gitignore          |   1 -
 Makefile.am         |   9 +-
 configure.ac        |   1 -
 lib/Makefile.am     |  33 +-
 libnl-3.sym         | 321 ++++++++++++++++++++
 libnl-cli-3.sym     | 110 +++++++
 libnl-genl-3.sym    |  48 +++
 libnl-idiag-3.sym   | 107 +++++++
 libnl-nf-3.sym      | 314 +++++++++++++++++++
 libnl-route-3.sym   | 847 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 libnl-xfrm-3.sym    | 246 +++++++++++++++
 libnl.sym.in        |   9 -
 src/lib/Makefile.am |   6 +
 13 files changed, 2038 insertions(+), 14 deletions(-)
 create mode 100644 libnl-3.sym
 create mode 100644 libnl-cli-3.sym
 create mode 100644 libnl-genl-3.sym
 create mode 100644 libnl-idiag-3.sym
 create mode 100644 libnl-nf-3.sym
 create mode 100644 libnl-route-3.sym
 create mode 100644 libnl-xfrm-3.sym
 delete mode 100644 libnl.sym.in

-- 
1.9.3




More information about the libnl mailing list