summaryrefslogtreecommitdiff
path: root/libnl-xfrm-3.sym
AgeCommit message (Collapse)Author
2015-02-02build: don't export internal symbolsThomas Haller
Hide internal symbols from the libraries. Before, all symbols were exported, including some that were not meant to be public. Hide them now. This is an ABI break, but nobody was supposed to use these symbols. Hence it seems acceptable to hide them now. Still don't hide any symbols that are internal, but wrongly exported in public header files (such as @ct_obj_ops). Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02build: explicitly list exported symbols in linker scriptsThomas Haller
Before all symbols (global: *;) were exported, which included some symbols that should not be exported. Update the symbol files to exclude everything by default and name the exported symbols explicitly. Still the same symbols as before are exported. for SO in ./lib/.libs/*.so ./src/lib/.libs/*.so; do SYM="$(basename "$SO")" SYM="${SYM%.so}.sym" cat <<EOF | sed 's/^ *>> //' > "$SYM" >> libnl_3 { >> global: >> $(nm "$SO" | sed -n 's/^[a-fA-F0-9]\+ [BDRT] \(.*\)/\t\1;/p' | LANG=C sort) >> local: >> $(echo -e '\t')*; >> }; EOF done Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02build: add individual linker version scripts for shared librariesThomas Haller
Instead of using a shared version script 'libnl.sym', add individual linker scripts for all libnl libraries. For now, the content of the version script is unchanged and this patch does not have any externally visible changes. Signed-off-by: Thomas Haller <thaller@redhat.com>