/*
* 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
* 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) 1988 AT&T
* All Rights Reserved
*
*/
/*
* Global variables
*/
#include "msg.h"
#include "_libld.h"
/* link-edit dynamic allocations */
/* (-S option) */
/*
* Paths and directories for library searches. These are used to set up
* linked lists of directories which are maintained in the ofl structure.
*/
/*
* A default library search path is used if one was not supplied on the command
* line. Note: these strings can not use MSG_ORIG() since they are modified as
* part of the path processing.
*/
/*
* Rejected file error messages (indexed to match SGS_REJ_ values).
*/
const Msg
MSG_REJ_MACH, /* MSG_INTL(MSG_REJ_MACH) */
MSG_REJ_CLASS, /* MSG_INTL(MSG_REJ_CLASS) */
MSG_REJ_DATA, /* MSG_INTL(MSG_REJ_DATA) */
MSG_REJ_TYPE, /* MSG_INTL(MSG_REJ_TYPE) */
MSG_REJ_BADFLAG, /* MSG_INTL(MSG_REJ_BADFLAG) */
MSG_REJ_MISFLAG, /* MSG_INTL(MSG_REJ_MISFLAG) */
MSG_REJ_VERSION, /* MSG_INTL(MSG_REJ_VERSION) */
MSG_REJ_HAL, /* MSG_INTL(MSG_REJ_HAL) */
MSG_REJ_US3, /* MSG_INTL(MSG_REJ_US3) */
MSG_REJ_STR, /* MSG_INTL(MSG_REJ_STR) */
MSG_REJ_UNKFILE, /* MSG_INTL(MSG_REJ_UNKFILE) */
MSG_REJ_UNKCAP, /* MSG_INTL(MSG_REJ_UNKCAP) */
MSG_REJ_HWCAP_1, /* MSG_INTL(MSG_REJ_HWCAP_1) */
MSG_REJ_SFCAP_1, /* MSG_INTL(MSG_REJ_SFCAP_1) */
MSG_REJ_MACHCAP, /* MSG_INTL(MSG_REJ_MACHCAP) */
MSG_REJ_PLATCAP, /* MSG_INTL(MSG_REJ_PLATCAP) */
MSG_REJ_HWCAP_2, /* MSG_INTL(MSG_REJ_HWCAP_2) */
MSG_REJ_ARCHIVE /* MSG_INTL(MSG_REJ_ARCHIVE) */
};
#endif
/*
* Symbol types that we include in .SUNW_ldynsym sections
* (indexed by STT_ values).
*/
const int
ldynsym_symtype[] = {
0, /* STT_NOTYPE (not counting 1st slot) */
0, /* STT_OBJECT */
1, /* STT_FUNC */
0, /* STT_SECTION */
1, /* STT_FILE */
0, /* STT_COMMON */
0, /* STT_TLS */
0, /* 7 */
0, /* 8 */
0, /* 9 */
0, /* 10 */
0, /* 11 */
0, /* 12 */
0, /* STT_SPARC_REGISTER */
0, /* 14 */
0, /* 15 */
};
#error "STT_NUM has grown. Update ldynsym_symtype[]."
#endif
/*
* Symbol types that we include in .SUNW_dynsymsort sections
* (indexed by STT_ values).
*/
const int
dynsymsort_symtype[] = {
0, /* STT_NOTYPE */
1, /* STT_OBJECT */
1, /* STT_FUNC */
0, /* STT_SECTION */
0, /* STT_FILE */
1, /* STT_COMMON */
0, /* STT_TLS */
0, /* 7 */
0, /* 8 */
0, /* 9 */
0, /* 10 */
0, /* 11 */
0, /* 12 */
0, /* STT_SPARC_REGISTER */
0, /* 14 */
0, /* 15 */
};
#error "STT_NUM has grown. Update dynsymsort_symtype[]."
#endif