diff options
Diffstat (limited to 'usr/src/cmd/sgs/ldprof/common/mapfile-vers')
| -rw-r--r-- | usr/src/cmd/sgs/ldprof/common/mapfile-vers | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/usr/src/cmd/sgs/ldprof/common/mapfile-vers b/usr/src/cmd/sgs/ldprof/common/mapfile-vers new file mode 100644 index 0000000000..4df6afbfee --- /dev/null +++ b/usr/src/cmd/sgs/ldprof/common/mapfile-vers @@ -0,0 +1,73 @@ +# +# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# MAPFILE HEADER START +# +# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. +# Object versioning must comply with the rules detailed in +# +# usr/src/lib/README.mapfiles +# +# You should not be making modifications here until you've read the most current +# copy of that file. If you need help, contact a gatekeeper for guidance. +# +# MAPFILE HEADER END +# + +$mapfile_version 2 + +SYMBOL_VERSION SUNWprivate_1.1 { + global: + la_version; # Audit interfaces + la_objclose; + la_objopen; + + # There is a different pltenter function for every platform +$if _sparc + +$if _ELF32 + la_sparcv8_pltenter; +$elif _ELF64 + la_sparcv9_pltenter; +$else +$error unknown sparc ELFCLASS +$endif + +$elif _x86 + +$if _ELF32 + la_i86_pltenter; +$elif _ELF64 + la_amd64_pltenter; +$else +$error unknown x86 ELFCLASS +$endif + +$else +$error unknown platform +$endif + + local: + *; +}; |
