xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision bfed486ad8de8b8ebc6345a8e10accae08bf2f45)
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#
2356deab07SRod 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#
28*bfed486aSAli Bahrami
297c478bd9Sstevel@tonic-gate#
30*bfed486aSAli Bahrami# MAPFILE HEADER START
31*bfed486aSAli Bahrami#
32*bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
33*bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
34*bfed486aSAli Bahrami#
35*bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
36*bfed486aSAli Bahrami#
37*bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
38*bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
39*bfed486aSAli Bahrami#
40*bfed486aSAli Bahrami# MAPFILE HEADER END
41*bfed486aSAli Bahrami#
427c478bd9Sstevel@tonic-gate
4356deab07SRod EvansSUNWprivate_4.5 {
445aefb655Srie	global:
4524da5b34Srie		dbg_print  = NODIRECT;	# interposed - ld(1) and ld.so.1(1)
465aefb655Srie
4792a02081SRod Evans		ld_getopt;
4892a02081SRod Evans
495aefb655Srie		ld32_main;
505aefb655Srie		ld64_main;
515aefb655Srie
525aefb655Srie		ld32_create_outfile;
535aefb655Srie		ld64_create_outfile;
545aefb655Srie		ld32_ent_setup;
555aefb655Srie		ld64_ent_setup;
56c1c6f601Srie		ld32_init_strings;
57c1c6f601Srie		ld64_init_strings;
58ba2be530Sab196087		ld32_init_target;
59ba2be530Sab196087		ld64_init_target;
605aefb655Srie		ld32_make_sections;
615aefb655Srie		ld64_make_sections;
625aefb655Srie		ld32_ofl_cleanup;
635aefb655Srie		ld64_ofl_cleanup;
6456deab07SRod Evans		ld32_process_mem;
6556deab07SRod Evans		ld64_process_mem;
665aefb655Srie		ld32_reloc_init;
675aefb655Srie		ld64_reloc_init;
685aefb655Srie		ld32_reloc_process;
695aefb655Srie		ld64_reloc_process;
705aefb655Srie		ld32_sym_validate;
715aefb655Srie		ld64_sym_validate;
725aefb655Srie		ld32_update_outfile;
735aefb655Srie		ld64_update_outfile;
745aefb655Srie	local:
755aefb655Srie		*;
765aefb655Srie};
775aefb655Srie
785aefb655Srie# The following functions must be provided by our caller, or one of the
795aefb655Srie# callers dependencies.
805aefb655Srie
817c478bd9Sstevel@tonic-gate{
827c478bd9Sstevel@tonic-gate	global:
837c478bd9Sstevel@tonic-gate		eprintf =	FUNCTION extern;
847c478bd9Sstevel@tonic-gate};
85