xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision dc0f59e5324b0cb0a8b1062e2d385e5c016661b2)
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*dc0f59e5SAli Bahrami# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
245aefb655Srie#
257c478bd9Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/libld.
267c478bd9Sstevel@tonic-gate#
27bfed486aSAli Bahrami
287c478bd9Sstevel@tonic-gate#
29bfed486aSAli Bahrami# MAPFILE HEADER START
30bfed486aSAli Bahrami#
31bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
32bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
33bfed486aSAli Bahrami#
34bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
35bfed486aSAli Bahrami#
36bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
37bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
38bfed486aSAli Bahrami#
39bfed486aSAli Bahrami# MAPFILE HEADER END
40bfed486aSAli Bahrami#
417c478bd9Sstevel@tonic-gate
42*dc0f59e5SAli BahramiSUNWprivate_4.6 {
435aefb655Srie	global:
4424da5b34Srie		dbg_print  = NODIRECT;	# interposed - ld(1) and ld.so.1(1)
455aefb655Srie
4692a02081SRod Evans		ld_getopt;
4792a02081SRod Evans
485aefb655Srie		ld32_main;
495aefb655Srie		ld64_main;
505aefb655Srie
515aefb655Srie		ld32_create_outfile;
525aefb655Srie		ld64_create_outfile;
535aefb655Srie		ld32_ent_setup;
545aefb655Srie		ld64_ent_setup;
55c1c6f601Srie		ld32_init_strings;
56c1c6f601Srie		ld64_init_strings;
57ba2be530Sab196087		ld32_init_target;
58ba2be530Sab196087		ld64_init_target;
595aefb655Srie		ld32_make_sections;
605aefb655Srie		ld64_make_sections;
615aefb655Srie		ld32_ofl_cleanup;
625aefb655Srie		ld64_ofl_cleanup;
6356deab07SRod Evans		ld32_process_mem;
6456deab07SRod Evans		ld64_process_mem;
655aefb655Srie		ld32_reloc_init;
665aefb655Srie		ld64_reloc_init;
675aefb655Srie		ld32_reloc_process;
685aefb655Srie		ld64_reloc_process;
695aefb655Srie		ld32_sym_validate;
705aefb655Srie		ld64_sym_validate;
715aefb655Srie		ld32_update_outfile;
725aefb655Srie		ld64_update_outfile;
735aefb655Srie	local:
745aefb655Srie		*;
755aefb655Srie};
765aefb655Srie
775aefb655Srie# The following functions must be provided by our caller, or one of the
785aefb655Srie# callers dependencies.
795aefb655Srie
807c478bd9Sstevel@tonic-gate{
817c478bd9Sstevel@tonic-gate	global:
827c478bd9Sstevel@tonic-gate		eprintf =	FUNCTION extern;
837c478bd9Sstevel@tonic-gate};
84