[PATCH 4/5] build: move linker script symbols since last stable release to own section

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


Move the symbols that were added since the last stable release to a new
section of the linker file.

Signed-off-by: Thomas Haller <thaller at redhat.com>
---
 libnl-3.sym       |  8 ++++++--
 libnl-route-3.sym | 36 ++++++++++++++++++++----------------
 2 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/libnl-3.sym b/libnl-3.sym
index a4b3390..8425cc2 100644
--- a/libnl-3.sym
+++ b/libnl-3.sym
@@ -92,7 +92,6 @@ global:
 	nl_cache_parse;
 	nl_cache_parse_and_add;
 	nl_cache_pickup;
-	nl_cache_pickup_checkdup;
 	nl_cache_put;
 	nl_cache_refill;
 	nl_cache_remove;
@@ -181,7 +180,6 @@ global:
 	nl_object_update;
 	nl_perror;
 	nl_pickup;
-	nl_pickup_keep_syserr;
 	nl_prob2int;
 	nl_rate2str;
 	nl_recv;
@@ -322,3 +320,9 @@ global:
 local:
 	*;
 };
+
+libnl_3_2_26 {
+global:
+	nl_cache_pickup_checkdup;
+	nl_pickup_keep_syserr;
+} libnl_3;
diff --git a/libnl-route-3.sym b/libnl-route-3.sym
index cf38a31..94d6329 100644
--- a/libnl-route-3.sym
+++ b/libnl-route-3.sym
@@ -183,12 +183,6 @@ global:
 	rtnl_class_foreach_child;
 	rtnl_class_foreach_cls;
 	rtnl_class_get;
-	rtnl_class_hfsc_get_fsc;
-	rtnl_class_hfsc_get_rsc;
-	rtnl_class_hfsc_get_usc;
-	rtnl_class_hfsc_set_fsc;
-	rtnl_class_hfsc_set_rsc;
-	rtnl_class_hfsc_set_usc;
 	rtnl_class_leaf_qdisc;
 	rtnl_class_put;
 	rtnl_classid_generate;
@@ -364,12 +358,6 @@ global:
 	rtnl_link_get_type;
 	rtnl_link_get_weight;
 	rtnl_link_i2name;
-	rtnl_link_inet6_addrgenmode2str;
-	rtnl_link_inet6_get_addr_gen_mode;
-	rtnl_link_inet6_get_token;
-	rtnl_link_inet6_set_addr_gen_mode;
-	rtnl_link_inet6_set_token;
-	rtnl_link_inet6_str2addrgenmode;
 	rtnl_link_inet_devconf2str;
 	rtnl_link_inet_get_conf;
 	rtnl_link_inet_set_conf;
@@ -713,8 +701,6 @@ global:
 	rtnl_qdisc_fq_codel_set_target;
 	rtnl_qdisc_get;
 	rtnl_qdisc_get_by_parent;
-	rtnl_qdisc_hfsc_get_defcls;
-	rtnl_qdisc_hfsc_set_defcls;
 	rtnl_qdisc_plug_buffer;
 	rtnl_qdisc_plug_release_indefinite;
 	rtnl_qdisc_plug_release_one;
@@ -902,9 +888,7 @@ global:
 	rtnl_u32_add_key_uint16;
 	rtnl_u32_add_key_uint32;
 	rtnl_u32_add_key_uint8;
-	rtnl_u32_add_mark;
 	rtnl_u32_del_action;
-	rtnl_u32_del_mark;
 	rtnl_u32_get_key;
 	rtnl_u32_set_classid;
 	rtnl_u32_set_cls_terminal;
@@ -920,3 +904,23 @@ global:
 local:
 	*;
 };
+
+libnl_3_2_26 {
+global:
+	rtnl_class_hfsc_get_fsc;
+	rtnl_class_hfsc_get_rsc;
+	rtnl_class_hfsc_get_usc;
+	rtnl_class_hfsc_set_fsc;
+	rtnl_class_hfsc_set_rsc;
+	rtnl_class_hfsc_set_usc;
+	rtnl_link_inet6_addrgenmode2str;
+	rtnl_link_inet6_get_addr_gen_mode;
+	rtnl_link_inet6_get_token;
+	rtnl_link_inet6_set_addr_gen_mode;
+	rtnl_link_inet6_set_token;
+	rtnl_link_inet6_str2addrgenmode;
+	rtnl_qdisc_hfsc_get_defcls;
+	rtnl_qdisc_hfsc_set_defcls;
+	rtnl_u32_add_mark;
+	rtnl_u32_del_mark;
+} libnl_3;
-- 
1.9.3




More information about the libnl mailing list