From 8222814ef8560ee0ba222eca8ca5acffc6cd0e44 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Mon, 5 Apr 2021 14:06:47 -0500 Subject: 13487 want mapfile-based assertions about symbol properties Reviewed by: Robert Mustacchi Reviewed by: Jason King Approved by: Dan McDonald --- .../tests/mapfiles/assert/mapfile.wrongalias | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias (limited to 'usr/src/test/elf-tests/tests/mapfiles/assert/mapfile.wrongalias') 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: + *; +}; -- cgit v1.2.3