summaryrefslogtreecommitdiff
path: root/usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2021-04-05 14:06:47 -0500
committerRichard Lowe <richlowe@richlowe.net>2021-04-09 15:48:05 -0500
commit8222814ef8560ee0ba222eca8ca5acffc6cd0e44 (patch)
tree55274c4f702ccf5aa98764391b250a81ba3f1990 /usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias
parent99ea293e719ac006d413e4fde6ac0d5cd4dd6c59 (diff)
downloadillumos-joyent-8222814ef8560ee0ba222eca8ca5acffc6cd0e44.tar.gz
13487 want mapfile-based assertions about symbol properties
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias')
-rw-r--r--usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias26
1 files changed, 26 insertions, 0 deletions
diff --git a/usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias b/usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias
new file mode 100644
index 0000000000..8ee5b45daa
--- /dev/null
+++ b/usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias
@@ -0,0 +1,26 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2012, Richard Lowe.
+#
+
+
+$mapfile_version 2
+
+
+SYMBOL_VERSION foo {
+ global:
+ weak_function { ASSERT = { BINDING = WEAK; ALIAS = common; }; };
+
+ local:
+ *;
+};