summaryrefslogtreecommitdiff
path: root/libnl-cli-3.sym
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-04 17:24:38 +0100
committerThomas Haller <thaller@redhat.com>2015-02-02 17:28:06 +0100
commit113bb85acfca43d0e5ce017a12615cafb0b150f4 (patch)
tree0342f13cca2018cdeba3e09222e6678d993c040c /libnl-cli-3.sym
parent541b24935828e3a16b3d5c2094c41fe654f57f7c (diff)
downloadlibnl-113bb85acfca43d0e5ce017a12615cafb0b150f4.tar.gz
build: explicitly list exported symbols in linker scripts
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>
Diffstat (limited to 'libnl-cli-3.sym')
-rw-r--r--libnl-cli-3.sym111
1 files changed, 111 insertions, 0 deletions
diff --git a/libnl-cli-3.sym b/libnl-cli-3.sym
index 35325792..d96ba329 100644
--- a/libnl-cli-3.sym
+++ b/libnl-cli-3.sym
@@ -1,4 +1,115 @@
libnl_3 {
global:
+ __bss_start;
+ _edata;
+ _end;
+ _fini;
+ _init;
+ nl_cli_addr_alloc;
+ nl_cli_addr_parse;
+ nl_cli_addr_parse_broadcast;
+ nl_cli_addr_parse_dev;
+ nl_cli_addr_parse_family;
+ nl_cli_addr_parse_label;
+ nl_cli_addr_parse_local;
+ nl_cli_addr_parse_peer;
+ nl_cli_addr_parse_preferred;
+ nl_cli_addr_parse_scope;
+ nl_cli_addr_parse_valid;
+ nl_cli_alloc_cache;
+ nl_cli_alloc_socket;
+ nl_cli_class_alloc;
+ nl_cli_class_alloc_cache;
+ nl_cli_cls_alloc;
+ nl_cli_cls_alloc_cache;
+ nl_cli_cls_parse_ematch;
+ nl_cli_cls_parse_proto;
+ nl_cli_confirm;
+ nl_cli_connect;
+ nl_cli_ct_alloc;
+ nl_cli_ct_alloc_cache;
+ nl_cli_ct_parse_dst;
+ nl_cli_ct_parse_dst_port;
+ nl_cli_ct_parse_family;
+ nl_cli_ct_parse_id;
+ nl_cli_ct_parse_mark;
+ nl_cli_ct_parse_protocol;
+ nl_cli_ct_parse_src;
+ nl_cli_ct_parse_src_port;
+ nl_cli_ct_parse_status;
+ nl_cli_ct_parse_tcp_state;
+ nl_cli_ct_parse_timeout;
+ nl_cli_ct_parse_use;
+ nl_cli_ct_parse_zone;
+ nl_cli_exp_alloc;
+ nl_cli_exp_alloc_cache;
+ nl_cli_exp_parse_class;
+ nl_cli_exp_parse_dst;
+ nl_cli_exp_parse_dst_port;
+ nl_cli_exp_parse_family;
+ nl_cli_exp_parse_flags;
+ nl_cli_exp_parse_fn;
+ nl_cli_exp_parse_helper_name;
+ nl_cli_exp_parse_icmp_code;
+ nl_cli_exp_parse_icmp_id;
+ nl_cli_exp_parse_icmp_type;
+ nl_cli_exp_parse_id;
+ nl_cli_exp_parse_l4protonum;
+ nl_cli_exp_parse_nat_dir;
+ nl_cli_exp_parse_src;
+ nl_cli_exp_parse_src_port;
+ nl_cli_exp_parse_timeout;
+ nl_cli_exp_parse_zone;
+ nl_cli_fatal;
+ nl_cli_link_alloc;
+ nl_cli_link_alloc_cache;
+ nl_cli_link_alloc_cache_family;
+ nl_cli_link_parse_family;
+ nl_cli_link_parse_ifalias;
+ nl_cli_link_parse_ifindex;
+ nl_cli_link_parse_mtu;
+ nl_cli_link_parse_name;
+ nl_cli_link_parse_txqlen;
+ nl_cli_link_parse_weight;
+ nl_cli_load_module;
+ nl_cli_neigh_alloc;
+ nl_cli_neigh_parse_dev;
+ nl_cli_neigh_parse_dst;
+ nl_cli_neigh_parse_family;
+ nl_cli_neigh_parse_lladdr;
+ nl_cli_neigh_parse_state;
+ nl_cli_parse_dumptype;
+ nl_cli_parse_u32;
+ nl_cli_print_version;
+ nl_cli_qdisc_alloc;
+ nl_cli_route_alloc;
+ nl_cli_route_alloc_cache;
+ nl_cli_route_parse_dst;
+ nl_cli_route_parse_family;
+ nl_cli_route_parse_iif;
+ nl_cli_route_parse_metric;
+ nl_cli_route_parse_nexthop;
+ nl_cli_route_parse_pref_src;
+ nl_cli_route_parse_prio;
+ nl_cli_route_parse_protocol;
+ nl_cli_route_parse_scope;
+ nl_cli_route_parse_src;
+ nl_cli_route_parse_table;
+ nl_cli_route_parse_type;
+ nl_cli_rule_alloc;
+ nl_cli_rule_alloc_cache;
+ nl_cli_rule_parse_family;
+ nl_cli_tc_lookup;
+ nl_cli_tc_parse_dev;
+ nl_cli_tc_parse_handle;
+ nl_cli_tc_parse_kind;
+ nl_cli_tc_parse_linktype;
+ nl_cli_tc_parse_mpu;
+ nl_cli_tc_parse_mtu;
+ nl_cli_tc_parse_overhead;
+ nl_cli_tc_parse_parent;
+ nl_cli_tc_register;
+ nl_cli_tc_unregister;
+local:
*;
};