about summary refs log tree commit diff
path: root/src/NetworkManager.ver
diff options
context:
space:
mode:
Diffstat (limited to 'src/NetworkManager.ver')
-rw-r--r--src/NetworkManager.ver10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/NetworkManager.ver b/src/NetworkManager.ver
index c91affcb..d5358e5c 100644
--- a/src/NetworkManager.ver
+++ b/src/NetworkManager.ver
@@ -5,6 +5,16 @@ global:
 	_nm*;
 	NM*;
 	_NM*;
+
+	/* The _IO_stdin_used symbol is used by the GNU libc to determine
+	   which version of the I/O function should be used.  Not
+	   exporting it means that the "old" version is used, causing
+	   crashes or other issues on some architectures.  It should be
+	   exported as an anonymous tag, but ld does not support mixing
+	   anonymous version tags with other version tags.  Fortunately
+	   the GNU libc is able to cope with the symbol having the wrong
+	   version tag. */
+	_IO_stdin_used;
 local:
 	*;
 };