xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 6a634c9dca3093f3922e4b7ab826d7bdf17bf78e)
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#
23dc0f59e5SAli 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
42cd3e9333SAli Bahrami$mapfile_version 2
43cd3e9333SAli Bahrami
44cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_4.6 {
455aefb655Srie	global:
46cd3e9333SAli Bahrami		dbg_print {	# interposed - ld(1) and ld.so.1(1)
47cd3e9333SAli Bahrami			FLAGS = NODIRECT;
48cd3e9333SAli Bahrami		};
495aefb655Srie
5092a02081SRod Evans		ld_getopt;
5192a02081SRod Evans
525aefb655Srie		ld32_main;
535aefb655Srie		ld64_main;
545aefb655Srie
555aefb655Srie		ld32_create_outfile;
565aefb655Srie		ld64_create_outfile;
575aefb655Srie		ld32_ent_setup;
585aefb655Srie		ld64_ent_setup;
59c1c6f601Srie		ld32_init_strings;
60c1c6f601Srie		ld64_init_strings;
61ba2be530Sab196087		ld32_init_target;
62ba2be530Sab196087		ld64_init_target;
635aefb655Srie		ld32_make_sections;
645aefb655Srie		ld64_make_sections;
655aefb655Srie		ld32_ofl_cleanup;
665aefb655Srie		ld64_ofl_cleanup;
6756deab07SRod Evans		ld32_process_mem;
6856deab07SRod Evans		ld64_process_mem;
695aefb655Srie		ld32_reloc_init;
705aefb655Srie		ld64_reloc_init;
715aefb655Srie		ld32_reloc_process;
725aefb655Srie		ld64_reloc_process;
735aefb655Srie		ld32_sym_validate;
745aefb655Srie		ld64_sym_validate;
755aefb655Srie		ld32_update_outfile;
765aefb655Srie		ld64_update_outfile;
775aefb655Srie	local:
785aefb655Srie		*;
795aefb655Srie};
805aefb655Srie
815aefb655Srie# The following functions must be provided by our caller, or one of the
825aefb655Srie# callers dependencies.
835aefb655Srie
84cd3e9333SAli BahramiSYMBOL_SCOPE {
857c478bd9Sstevel@tonic-gate	global:
86cd3e9333SAli Bahrami		eprintf {
87cd3e9333SAli Bahrami			TYPE = FUNCTION;
88cd3e9333SAli Bahrami			FLAGS = extern;
89cd3e9333SAli Bahrami		};
90*1007fd6fSAli Bahrami		veprintf {
91*1007fd6fSAli Bahrami			TYPE = FUNCTION;
92*1007fd6fSAli Bahrami			FLAGS = extern;
93*1007fd6fSAli Bahrami		};
947c478bd9Sstevel@tonic-gate};
95