xref: /illumos-gate/usr/src/lib/libumem/common/mapfile-vers (revision 7e3dbbac48aaad67ac841ba479a67a2081d6a02b)
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) 2012, Joyent, Inc.  All rights reserved.
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 umem {
44	FLAGS = READ WRITE EXECUTE;
45	ASSIGN_SECTION {
46		IS_NAME = .text;
47		FILE_BASENAME = asm_subr.o
48	};
49};
50$endif
51
52
53SYMBOL_VERSION SUNW_1.1 {
54    global:
55	calloc			{ FLAGS = NODIRECT };
56	free			{ FLAGS = NODIRECT };
57	malloc			{ FLAGS = NODIRECT };
58	memalign		{ FLAGS = NODIRECT };
59	realloc			{ FLAGS = NODIRECT };
60	umem_alloc;
61	umem_cache_alloc;
62	umem_cache_create;
63	umem_cache_destroy;
64	umem_cache_free;
65	umem_free;
66	umem_nofail_callback;
67	umem_zalloc;
68	valloc			{ FLAGS = NODIRECT };
69};
70
71SYMBOL_VERSION SUNWprivate_1.1 {
72    global:
73	umem_alloc_align;
74	umem_free_align;
75	umem_reap;
76	vmem_add;
77	vmem_alloc;
78	vmem_contains;
79	vmem_create;
80	vmem_destroy;
81	vmem_free;
82	vmem_heap_arena;
83	vmem_size;
84	vmem_walk;
85	vmem_xalloc;
86	vmem_xfree;
87    local:
88	*;
89};
90