xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
3*7c478bd9Sstevel@tonic-gate#
4*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
8*7c478bd9Sstevel@tonic-gate#
9*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
10*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
11*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
12*7c478bd9Sstevel@tonic-gate# with the License.
13*7c478bd9Sstevel@tonic-gate#
14*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
16*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
17*7c478bd9Sstevel@tonic-gate# and limitations under the License.
18*7c478bd9Sstevel@tonic-gate#
19*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
20*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
22*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
23*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
24*7c478bd9Sstevel@tonic-gate#
25*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
26*7c478bd9Sstevel@tonic-gate#
27*7c478bd9Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/libld.
28*7c478bd9Sstevel@tonic-gate#
29*7c478bd9Sstevel@tonic-gate# For information regarding the establishment of versioned definitions see:
30*7c478bd9Sstevel@tonic-gate# 	The Linker and Libraries Manual (version 2.5 or greater)
31*7c478bd9Sstevel@tonic-gate# This is part of the Developers Guide in the Answerbook.  Specifically refer
32*7c478bd9Sstevel@tonic-gate# to Chapter 2 under section "Defining Additional Symbols" through section
33*7c478bd9Sstevel@tonic-gate# "Reducing Symbol Scope", and Chapter 5 "Versioning".
34*7c478bd9Sstevel@tonic-gate#
35*7c478bd9Sstevel@tonic-gate# For specific OSNET rules for the modification (evolution) of these version
36*7c478bd9Sstevel@tonic-gate# definitions see:
37*7c478bd9Sstevel@tonic-gate#	Policy for Shared Library Version Names and Interface Definitions
38*7c478bd9Sstevel@tonic-gate
39*7c478bd9Sstevel@tonic-gate{
40*7c478bd9Sstevel@tonic-gate	global:
41*7c478bd9Sstevel@tonic-gate		eprintf =	FUNCTION extern;
42*7c478bd9Sstevel@tonic-gate};
43*7c478bd9Sstevel@tonic-gate
44*7c478bd9Sstevel@tonic-gateSUNWprivate_2.14 {
45*7c478bd9Sstevel@tonic-gate	global:
46*7c478bd9Sstevel@tonic-gate		add_string;
47*7c478bd9Sstevel@tonic-gate		create_outfile;
48*7c478bd9Sstevel@tonic-gate		dbg_print;
49*7c478bd9Sstevel@tonic-gate		ent_setup;
50*7c478bd9Sstevel@tonic-gate		finish_libs;
51*7c478bd9Sstevel@tonic-gate		ld_main;
52*7c478bd9Sstevel@tonic-gate		ld_support_loadso;
53*7c478bd9Sstevel@tonic-gate		list_appendc;
54*7c478bd9Sstevel@tonic-gate		list_insertc;
55*7c478bd9Sstevel@tonic-gate		list_prependc;
56*7c478bd9Sstevel@tonic-gate		list_where;
57*7c478bd9Sstevel@tonic-gate		make_sections;
58*7c478bd9Sstevel@tonic-gate		ofl_cleanup;
59*7c478bd9Sstevel@tonic-gate		open_outfile;
60*7c478bd9Sstevel@tonic-gate		process_open;
61*7c478bd9Sstevel@tonic-gate		reloc_init;
62*7c478bd9Sstevel@tonic-gate		reloc_process;
63*7c478bd9Sstevel@tonic-gate		sdf_add;
64*7c478bd9Sstevel@tonic-gate		sdf_find;
65*7c478bd9Sstevel@tonic-gate		sec_validate;
66*7c478bd9Sstevel@tonic-gate		st_new;
67*7c478bd9Sstevel@tonic-gate		sym_add_u;
68*7c478bd9Sstevel@tonic-gate		sym_enter;
69*7c478bd9Sstevel@tonic-gate		sym_find;
70*7c478bd9Sstevel@tonic-gate		sym_validate;
71*7c478bd9Sstevel@tonic-gate		update_outfile;
72*7c478bd9Sstevel@tonic-gate		vers_base;
73*7c478bd9Sstevel@tonic-gate		vers_check_defs;
74*7c478bd9Sstevel@tonic-gate		vers_desc;
75*7c478bd9Sstevel@tonic-gate		vers_find;
76*7c478bd9Sstevel@tonic-gate	local:
77*7c478bd9Sstevel@tonic-gate		*;
78*7c478bd9Sstevel@tonic-gate};
79