sections.c revision 5aefb6555731130ca4fd295960123d71f2d21fe8
/*
* 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 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "msg.h"
#include "_debug.h"
#include "libld.h"
/*
* Error message string table.
*/
static const Msg order_errors[] = {
MSG_ORD_ERR_INFORANGE, /* MSG_INTL(MSG_ORD_ERR_INFORANGE) */
MSG_ORD_ERR_ORDER, /* MSG_INTL(MSG_ORD_ERR_ORDER) */
MSG_ORD_ERR_LINKRANGE, /* MSG_INTL(MSG_ORD_ERR_LINKRANGE) */
MSG_ORD_ERR_FLAGS, /* MSG_INTL(MSG_ORD_ERR_FLAGS) */
MSG_ORD_ERR_CYCLIC, /* MSG_INTL(MSG_ORD_ERR_CYCLIC) */
MSG_ORD_ERR_LINKINV /* MSG_INTL(MSG_ORD_ERR_LINKINV) */
};
void
{
uint_t i;
if (DBG_NOTCLASS(DBG_C_STRTAB))
return;
if (!osp)
return;
else
if ((DBG_NOTDETAIL()) ||
return;
stp->st_hbckcnt);
for (i = 0; i < stp->st_hbckcnt; i++) {
if (stroff == 0) {
} else {
}
}
}
}
void
{
const char *str;
if (DBG_NOTCLASS(DBG_C_SECTIONS))
return;
else
}
void
{
const char *str;
if (DBG_NOTCLASS(DBG_C_SECTIONS))
return;
else
}
void
{
const char *str;
if (DBG_NOTCLASS(DBG_C_SECTIONS))
return;
else
}
void
{
if (DBG_NOTCLASS(DBG_C_SECTIONS))
return;
}
void
{
const char *fmt;
if (DBG_NOTCLASS(DBG_C_SECTIONS))
return;
else
}
void
{
const char *str;
if (DBG_NOTCLASS(DBG_C_SECTIONS))
return;
if (DBG_NOTDETAIL())
return;
/*
* If the flag == 0, then the routine is called before sorting.
*/
if (flag == 0)
else
static const char *msg;
continue;
}
} else {
/* SHF_LINK_ORDER */
}
if (link == SHN_BEFORE) {
continue;
}
continue;
}
}
}
}
void
{
if (DBG_NOTCLASS(DBG_C_SECTIONS))
return;
if (DBG_NOTDETAIL())
return;
if (error == 0)
return;
if (error)
}