xref: /illumos-gate/usr/src/cmd/sgs/link_audit/common/mapfile-vers-bindings (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
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$if _sparc
45
46$if _ELF32
47		la_sparcv8_pltenter;
48$elif _ELF64
49		la_sparcv9_pltenter;
50$else
51$error unknown sparc ELFCLASS
52$endif
53
54$elif _x86
55
56$if _ELF32
57		la_i86_pltenter;
58$elif _ELF64
59		la_amd64_pltenter;
60$else
61$error unknown x86 ELFCLASS
62$endif
63
64$else
65$error unknown platform
66$endif
67
68	local:
69		*;
70};
71