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