xref: /titanic_41/usr/src/cmd/sgs/rtld/common/mapfile-vers (revision fa9e4066f08beec538e775443c5be79dd423fcab)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27# Generic interface definition for usr/src/cmd/sgs/rtld.
28#
29# For information regarding the establishment of versioned definitions see:
30#	The Linker and Libraries Manual (version 2.5 or greater)
31# This is part of the Developers Guide in the Answerbook.  Specifically refer
32# to Chapter 2 under section "Defining Additional Symbols" through section
33# "Reducing Symbol Scope", and Chapter 5 "Versioning".
34#
35# For specific OSNET rules for the modification (evolution) of these version
36# definitions see:
37#	Policy for Shared Library Version Names and Interface Definitions
38#
39# All symbols in ld.so.1 are private as no-one should bind to these directly.
40
41SUNWprivate_1.2 {
42	global:
43		_dladdr;		# Standard dlopen(3x) family
44		 dladdr;
45		_dladdr1;
46		 dladdr1;
47		_dldump;
48		 dldump;
49		_dlclose;
50		 dlclose;
51		_dlerror;
52		 dlerror;
53		_dlinfo;
54		 dlinfo;
55		_dlopen;
56		 dlopen;
57		_dlmopen;
58		 dlmopen;
59		_dlsym;
60		 dlsym;
61
62		_ld_concurrency;	# Provides libthread initialization
63		_ld_libc;		# provides libc initialization
64
65		_elf_rtbndr;		# dbx expects to find these
66		 elf_rtbndr;
67		_rt_boot;		# Provides basic adb symbol offsets
68
69		 rtld_db_dlactivity;	# Required to support librtld_db
70		 rtld_db_preinit;
71		 rtld_db_postinit;
72		 r_debug;
73
74		 do_reloc;		# Required to support librtld.so
75		 elf_plt_write;
76		 is_so_loaded;
77		 lml_main;
78		 lookup_sym;
79		 reloc_table;
80
81		 dbg_mask;		# Required to support liblddbg.so
82		 dbg_print;
83		 eprintf;		# Error message printing
84
85		_dgettext;		# Messaging support
86		 strerror;
87
88		 calloc;		# Memory management (mapmalloc).
89		 dz_fd;
90		 free;
91		 malloc;
92		 realloc;
93
94		_environ;		# PLT tracing getenv() support.
95		 environ;
96
97		_open;			# Some routines are useful for support
98		_close;			# libraries such as liblddbg (this
99		 memcpy;		# reduces the cost of debugging as the
100		 snprintf;		# library doesn't have its own
101		 sprintf;		# dependency on libc).
102		 strcat;
103		 strcmp;
104		 strcpy;		# Note that some of these functions
105		 strlen;		# (like sprintf) may have reduced
106		 strrchr;		# functionality over libc, as a simpler
107		 strtok_r;		# implementation is provided in ld.so.1.
108		_write;
109	      ___errno;
110		 qsort;
111	local:
112		*;
113};
114