112719SRod.Evans@Sun.COM#
212719SRod.Evans@Sun.COM# CDDL HEADER START
312719SRod.Evans@Sun.COM#
412719SRod.Evans@Sun.COM# The contents of this file are subject to the terms of the
512719SRod.Evans@Sun.COM# Common Development and Distribution License (the "License").
612719SRod.Evans@Sun.COM# You may not use this file except in compliance with the License.
712719SRod.Evans@Sun.COM#
812719SRod.Evans@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
912719SRod.Evans@Sun.COM# or http://www.opensolaris.org/os/licensing.
1012719SRod.Evans@Sun.COM# See the License for the specific language governing permissions
1112719SRod.Evans@Sun.COM# and limitations under the License.
1212719SRod.Evans@Sun.COM#
1312719SRod.Evans@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
1412719SRod.Evans@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1512719SRod.Evans@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
1612719SRod.Evans@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
1712719SRod.Evans@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
1812719SRod.Evans@Sun.COM#
1912719SRod.Evans@Sun.COM# CDDL HEADER END
2012719SRod.Evans@Sun.COM#
2112719SRod.Evans@Sun.COM#
2212719SRod.Evans@Sun.COM# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
2312719SRod.Evans@Sun.COM#
2412719SRod.Evans@Sun.COM
2512719SRod.Evans@Sun.COM# The only file that contains capabilities symbols is bignum_i386_asm.o,
2612719SRod.Evans@Sun.COM# however this is a dependency of bignum_i386.o, which in turn is a dependency
2712719SRod.Evans@Sun.COM# of pics/bignumimpl.o.  Only the last object exports any interfaces, hence
2812719SRod.Evans@Sun.COM# we compile, and combine all three.  The resulting object is identified as a
2912719SRod.Evans@Sun.COM# whole with the bignum_i386_asm.o capabilities flags.
30*12755SRod.Evans@Sun.COM#
31*12755SRod.Evans@Sun.COM# Note, the Studio assembler identifies bignum_i386_asm.o with its capability
32*12755SRod.Evans@Sun.COM# requirements - SSE2 and MMX.  Gnu's assembler does not.  These capability
33*12755SRod.Evans@Sun.COM# flags are defined here to ensure either assembler can be used, and a valid
34*12755SRod.Evans@Sun.COM# capabilities object is built for translating to a symbol capabilities object.
3512719SRod.Evans@Sun.COM
3612719SRod.Evans@Sun.COM$mapfile_version 2
3712719SRod.Evans@Sun.COM
38*12755SRod.Evans@Sun.COMCAPABILITY i386_hwcap1 {
39*12755SRod.Evans@Sun.COM	HW += SSE2 MMX;
40*12755SRod.Evans@Sun.COM};
4112719SRod.Evans@Sun.COM
4212719SRod.Evans@Sun.COMSYMBOL_SCOPE {
4312719SRod.Evans@Sun.COM	global:
4412719SRod.Evans@Sun.COM		big_add;
4512719SRod.Evans@Sun.COM		big_bitlength;
4612719SRod.Evans@Sun.COM		big_cmp_abs;
4712719SRod.Evans@Sun.COM		big_copy;
4812719SRod.Evans@Sun.COM		big_div_pos;
4912719SRod.Evans@Sun.COM		big_ext_gcd_pos;
5012719SRod.Evans@Sun.COM		big_extend;
5112719SRod.Evans@Sun.COM		big_finish;
5212719SRod.Evans@Sun.COM		big_init1;
5312719SRod.Evans@Sun.COM		big_init;
5412719SRod.Evans@Sun.COM		big_modexp;
5512719SRod.Evans@Sun.COM		big_modexp_crt;
5612719SRod.Evans@Sun.COM		big_mul;
5712719SRod.Evans@Sun.COM		big_nextprime_pos;
5812719SRod.Evans@Sun.COM		big_sub;
5912719SRod.Evans@Sun.COM		big_sub_pos;
6012719SRod.Evans@Sun.COM		bignum2bytestring;
6112719SRod.Evans@Sun.COM	local:
6212719SRod.Evans@Sun.COM		*;
6312719SRod.Evans@Sun.COM};
64