aboutsummaryrefslogtreecommitdiff
path: root/lib/libregex/Symbol.map
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libregex/Symbol.map')
-rw-r--r--lib/libregex/Symbol.map15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libregex/Symbol.map b/lib/libregex/Symbol.map
new file mode 100644
index 000000000000..0aa63b86ae0e
--- /dev/null
+++ b/lib/libregex/Symbol.map
@@ -0,0 +1,15 @@
+/*
+ */
+
+/*
+ * libregex uses a different version name because its symbols are not strictly
+ * compatible with those provided by libc. Re-using the version name from libc
+ * could cause linking headaches and make debugging more difficult than it needs
+ * to be.
+ */
+LIBREGEX_1.0 {
+ regcomp;
+ regerror;
+ regexec;
+ regfree;
+};