xref: /illumos-gate/usr/src/lib/pkcs11/libsoftcrypto/capabilities/intel/common/mapfile-cap (revision d47ecb8c54ecda1beda0cc2808462c5ff886a5ef)
11e49577aSRod Evans#
21e49577aSRod Evans# CDDL HEADER START
31e49577aSRod Evans#
41e49577aSRod Evans# The contents of this file are subject to the terms of the
51e49577aSRod Evans# Common Development and Distribution License (the "License").
61e49577aSRod Evans# You may not use this file except in compliance with the License.
71e49577aSRod Evans#
81e49577aSRod Evans# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91e49577aSRod Evans# or http://www.opensolaris.org/os/licensing.
101e49577aSRod Evans# See the License for the specific language governing permissions
111e49577aSRod Evans# and limitations under the License.
121e49577aSRod Evans#
131e49577aSRod Evans# When distributing Covered Code, include this CDDL HEADER in each
141e49577aSRod Evans# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151e49577aSRod Evans# If applicable, add the following below this CDDL HEADER, with the
161e49577aSRod Evans# fields enclosed by brackets "[]" replaced with your own identifying
171e49577aSRod Evans# information: Portions Copyright [yyyy] [name of copyright owner]
181e49577aSRod Evans#
191e49577aSRod Evans# CDDL HEADER END
201e49577aSRod Evans#
211e49577aSRod Evans#
221e49577aSRod Evans# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
231e49577aSRod Evans#
241e49577aSRod Evans
251e49577aSRod Evans# The only file that contains capabilities symbols is bignum_i386_asm.o,
261e49577aSRod Evans# however this is a dependency of bignum_i386.o, which in turn is a dependency
271e49577aSRod Evans# of pics/bignumimpl.o.  Only the last object exports any interfaces, hence
281e49577aSRod Evans# we compile, and combine all three.  The resulting object is identified as a
291e49577aSRod Evans# whole with the bignum_i386_asm.o capabilities flags.
30*d47ecb8cSRod Evans#
31*d47ecb8cSRod Evans# Note, the Studio assembler identifies bignum_i386_asm.o with its capability
32*d47ecb8cSRod Evans# requirements - SSE2 and MMX.  Gnu's assembler does not.  These capability
33*d47ecb8cSRod Evans# flags are defined here to ensure either assembler can be used, and a valid
34*d47ecb8cSRod Evans# capabilities object is built for translating to a symbol capabilities object.
351e49577aSRod Evans
361e49577aSRod Evans$mapfile_version 2
371e49577aSRod Evans
38*d47ecb8cSRod EvansCAPABILITY i386_hwcap1 {
39*d47ecb8cSRod Evans	HW += SSE2 MMX;
40*d47ecb8cSRod Evans};
411e49577aSRod Evans
421e49577aSRod EvansSYMBOL_SCOPE {
431e49577aSRod Evans	global:
441e49577aSRod Evans		big_add;
451e49577aSRod Evans		big_bitlength;
461e49577aSRod Evans		big_cmp_abs;
471e49577aSRod Evans		big_copy;
481e49577aSRod Evans		big_div_pos;
491e49577aSRod Evans		big_ext_gcd_pos;
501e49577aSRod Evans		big_extend;
511e49577aSRod Evans		big_finish;
521e49577aSRod Evans		big_init1;
531e49577aSRod Evans		big_init;
541e49577aSRod Evans		big_modexp;
551e49577aSRod Evans		big_modexp_crt;
561e49577aSRod Evans		big_mul;
571e49577aSRod Evans		big_nextprime_pos;
581e49577aSRod Evans		big_sub;
591e49577aSRod Evans		big_sub_pos;
601e49577aSRod Evans		bignum2bytestring;
611e49577aSRod Evans	local:
621e49577aSRod Evans		*;
631e49577aSRod Evans};
64