xref: /titanic_50/usr/src/lib/libmd/common/mapfile-vers (revision b494511a9cf72b1fc4eb13a0e593f55c624ab829)
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# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25#
26# MAPFILE HEADER START
27#
28# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29# Object versioning must comply with the rules detailed in
30#
31#	usr/src/lib/README.mapfiles
32#
33# You should not be making modifications here until you've read the most current
34# copy of that file. If you need help, contact a gatekeeper for guidance.
35#
36# MAPFILE HEADER END
37#
38
39$mapfile_version 2
40
41# Note:
42#
43#	SHA256Update, SHA384Update, and SHA512Update are all
44#	weak aliases for SHA2Update.
45#
46#	SHA256Final, SHA384Final, and SHA512Final are all
47#	weak aliases for SHA2Final
48#
49# We use NODYNSORT to keep the weak aliases out of the .SUNW_dymsymsort
50# ELF section. As a result, ld will put the two main symbols in.
51#
52
53
54SYMBOL_VERSION SUNW_1.1 {
55    global:
56	MD4Final;
57	MD4Init;
58	MD4Update;
59	md5_calc;
60	MD5Final	{ FLAGS = NODIRECT };	# Addr interpose from testsuite
61	MD5Init		{ FLAGS = NODIRECT };	# Addr interpose from testsuite
62	MD5Update	{ FLAGS = NODIRECT };	# Addr interpose from testsuite
63	SHA1Final;
64	SHA1Init;
65	SHA1Update;
66	SHA256Final	{ FLAGS = NODYNSORT };
67	SHA256Init;
68	SHA256Update	{ FLAGS = NODYNSORT };
69	SHA2Final;
70	SHA2Init;
71	SHA2Update;
72	SHA384Final	{ FLAGS = NODYNSORT };
73	SHA384Init;
74	SHA384Update	{ FLAGS = NODYNSORT };
75	SHA512Final	{ FLAGS = NODYNSORT };
76	SHA512Init;
77	SHA512Update	{ FLAGS = NODYNSORT };
78    local:
79	*;
80};
81