syminfo.c revision 5aefb6555731130ca4fd295960123d71f2d21fe8
5aefb6555731130ca4fd295960123d71f2d21fe8rie * CDDL HEADER START
5aefb6555731130ca4fd295960123d71f2d21fe8rie * The contents of this file are subject to the terms of the
5aefb6555731130ca4fd295960123d71f2d21fe8rie * Common Development and Distribution License (the "License").
5aefb6555731130ca4fd295960123d71f2d21fe8rie * You may not use this file except in compliance with the License.
5aefb6555731130ca4fd295960123d71f2d21fe8rie * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5aefb6555731130ca4fd295960123d71f2d21fe8rie * See the License for the specific language governing permissions
5aefb6555731130ca4fd295960123d71f2d21fe8rie * and limitations under the License.
5aefb6555731130ca4fd295960123d71f2d21fe8rie * When distributing Covered Code, include this CDDL HEADER in each
5aefb6555731130ca4fd295960123d71f2d21fe8rie * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5aefb6555731130ca4fd295960123d71f2d21fe8rie * If applicable, add the following below this CDDL HEADER, with the
5aefb6555731130ca4fd295960123d71f2d21fe8rie * fields enclosed by brackets "[]" replaced with your own identifying
5aefb6555731130ca4fd295960123d71f2d21fe8rie * information: Portions Copyright [yyyy] [name of copyright owner]
5aefb6555731130ca4fd295960123d71f2d21fe8rie * CDDL HEADER END
5aefb6555731130ca4fd295960123d71f2d21fe8rie * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5aefb6555731130ca4fd295960123d71f2d21fe8rie * Use is subject to license terms.
5aefb6555731130ca4fd295960123d71f2d21fe8rie#pragma ident "%Z%%M% %I% %E% SMI"
5aefb6555731130ca4fd295960123d71f2d21fe8rieElf_syminfo_entry(Lm_list *lml, Word ndx, Syminfo *sip, const char *name,
5aefb6555731130ca4fd295960123d71f2d21fe8rie const char *needed)
5aefb6555731130ca4fd295960123d71f2d21fe8rie * Did we account for all of the flags?
5aefb6555731130ca4fd295960123d71f2d21fe8rie * If we've bound to a dependency, determine the dynamic entry index.
5aefb6555731130ca4fd295960123d71f2d21fe8rie (void) snprintf(dndxstr, NDXSZ, MSG_ORIG(MSG_FMT_INDEX),
5aefb6555731130ca4fd295960123d71f2d21fe8rie (void) snprintf(sndxstr, NDXSZ, MSG_ORIG(MSG_FMT_INDEX), ndx);