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