xref: /illumos-gate/usr/src/cmd/sgs/libld/common/mapfile-vers (revision 1007fd6fd24227460e77ce89f5ca85641a85a576)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25# Generic interface definition for usr/src/cmd/sgs/libld.
26#
27
28#
29# MAPFILE HEADER START
30#
31# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
32# Object versioning must comply with the rules detailed in
33#
34#	usr/src/lib/README.mapfiles
35#
36# You should not be making modifications here until you've read the most current
37# copy of that file. If you need help, contact a gatekeeper for guidance.
38#
39# MAPFILE HEADER END
40#
41
42$mapfile_version 2
43
44SYMBOL_VERSION SUNWprivate_4.6 {
45	global:
46		dbg_print {	# interposed - ld(1) and ld.so.1(1)
47			FLAGS = NODIRECT;
48		};
49
50		ld_getopt;
51
52		ld32_main;
53		ld64_main;
54
55		ld32_create_outfile;
56		ld64_create_outfile;
57		ld32_ent_setup;
58		ld64_ent_setup;
59		ld32_init_strings;
60		ld64_init_strings;
61		ld32_init_target;
62		ld64_init_target;
63		ld32_make_sections;
64		ld64_make_sections;
65		ld32_ofl_cleanup;
66		ld64_ofl_cleanup;
67		ld32_process_mem;
68		ld64_process_mem;
69		ld32_reloc_init;
70		ld64_reloc_init;
71		ld32_reloc_process;
72		ld64_reloc_process;
73		ld32_sym_validate;
74		ld64_sym_validate;
75		ld32_update_outfile;
76		ld64_update_outfile;
77	local:
78		*;
79};
80
81# The following functions must be provided by our caller, or one of the
82# callers dependencies.
83
84SYMBOL_SCOPE {
85	global:
86		eprintf {
87			TYPE = FUNCTION;
88			FLAGS = extern;
89		};
90		veprintf {
91			TYPE = FUNCTION;
92			FLAGS = extern;
93		};
94};
95