# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # # The only file that contains capabilities symbols is bignum_i386_asm.o, # however this is a dependency of bignum_i386.o, which in turn is a dependency # of pics/bignumimpl.o. Only the last object exports any interfaces, hence # we compile, and combine all three. The resulting object is identified as a # whole with the bignum_i386_asm.o capabilities flags. # # Note, the Studio assembler identifies bignum_i386_asm.o with its capability # requirements - SSE2 and MMX. Gnu's assembler does not. These capability # flags are defined here to ensure either assembler can be used, and a valid # capabilities object is built for translating to a symbol capabilities object. $mapfile_version 2 CAPABILITY i386_hwcap1 { HW += SSE2 MMX; }; SYMBOL_SCOPE { global: big_add; big_bitlength; big_cmp_abs; big_copy; big_div_pos; big_ext_gcd_pos; big_extend; big_finish; big_init1; big_init; big_modexp; big_modexp_crt; big_mul; big_nextprime_pos; big_sub; big_sub_pos; bignum2bytestring; local: *; };