xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 168c213023b7f347f11abfc72f448b0c621ab718)
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 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28# Generic interface definition for usr/src/cmd/sgs/libld.
29#
30# For information regarding the establishment of versioned definitions see:
31# 	The Linker and Libraries Manual (version 2.5 or greater)
32# This is part of the Developers Guide in the Answerbook.  Specifically refer
33# to Chapter 2 under section "Defining Additional Symbols" through section
34# "Reducing Symbol Scope", and Chapter 5 "Versioning".
35#
36# For specific OSNET rules for the modification (evolution) of these version
37# definitions see:
38#	Policy for Shared Library Version Names and Interface Definitions
39
40SUNWprivate_4.2 {
41	global:
42		dbg_print;
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_make_sections;
54		ld64_make_sections;
55		ld32_ofl_cleanup;
56		ld64_ofl_cleanup;
57		ld32_process_open;
58		ld64_process_open;
59		ld32_reloc_init;
60		ld64_reloc_init;
61		ld32_reloc_process;
62		ld64_reloc_process;
63		ld32_sym_validate;
64		ld64_sym_validate;
65		ld32_update_outfile;
66		ld64_update_outfile;
67	local:
68		*;
69};
70
71# The following functions must be provided by our caller, or one of the
72# callers dependencies.
73
74{
75	global:
76		eprintf =	FUNCTION extern;
77};
78