xref: /illumos-gate/usr/src/cmd/sgs/ldprof/common/mapfile-vers (revision eb9a1df2aeb866bf1de4494433b6d7e5fa07b3ae)
1#
2# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
3#
4# CDDL HEADER START
5#
6# The contents of this file are subject to the terms of the
7# Common Development and Distribution License (the "License").
8# You may not use this file except in compliance with the License.
9#
10# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11# or http://www.opensolaris.org/os/licensing.
12# See the License for the specific language governing permissions
13# and limitations under the License.
14#
15# When distributing Covered Code, include this CDDL HEADER in each
16# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17# If applicable, add the following below this CDDL HEADER, with the
18# fields enclosed by brackets "[]" replaced with your own identifying
19# information: Portions Copyright [yyyy] [name of copyright owner]
20#
21# CDDL HEADER END
22#
23
24#
25# MAPFILE HEADER START
26#
27# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
28# Object versioning must comply with the rules detailed in
29#
30#	usr/src/lib/README.mapfiles
31#
32# You should not be making modifications here until you've read the most current
33# copy of that file. If you need help, contact a gatekeeper for guidance.
34#
35# MAPFILE HEADER END
36#
37
38$mapfile_version 2
39
40SYMBOL_VERSION SUNWprivate_1.1 {
41	global:
42		la_version;		# Audit interfaces
43		la_objclose;
44		la_objopen;
45
46		# There is a different pltenter function for every platform
47$if _sparc
48
49$if _ELF32
50		la_sparcv8_pltenter;
51$elif _ELF64
52		la_sparcv9_pltenter;
53$else
54$error unknown sparc ELFCLASS
55$endif
56
57$elif _x86
58
59$if _ELF32
60		la_i86_pltenter;
61$elif _ELF64
62		la_amd64_pltenter;
63$else
64$error unknown x86 ELFCLASS
65$endif
66
67$else
68$error unknown platform
69$endif
70
71	local:
72		*;
73};
74