xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 56deab0745753336570f5c63c3b5fa565eaab8f1)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
55aefb655Srie# Common Development and Distribution License (the "License").
65aefb655Srie# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
215aefb655Srie
225aefb655Srie#
23*56deab07SRod Evans# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
245aefb655Srie# Use is subject to license terms.
255aefb655Srie#
267c478bd9Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/libld.
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate# For information regarding the establishment of versioned definitions see:
297c478bd9Sstevel@tonic-gate# 	The Linker and Libraries Manual (version 2.5 or greater)
307c478bd9Sstevel@tonic-gate# This is part of the Developers Guide in the Answerbook.  Specifically refer
317c478bd9Sstevel@tonic-gate# to Chapter 2 under section "Defining Additional Symbols" through section
327c478bd9Sstevel@tonic-gate# "Reducing Symbol Scope", and Chapter 5 "Versioning".
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gate# For specific OSNET rules for the modification (evolution) of these version
357c478bd9Sstevel@tonic-gate# definitions see:
367c478bd9Sstevel@tonic-gate#	Policy for Shared Library Version Names and Interface Definitions
377c478bd9Sstevel@tonic-gate
38*56deab07SRod EvansSUNWprivate_4.5 {
395aefb655Srie	global:
4024da5b34Srie		dbg_print  = NODIRECT;	# interposed - ld(1) and ld.so.1(1)
415aefb655Srie
4292a02081SRod Evans		ld_getopt;
4392a02081SRod Evans
445aefb655Srie		ld32_main;
455aefb655Srie		ld64_main;
465aefb655Srie
475aefb655Srie		ld32_create_outfile;
485aefb655Srie		ld64_create_outfile;
495aefb655Srie		ld32_ent_setup;
505aefb655Srie		ld64_ent_setup;
51c1c6f601Srie		ld32_init_strings;
52c1c6f601Srie		ld64_init_strings;
53ba2be530Sab196087		ld32_init_target;
54ba2be530Sab196087		ld64_init_target;
555aefb655Srie		ld32_make_sections;
565aefb655Srie		ld64_make_sections;
575aefb655Srie		ld32_ofl_cleanup;
585aefb655Srie		ld64_ofl_cleanup;
59*56deab07SRod Evans		ld32_process_mem;
60*56deab07SRod Evans		ld64_process_mem;
615aefb655Srie		ld32_reloc_init;
625aefb655Srie		ld64_reloc_init;
635aefb655Srie		ld32_reloc_process;
645aefb655Srie		ld64_reloc_process;
655aefb655Srie		ld32_sym_validate;
665aefb655Srie		ld64_sym_validate;
675aefb655Srie		ld32_update_outfile;
685aefb655Srie		ld64_update_outfile;
695aefb655Srie	local:
705aefb655Srie		*;
715aefb655Srie};
725aefb655Srie
735aefb655Srie# The following functions must be provided by our caller, or one of the
745aefb655Srie# callers dependencies.
755aefb655Srie
767c478bd9Sstevel@tonic-gate{
777c478bd9Sstevel@tonic-gate	global:
787c478bd9Sstevel@tonic-gate		eprintf =	FUNCTION extern;
797c478bd9Sstevel@tonic-gate};
80