xref: /illumos-gate/usr/src/lib/libumem/common/mapfile-vers (revision f96a0cef040313f6281fbc014a0b63d5c5cc760f)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright (c) 2019, Joyent, Inc.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
34# You should not be making modifications here until you've read the most current
35# copy of that file. If you need help, contact a gatekeeper for guidance.
36#
37# MAPFILE HEADER END
38#
39
40$mapfile_version 2
41
42$if _x86
43LOAD_SEGMENT ptctext {
44	FLAGS = READ EXECUTE;
45	ALIGN = 0x1000;
46	ROUND = 0x1000;
47	ASSIGN_SECTION {
48		IS_NAME = .ptctext;
49	};
50};
51$endif
52
53SYMBOL_VERSION ILLUMOS_0.1 {
54    global:
55	umem_setmtbf;
56} SUNW_1.1;
57
58SYMBOL_VERSION SUNW_1.1 {
59    global:
60	calloc			{ FLAGS = NODIRECT };
61	free			{ FLAGS = NODIRECT };
62	malloc			{ FLAGS = NODIRECT };
63	memalign		{ FLAGS = NODIRECT };
64	realloc			{ FLAGS = NODIRECT };
65	umem_alloc;
66	umem_cache_alloc;
67	umem_cache_create;
68	umem_cache_destroy;
69	umem_cache_free;
70	umem_free;
71	umem_nofail_callback;
72	umem_zalloc;
73	valloc			{ FLAGS = NODIRECT };
74};
75
76SYMBOL_VERSION SUNWprivate_1.1 {
77    global:
78	umem_alloc_align;
79	umem_free_align;
80	umem_reap;
81	vmem_add;
82	vmem_alloc;
83	vmem_contains;
84	vmem_create;
85	vmem_destroy;
86	vmem_free;
87	vmem_heap_arena;
88	vmem_size;
89	vmem_walk;
90	vmem_xalloc;
91	vmem_xfree;
92    local:
93	*;
94};
95