4632N/A# The contents of this file are subject to the terms of the
4632N/A# Common Development and Distribution License (the "License").
4632N/A# You may not use this file except in compliance with the License.
4632N/A# See the License for the specific language governing permissions
4632N/A# and limitations under the License.
4632N/A# When distributing Covered Code, include this CDDL HEADER in each
4632N/A# If applicable, add the following below this CDDL HEADER, with the
4632N/A# fields enclosed by brackets "[]" replaced with your own identifying
4632N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4632N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4632N/A# Use is subject to license terms.
4632N/A# ident "%Z%%M% %I% %E% SMI"
4632N/A# Message file for elfedit 'syminfo' module
4632N/A@ MSG_DEBUG_S_OK "[%d: %s][%d].%s: value unchanged: %s\n"
4632N/A@ MSG_DEBUG_S_CHG "[%d: %s][%d].%s: change from %s to %s\n"
4632N/A@ MSG_DEBUG_X_OK "[%d: %s][%d].%s: value unchanged: %#x\n"
4632N/A@ MSG_DEBUG_X_CHG "[%d: %s][%d].%s: change from %#x to %#x\n"
4632N/A@ MSG_DEBUG_FNDNEEDED "[%d: %s][%d]: DT_NEEDED element for si_boundto: %s\n"
4632N/A@ MSG_DEBUG_CONVNULL "[%d: %s][%d]: No existing %s to modify. Converting \
4632N/A@ MSG_DEBUG_CHGSYMINFO0 "[%d: %s][%d]: ELF warning: element [0] is expected to \
4632N/A contain SYMINFO_VERSION, and should not be altered\n"
4632N/A@ MSG_ERR_NOEXTRANULL "[%d: %s]: Dynamic section does not have room to add \
4632N/A@ MSG_MOD_DESC "Syminfo Section"
4632N/A# 1-line description strings
4632N/A@ MSG_DESC_DUMP "Dump Syminfo Section"
4632N/A@ MSG_DESC_SI_BOUNDTO "Symbol to Object Binding"
4632N/A@ MSG_DESC_SI_FLAGS "Binding Flags"
4632N/A# Command option description strings
4632N/A The value argument is a string giving the name of an ELF\n\
4632N/A object. The si_boundto field will be set to the index of the\n\
4632N/A corresponding DT_NEEDED entry of the dynamic section. If no\n\
4632N/A such DT_NEEDED entry exists in the dynamic section and there\n\
4632N/A is sufficient room, it will be added in order to satisfy this\n\
4632N/A The sym argument supplies a numeric index into the syminfo\n\
4632N/A section instead of the name of the symbol.\n".
4632N/A# Command argument descriptions
4632N/A@ MSG_A1_SYM "Name of desired symbol within symbol table.\n"
4632N/A An integer value that describes the object this symbol is\n\
4632N/A bound to. SYMINFO_BT_ symbolic constants are accepted to\n\
4632N/A represent special values (self, parent, none), or the value\n\
4632N/A can be the index of a dynamic section element.\n"
@ MSG_A2_DESC_SI_FLAGS "\
New value for symbol binding flags. SYMINFO_FLG_ symbolic\n\
constants are accepted, as is any integer.\n"
The syminfo:dump command is used to display information\n\
from the syminfo section using the same style used by the\n\
The syminfo section augments the information found in the\n\
If sym:dump is called without arguments, syminfo information\n\
for every symbol in the symbol table is shown. If called with\n\
the sym argument, the information for that symbol is\n\
@ MSG_HELP_SI_BOUNDTO " \
The syminfo:si_boundto command is used to display or alter\n\
the external object the symbol is bound to. This information\n\
is found in the si_boundto field of a syminfo structure. It is\n\
an integer that contains one of the special SYMINFO_BT_ values,\n\
or alternaltively, an index into the dynamic section of the\n\
If syminfo:si_boundto is called without arguments, the value of\n\
si_boundto for every symbol in the symbol table is shown. If\n\
called with the sym argument, the si_boundto information for\n\
that is displayed. If both arguments are present, the second\n\
argument supplies a new value for si_boundto.\n\
By default, value is an integer, which will have one of the\n\
special SYMINFO_BT_ values, or which will be the index of an\n\
element in the dynamic section. Alternatively, the -needed\n\
option can be used to specify a string with the name of an\n\
object. If -needed is is used, si_boundto will be set to the\n\
index of the DT_NEEDED entry in the dynamic section that\n\
corresponds to the given name. If no such DT_NEEDED element\n\
exists, and room is available to add it, it will be added in\n\
order to faciliate this operation.\n"
Examine or modify the syminfo binding flags associated\n\
with a given symbol. This information is found in the\n\
si_flags field of the syminfo structure.\n\
If syminfo:si_flags is called without arguments, the value\n\
of si_flags for every symbol in the symbol table is shown.\n\
If called with the sym argument, the si_flags information\n\
for that symbol is displayed. If one or more value arguments\n\
are present, the the following steps are taken:\n\
o\tAll the value arguments are OR'd together.\n\
o\tIf the -cmp option has been specified, the new value\n\
o\tThe si_flags field of the syminfo structure is updated\n\
\twith the new value. If -and is specified, the new value is\n\
\tAND'd against the existing value. If -or is specified,\n\
\tthe new value is OR'd against the existing value. If\n\
\tneither -and or -or are specified, the new value replaces\n\
# The following strings represent reserved words, files, pathnames and symbols.
# Reference to this strings is via the MSG_ORIG() macro, and thus no message
# translation is required.
@ MSG_STR_MINUS_NEEDED "-needed"
@ MSG_STR_MINUS_SYMNDX "-symndx"
@ MSG_FMT_WORDVALNL "%u\n"
@ MSG_FMT_HEXNUMNL "%#x\n"
@ MSG_CMD_SI_BOUNDTO "si_boundto"
@ MSG_CMD_SI_FLAGS "si_flags"