xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 5aefb6555731130ca4fd295960123d71f2d21fe8)
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
5*5aefb655Srie# Common Development and Distribution License (the "License").
6*5aefb655Srie# 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#
21*5aefb655Srie
22*5aefb655Srie#
23*5aefb655Srie# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*5aefb655Srie# Use is subject to license terms.
25*5aefb655Srie#
26*5aefb655Srie# ident	"%Z%%M%	%I%	%E% SMI"
27*5aefb655Srie#
287c478bd9Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/libld.
297c478bd9Sstevel@tonic-gate#
307c478bd9Sstevel@tonic-gate# For information regarding the establishment of versioned definitions see:
317c478bd9Sstevel@tonic-gate# 	The Linker and Libraries Manual (version 2.5 or greater)
327c478bd9Sstevel@tonic-gate# This is part of the Developers Guide in the Answerbook.  Specifically refer
337c478bd9Sstevel@tonic-gate# to Chapter 2 under section "Defining Additional Symbols" through section
347c478bd9Sstevel@tonic-gate# "Reducing Symbol Scope", and Chapter 5 "Versioning".
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gate# For specific OSNET rules for the modification (evolution) of these version
377c478bd9Sstevel@tonic-gate# definitions see:
387c478bd9Sstevel@tonic-gate#	Policy for Shared Library Version Names and Interface Definitions
397c478bd9Sstevel@tonic-gate
40*5aefb655SrieSUNWprivate_4.1 {
41*5aefb655Srie	global:
42*5aefb655Srie		dbg_print;
43*5aefb655Srie
44*5aefb655Srie		ld32_main;
45*5aefb655Srie		ld64_main;
46*5aefb655Srie
47*5aefb655Srie		ld32_create_outfile;
48*5aefb655Srie		ld64_create_outfile;
49*5aefb655Srie		ld32_ent_setup;
50*5aefb655Srie		ld64_ent_setup;
51*5aefb655Srie		ld32_make_sections;
52*5aefb655Srie		ld64_make_sections;
53*5aefb655Srie		ld32_ofl_cleanup;
54*5aefb655Srie		ld64_ofl_cleanup;
55*5aefb655Srie		ld32_process_open;
56*5aefb655Srie		ld64_process_open;
57*5aefb655Srie		ld32_reloc_init;
58*5aefb655Srie		ld64_reloc_init;
59*5aefb655Srie		ld32_reloc_process;
60*5aefb655Srie		ld64_reloc_process;
61*5aefb655Srie		ld32_sym_validate;
62*5aefb655Srie		ld64_sym_validate;
63*5aefb655Srie		ld32_update_outfile;
64*5aefb655Srie		ld64_update_outfile;
65*5aefb655Srie
66*5aefb655Srie		st_new;
67*5aefb655Srie	local:
68*5aefb655Srie		*;
69*5aefb655Srie};
70*5aefb655Srie
71*5aefb655Srie# The following functions must be provided by our caller, or one of the
72*5aefb655Srie# callers dependencies.
73*5aefb655Srie
747c478bd9Sstevel@tonic-gate{
757c478bd9Sstevel@tonic-gate	global:
767c478bd9Sstevel@tonic-gate		eprintf =	FUNCTION extern;
777c478bd9Sstevel@tonic-gate};
78