1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at 9# http://www.illumos.org/license/CDDL. 10# 11 12# 13# Copyright 2012, Richard Lowe. 14# 15 16 17$mapfile_version 2 18 19 20SYMBOL_VERSION foo { 21 global: 22 common { 23 ASSERT = { 24 TYPE = OBJECT; 25 SIZE = 4; 26 SH_ATTR = NOBITS; 27 BINDING = GLOBAL; 28 }; 29 }; 30 data { 31 ASSERT = { 32 TYPE = OBJECT; 33 SIZE = 5; 34 SH_ATTR = BITS; 35 BINDING = GLOBAL; 36 }; 37 }; 38 function { 39 ASSERT = { 40 TYPE = FUNCTION; 41 SH_ATTR = BITS; 42 BINDING = GLOBAL; 43 }; 44 }; 45 weak_function { 46 ASSERT = { 47 BINDING = WEAK; 48 ALIAS = function; 49 }; 50 }; 51 weak_data { ASSERT = { BINDING = WEAK; ALIAS = data; }; }; 52 tbs { 53 ASSERT = { 54 TYPE = TLS; 55 SH_ATTR = NOBITS; 56 SIZE = 4; 57 }; 58 }; 59 tdata { 60 ASSERT = { 61 TYPE = TLS; 62 SH_ATTR = BITS; 63 SIZE = 4; 64 }; 65 }; 66 extern { 67 FLAGS = EXTERN; 68 ASSERT = { 69 TYPE = OBJECT; 70 SIZE = 4; 71 }; 72 }; 73 local: 74 *; 75}; 76