xref: /illumos-gate/usr/src/cmd/sgs/rtld/common/mapfile-vers (revision 69b3e10436272b0970d58743de375d0dd61046ce)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# Generic interface definition for usr/src/cmd/sgs/rtld.
27#
28
29#
30# MAPFILE HEADER START
31#
32# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
33# Object versioning must comply with the rules detailed in
34#
35#	usr/src/lib/README.mapfiles
36#
37# You should not be making modifications here until you've read the most current
38# copy of that file. If you need help, contact a gatekeeper for guidance.
39#
40# MAPFILE HEADER END
41#
42
43#
44# All symbols in ld.so.1 are private as no-one should bind to these directly.
45#
46SUNWprivate_1.3 {
47	protected:
48		 dladdr;		# Standard dlopen(3x) family
49		 dladdr1;
50		 dldump;
51		 dlclose;
52		 dlerror;
53		 dlinfo;
54		 dlopen;
55		 dlmopen;
56		 dlsym;
57
58		_dladdr;		# these should not exist
59		_dladdr1;
60		_dldump;
61		_dlclose;
62		_dlerror;
63		_dlinfo;
64		_dlopen;
65		_dlmopen;
66		_dlsym;
67
68		_ld_libc;		# provides libc initialization
69
70		_elf_rtbndr;		# dbx expects to find these
71		 elf_rtbndr;
72		_rt_boot;		# Provides basic adb symbol offsets
73
74		 rtld_db_dlactivity;	# Required to support librtld_db
75		 rtld_db_preinit;
76		 rtld_db_postinit;
77		 r_debug;
78
79		 elf_plt_write;
80		 is_so_loaded;
81		 lml_main;
82		 lookup_sym;
83
84		 alist_append;		# librtld support
85		 ld_entry_cnt;
86		 dbg_desc;		# Diagnostic support
87		 dbg_print;
88		 eprintf;		# Error message printing
89
90		 dgettext;		# Messaging support
91		 strerror;
92
93		 calloc;		# Memory management (mapmalloc).
94		 free;
95		 malloc;
96		 realloc;
97
98		_environ;		# PLT tracing getenv() support.
99		 environ;
100
101		 memcpy;		# Some routines are useful for support
102		 snprintf;		# libraries such as liblddbg.
103		 sprintf;		# Note that some of these functions
104		 strcat;		# (like sprintf) may have reduced
105		 strcmp;		# functionality over libc, as a simpler
106		 strcpy;		# implementation is provided in ld.so.1.
107		 strlen;
108		 strrchr;
109		 strtok_r;
110	      ___errno;
111		 qsort;
112		dl_iterate_phdr;
113	local:
114		*;
115};
116