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