Build system: use SPDX identifiers
[urcu.git] / extras / abi / README.md
diff --git a/extras/abi/README.md b/extras/abi/README.md
new file mode 100644 (file)
index 0000000..a7242a2
--- /dev/null
@@ -0,0 +1,24 @@
+<!--
+SPDX-FileCopyrightText: 2023 EfficiOS Inc.
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+# Userspace-RCU ABI definitions
+
+This directory contains the serialized ABI definitions for a typical build of
+the liburcu libraries. This information is extracted using
+[libabigail](https://sourceware.org/libabigail/).
+
+The artefacts used to generate these were built with **CFLAGS="-O0 -ggdb"** on
+an Ubuntu 18.04 x86_64 system.
+
+You can compare the serialized ABI with a shared object to check for breaking
+changes. For example, here we compare an in-tree built version of
+**liburcu-memb.so** with the serialized ABI of stable-0.13 :
+
+````
+abidiff \
+  extras/abi/0.13/x86_64-pc-linux-gnu/liburcu-memb.so.8.xml \
+  src/.libs/liburcu-memb.so
+````
This page took 0.022963 seconds and 4 git commands to generate.