xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 257873cfc1dd3337766407f80397db60a56f2f5a)
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 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# Generic interface definition for usr/src/cmd/sgs/libld.
27#
28# For information regarding the establishment of versioned definitions see:
29# 	The Linker and Libraries Manual (version 2.5 or greater)
30# This is part of the Developers Guide in the Answerbook.  Specifically refer
31# to Chapter 2 under section "Defining Additional Symbols" through section
32# "Reducing Symbol Scope", and Chapter 5 "Versioning".
33#
34# For specific OSNET rules for the modification (evolution) of these version
35# definitions see:
36#	Policy for Shared Library Version Names and Interface Definitions
37
38SUNWprivate_4.4 {
39	global:
40		dbg_print  = NODIRECT;	# interposed - ld(1) and ld.so.1(1)
41
42		ld_getopt;
43
44		ld32_main;
45		ld64_main;
46
47		ld32_create_outfile;
48		ld64_create_outfile;
49		ld32_ent_setup;
50		ld64_ent_setup;
51		ld32_init_strings;
52		ld64_init_strings;
53		ld32_init_target;
54		ld64_init_target;
55		ld32_make_sections;
56		ld64_make_sections;
57		ld32_ofl_cleanup;
58		ld64_ofl_cleanup;
59		ld32_process_open;
60		ld64_process_open;
61		ld32_reloc_init;
62		ld64_reloc_init;
63		ld32_reloc_process;
64		ld64_reloc_process;
65		ld32_sym_validate;
66		ld64_sym_validate;
67		ld32_update_outfile;
68		ld64_update_outfile;
69	local:
70		*;
71};
72
73# The following functions must be provided by our caller, or one of the
74# callers dependencies.
75
76{
77	global:
78		eprintf =	FUNCTION extern;
79};
80