diff options
| author | Ali Bahrami <Ali.Bahrami@Oracle.COM> | 2010-06-24 18:16:42 -0600 |
|---|---|---|
| committer | Ali Bahrami <Ali.Bahrami@Oracle.COM> | 2010-06-24 18:16:42 -0600 |
| commit | cd3e933325e68e23516a196a8fea7f49b1e497c3 (patch) | |
| tree | b3d6fcc31c1e7dc60bd48d34239721e8a8b68cfe /usr/src/cmd/sgs/ldprof/common/mapfile-vers | |
| parent | f6f041a26ccdc2172df744c7a891423cabe01265 (diff) | |
| download | illumos-joyent-cd3e933325e68e23516a196a8fea7f49b1e497c3.tar.gz | |
6916796 OSnet mapfiles should use version 2 link-editor syntax
--HG--
rename : usr/src/cmd/sgs/libelf/common/mapfile-common => usr/src/cmd/sgs/libelf/common/mapfile-vers
rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-bindings => usr/src/cmd/sgs/link_audit/common/mapfile-vers-bindings
rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-perfcnt => usr/src/cmd/sgs/link_audit/common/mapfile-vers-perfcnt
rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-symbindrep => usr/src/cmd/sgs/link_audit/common/mapfile-vers-symbindrep
rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-truss => usr/src/cmd/sgs/link_audit/common/mapfile-vers-truss
rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-who => usr/src/cmd/sgs/link_audit/common/mapfile-vers-who
rename : usr/src/common/mapfiles/i386/map.noexdata => usr/src/common/mapfiles/common/map.noexdata
rename : usr/src/lib/libaio/sparc/mapfile-vers => usr/src/lib/libaio/common/mapfile-vers
rename : usr/src/lib/libelfsign/common/mapfile.map => usr/src/lib/libelfsign/common/mapfile-vers
rename : usr/src/lib/libpthread/sparc/mapfile-vers => usr/src/lib/libpthread/common/mapfile-vers
rename : usr/src/lib/librt/amd64/mapfile-vers => usr/src/lib/librt/common/mapfile-vers
rename : usr/src/lib/libsys/sparc/mapfile-vers => usr/src/lib/libsys/common/mapfile-vers
rename : usr/src/lib/libthread/sparc/mapfile-vers => usr/src/lib/libthread/common/mapfile-vers
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: + *; +}; |
