xref: /illumos-gate/usr/src/cmd/sgs/link_audit/common/mapfile-vers-truss (revision 85f4cb87104c72587029a6e0f1663332c85ba118)
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_objopen;
44
45
46$if _ELF32
47		la_pltexit;
48		la_symbind32;
49$elif _ELF64
50		la_pltexit64;
51		la_symbind64;
52$else
53$error unknown ELFCLASS
54$endif
55
56
57$if _sparc
58
59$if _ELF32
60		la_sparcv8_pltenter;
61$elif _ELF64
62		la_sparcv9_pltenter;
63$else
64$error unknown sparc ELFCLASS
65$endif
66
67$elif _x86
68
69$if _ELF32
70		la_i86_pltenter;
71$elif _ELF64
72		la_amd64_pltenter;
73$else
74$error unknown x86 ELFCLASS
75$endif
76
77$else
78$error unknown platform
79$endif
80
81
82	local:
83		*;
84};
85