[xen staging] tools/libs: Fix stable library ABI breakage from c/s e1ed22be85

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] tools/libs: Fix stable library ABI breakage from c/s e1ed22be85

patchbot
commit 28ca696a3e5cf464be945477a986576eec644c61
Author:     Andrew Cooper <[hidden email]>
AuthorDate: Mon Jul 9 10:13:48 2018 +0100
Commit:     Ian Jackson <[hidden email]>
CommitDate: Mon Jul 9 10:46:34 2018 +0100

    tools/libs: Fix stable library ABI breakage from c/s e1ed22be85
   
    For libxengnttab.map, introducing a new VERS* section must be matched with a
    equivalent SONAME bump.
   
    For libxencall.map, the hunk as presented would have been ok, if Xen 4.11
    hadn't been released between xencall_buffers_never_fault() and xencall_fd()
    being introduced.  Given the timing of the release, xencall_fd() needs moving
    into a new VERS_1.2 section.
   
    Signed-off-by: Andrew Cooper <[hidden email]>
    Acked-by: Ian Jackson <[hidden email]>
---
 tools/libs/call/Makefile       | 2 +-
 tools/libs/call/libxencall.map | 6 +++++-
 tools/libs/gnttab/Makefile     | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/tools/libs/call/Makefile b/tools/libs/call/Makefile
index 252d3973fc..6291e6dfe7 100644
--- a/tools/libs/call/Makefile
+++ b/tools/libs/call/Makefile
@@ -2,7 +2,7 @@ XEN_ROOT = $(CURDIR)/../../..
 include $(XEN_ROOT)/tools/Rules.mk
 
 MAJOR    = 1
-MINOR    = 1
+MINOR    = 2
 SHLIB_LDFLAGS += -Wl,--version-script=libxencall.map
 
 CFLAGS   += -Werror -Wmissing-prototypes
diff --git a/tools/libs/call/libxencall.map b/tools/libs/call/libxencall.map
index feacee3146..6922b96511 100644
--- a/tools/libs/call/libxencall.map
+++ b/tools/libs/call/libxencall.map
@@ -21,5 +21,9 @@ VERS_1.0 {
 VERS_1.1 {
  global:
  xencall_buffers_never_fault;
- xencall_fd;
 } VERS_1.0;
+
+VERS_1.2 {
+ global:
+ xencall_fd;
+} VERS_1.1;
diff --git a/tools/libs/gnttab/Makefile b/tools/libs/gnttab/Makefile
index dcfe686767..6c2e7e36a2 100644
--- a/tools/libs/gnttab/Makefile
+++ b/tools/libs/gnttab/Makefile
@@ -2,7 +2,7 @@ XEN_ROOT = $(CURDIR)/../../..
 include $(XEN_ROOT)/tools/Rules.mk
 
 MAJOR    = 1
-MINOR    = 1
+MINOR    = 2
 SHLIB_LDFLAGS += -Wl,--version-script=libxengnttab.map
 
 CFLAGS   += -Werror -Wmissing-prototypes
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog