xref: /onnv-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 6206:6b0ed502a8e7)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
51618Srie# Common Development and Distribution License (the "License").
61618Srie# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
211618Srie
221618Srie#
23*6206Sab196087# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
241618Srie# Use is subject to license terms.
251618Srie#
261618Srie# ident	"%Z%%M%	%I%	%E% SMI"
271618Srie#
280Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/libld.
290Sstevel@tonic-gate#
300Sstevel@tonic-gate# For information regarding the establishment of versioned definitions see:
310Sstevel@tonic-gate# 	The Linker and Libraries Manual (version 2.5 or greater)
320Sstevel@tonic-gate# This is part of the Developers Guide in the Answerbook.  Specifically refer
330Sstevel@tonic-gate# to Chapter 2 under section "Defining Additional Symbols" through section
340Sstevel@tonic-gate# "Reducing Symbol Scope", and Chapter 5 "Versioning".
350Sstevel@tonic-gate#
360Sstevel@tonic-gate# For specific OSNET rules for the modification (evolution) of these version
370Sstevel@tonic-gate# definitions see:
380Sstevel@tonic-gate#	Policy for Shared Library Version Names and Interface Definitions
390Sstevel@tonic-gate
40*6206Sab196087SUNWprivate_4.3 {
411618Srie	global:
424271Srie		dbg_print  = NODIRECT;	# interposed - ld(1) and ld.so.1(1)
431618Srie
441618Srie		ld32_main;
451618Srie		ld64_main;
461618Srie
471618Srie		ld32_create_outfile;
481618Srie		ld64_create_outfile;
491618Srie		ld32_ent_setup;
501618Srie		ld64_ent_setup;
512347Srie		ld32_init_strings;
522347Srie		ld64_init_strings;
53*6206Sab196087		ld32_init_target;
54*6206Sab196087		ld64_init_target;
551618Srie		ld32_make_sections;
561618Srie		ld64_make_sections;
571618Srie		ld32_ofl_cleanup;
581618Srie		ld64_ofl_cleanup;
591618Srie		ld32_process_open;
601618Srie		ld64_process_open;
611618Srie		ld32_reloc_init;
621618Srie		ld64_reloc_init;
631618Srie		ld32_reloc_process;
641618Srie		ld64_reloc_process;
651618Srie		ld32_sym_validate;
661618Srie		ld64_sym_validate;
671618Srie		ld32_update_outfile;
681618Srie		ld64_update_outfile;
691618Srie	local:
701618Srie		*;
711618Srie};
721618Srie
731618Srie# The following functions must be provided by our caller, or one of the
741618Srie# callers dependencies.
751618Srie
760Sstevel@tonic-gate{
770Sstevel@tonic-gate	global:
780Sstevel@tonic-gate		eprintf =	FUNCTION extern;
790Sstevel@tonic-gate};
80