xref: /illumos-gate/usr/src/cmd/sgs/rtld/common/mapfile-vers (revision 20272c2e66d77f79ef35e7160584b5d098c3287f)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
55aefb655Srie# Common Development and Distribution License (the "License").
65aefb655Srie# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
215aefb655Srie
225aefb655Srie#
23*20272c2eSAli Bahrami# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
245aefb655Srie# Use is subject to license terms.
255aefb655Srie#
267c478bd9Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/rtld.
277c478bd9Sstevel@tonic-gate#
28bfed486aSAli Bahrami
297c478bd9Sstevel@tonic-gate#
30bfed486aSAli Bahrami# MAPFILE HEADER START
31bfed486aSAli Bahrami#
32bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
33bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
34bfed486aSAli Bahrami#
35bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
36bfed486aSAli Bahrami#
37bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
38bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
39bfed486aSAli Bahrami#
40bfed486aSAli Bahrami# MAPFILE HEADER END
41bfed486aSAli Bahrami#
42bfed486aSAli Bahrami
437c478bd9Sstevel@tonic-gate#
447c478bd9Sstevel@tonic-gate# All symbols in ld.so.1 are private as no-one should bind to these directly.
45bfed486aSAli Bahrami#
4656deab07SRod EvansSUNWprivate_1.3 {
479a411307Srie	protected:
487257d1b4Sraf		 dladdr;		# Standard dlopen(3x) family
497c478bd9Sstevel@tonic-gate		 dladdr1;
507c478bd9Sstevel@tonic-gate		 dldump;
517c478bd9Sstevel@tonic-gate		 dlclose;
527c478bd9Sstevel@tonic-gate		 dlerror;
537c478bd9Sstevel@tonic-gate		 dlinfo;
547c478bd9Sstevel@tonic-gate		 dlopen;
557c478bd9Sstevel@tonic-gate		 dlmopen;
567c478bd9Sstevel@tonic-gate		 dlsym;
577c478bd9Sstevel@tonic-gate
587257d1b4Sraf		_dladdr;		# these should not exist
597257d1b4Sraf		_dladdr1;
607257d1b4Sraf		_dldump;
617257d1b4Sraf		_dlclose;
627257d1b4Sraf		_dlerror;
637257d1b4Sraf		_dlinfo;
647257d1b4Sraf		_dlopen;
657257d1b4Sraf		_dlmopen;
667257d1b4Sraf		_dlsym;
677257d1b4Sraf
687c478bd9Sstevel@tonic-gate		_ld_libc;		# provides libc initialization
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gate		_elf_rtbndr;		# dbx expects to find these
717c478bd9Sstevel@tonic-gate		 elf_rtbndr;
727c478bd9Sstevel@tonic-gate		_rt_boot;		# Provides basic adb symbol offsets
737c478bd9Sstevel@tonic-gate
747c478bd9Sstevel@tonic-gate		 rtld_db_dlactivity;	# Required to support librtld_db
757c478bd9Sstevel@tonic-gate		 rtld_db_preinit;
767c478bd9Sstevel@tonic-gate		 rtld_db_postinit;
777c478bd9Sstevel@tonic-gate		 r_debug;
787c478bd9Sstevel@tonic-gate
797c478bd9Sstevel@tonic-gate		 elf_plt_write;
807c478bd9Sstevel@tonic-gate		 is_so_loaded;
817c478bd9Sstevel@tonic-gate		 lml_main;
827c478bd9Sstevel@tonic-gate		 lookup_sym;
837c478bd9Sstevel@tonic-gate
842926dd2eSrie		 alist_append;		# librtld support
8575e7992aSrie		 ld_entry_cnt;
865aefb655Srie		 dbg_desc;		# Diagnostic support
877c478bd9Sstevel@tonic-gate		 dbg_print;
887c478bd9Sstevel@tonic-gate		 eprintf;		# Error message printing
897c478bd9Sstevel@tonic-gate
907257d1b4Sraf		 dgettext;		# Messaging support
917c478bd9Sstevel@tonic-gate		 strerror;
927c478bd9Sstevel@tonic-gate
937c478bd9Sstevel@tonic-gate		 calloc;		# Memory management (mapmalloc).
947c478bd9Sstevel@tonic-gate		 free;
957c478bd9Sstevel@tonic-gate		 malloc;
967c478bd9Sstevel@tonic-gate		 realloc;
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gate		_environ;		# PLT tracing getenv() support.
997c478bd9Sstevel@tonic-gate		 environ;
1007c478bd9Sstevel@tonic-gate
101a574db85Sraf		 memcpy;		# Some routines are useful for support
102a574db85Sraf		 snprintf;		# libraries such as liblddbg.
103a574db85Sraf		 sprintf;		# Note that some of these functions
104a574db85Sraf		 strcat;		# (like sprintf) may have reduced
105a574db85Sraf		 strcmp;		# functionality over libc, as a simpler
106a574db85Sraf		 strcpy;		# implementation is provided in ld.so.1.
107a574db85Sraf		 strlen;
108a574db85Sraf		 strrchr;
109a574db85Sraf		 strtok_r;
1107c478bd9Sstevel@tonic-gate	      ___errno;
1117c478bd9Sstevel@tonic-gate		 qsort;
112*20272c2eSAli Bahrami		dl_iterate_phdr;
1137c478bd9Sstevel@tonic-gate	local:
1147c478bd9Sstevel@tonic-gate		*;
1157c478bd9Sstevel@tonic-gate};
116