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) 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25# The only file that contains capabilities symbols is bignum_i386_asm.o,
26# however this is a dependency of bignum_i386.o, which in turn is a dependency
27# of pics/bignumimpl.o.  Only the last object exports any interfaces, hence
28# we compile, and combine all three.  The resulting object is identified as a
29# whole with the bignum_i386_asm.o capabilities flags.
30#
31# Note, the Studio assembler identifies bignum_i386_asm.o with its capability
32# requirements - SSE2 and MMX.  Gnu's assembler does not.  These capability
33# flags are defined here to ensure either assembler can be used, and a valid
34# capabilities object is built for translating to a symbol capabilities object.
35
36$mapfile_version 2
37
38CAPABILITY i386_hwcap1 {
39	HW += SSE2 MMX;
40};
41
42SYMBOL_SCOPE {
43	global:
44		big_add;
45		big_bitlength;
46		big_cmp_abs;
47		big_copy;
48		big_div_pos;
49		big_ext_gcd_pos;
50		big_extend;
51		big_finish;
52		big_init1;
53		big_init;
54		big_modexp;
55		big_modexp_crt;
56		big_mul;
57		big_nextprime_pos;
58		big_sub;
59		big_sub_pos;
60		bignum2bytestring;
61	local:
62		*;
63};
64