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#
55ef6355bc6375ad080b10b10660e3528e2b7e6aab# Copyright 2008 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 'sym' module
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ID_ELFEDIT_SYM
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Command argument strings
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ARG_SECNDX "symbol section index"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ARG_SYM "Name of desired symbol within symbol table(s)"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ARG_SYMVIS "symbol visibility"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ARG_SYMBIND "symbol binding"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Names of things we allocate dynamically
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ALLOC_ARGSTATE "symbol table state"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Format strings
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_SYMTAB "Symbol Table Section: %s\n"
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_EXT_S_OK "[%d: %s][%d]: value unchanged: %s\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_EXT_S_CHG "[%d: %s][%d]: change from %s to %s\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_D_OK "[%d: %s][%d].%s: value unchanged: %d\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_D_CHG "[%d: %s][%d].%s: change from %d to %d\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_LLX_OK "[%d: %s][%d].%s: value unchanged: %#llx\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_LLX_CHG "[%d: %s][%d].%s: change from %#llx to %#llx\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_SHNDX_UNDEF0 "ELF warning: symbol [0] is expected to reference \
d29b2c4438482eb00488be49a1f5d6835f455546ab SHN_UNDEF\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_SHNDX_XINDEX "ELF warning: SHN_XINDEX is not supposed to \
d29b2c4438482eb00488be49a1f5d6835f455546ab be set directly\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_SHNDX_EFORCE "[%d: %s][%d]: ELF warning: Section index does not \
d29b2c4438482eb00488be49a1f5d6835f455546ab normally go in extended index section: %d\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_LBINDGSYM "[%d: %s][%d]: ELF warning: local binding set for \
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol in global part of symbol table \
d29b2c4438482eb00488be49a1f5d6835f455546ab (shdr[%d].sh_info == %d)\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_GBINDLSYM "[%d: %s][%d]: ELF warning: global binding set for \
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol in local part of symbol table \
d29b2c4438482eb00488be49a1f5d6835f455546ab (shdr[%d].sh_info == %d)\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_DYNSYMNAMCHG "[%d: %s][%d]: ELF warning: changing the name \
d29b2c4438482eb00488be49a1f5d6835f455546ab of a symbol in the dynamic symbol table will confuse \
d29b2c4438482eb00488be49a1f5d6835f455546ab the hash section and likely render the object \
d29b2c4438482eb00488be49a1f5d6835f455546ab unusable\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_CHGSYMELT0 "[%d: %s][%d]: ELF warning: Symbol [0] is expected \
d29b2c4438482eb00488be49a1f5d6835f455546ab to be NULL\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Errors
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ERR_NOSYMTAB "Object does not have any symbol tables\n";
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ERR_NEEDEXPSYMTAB "The -symndx option requires a symbol table to be \
d29b2c4438482eb00488be49a1f5d6835f455546ab explicitly specified (-shnam, -shndx, or \
d29b2c4438482eb00488be49a1f5d6835f455546ab -shtyp options)\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Module description
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_MOD_DESC "Symbol Section"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# 1-line description strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_DUMP "Dump Symbol Table"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_BIND "Symbol binding"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_INFO "st_info (binding and type)"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_NAME "Symbol name"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_OTHER "st_other (visibility)"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_SHNDX "Symbol section index"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_SIZE "Symbol size"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_TYPE "Symbol type"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_VALUE "Symbol value"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_ST_VISIBILITY "Symbol visibility"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Command option description strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_E "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Force the use of the extended index section to hold the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab specified section index, even if it is small enough to fit\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab into the symbol st_shndx field. Note that this will produce\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab a non-standard ELF file.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_SHNDX "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Use the symbol table found in the ELF section with the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab specified index.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_SHNAM "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Use the symbol table found in the ELF section with the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab specified name.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_SHTYP "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Use the first symbol table found in the ELF section with\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the specified section type.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_SECSHNDX "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Interpret the sec argument as a section index rather than\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab as a section name. section can be one of the well known SHN_\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbolic constants, or any integer.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_SECSHTYP "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Interpret the sec argument as a section type rather than\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab as a section name. section can be one of the well known SHT_\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbolic constants, or any integer.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_NAME_OFFSET "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Interpret the name argument as a string table offset rather\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab than as a string.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_SYMNDX "\
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym argument supplies a numeric index into the symbol\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab section instead of the name of the symbol. The symbol table\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab to use must be explicitly specified (-shnam, -shndx, or\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab -shtyp option) when -symndx is used.\n".
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Command argument descriptions
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A1_SYM "Name of desired symbol within symbol table.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_BIND "Symbol binding. STB_ symbol constants are\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab accepted, as is any integer in the range 0 - 15.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_INFO "Integer value to set for symbol st_info field.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab Note that the fact that the value of st_info affects both\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the symbol binding and type values.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_NAME "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Name to set for symbol. If the -name_offset option is used,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab this is an integer offset into the string table section\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab associated with the symbol table. Otherwise, it is a string,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab which will be looked up in the symbol table (and inserted if\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab necessary, and if possible) in order to obtain the needed\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab offset value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_OTHER "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Integer value to set for symbol st_other field. Note\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab that the fact that the value of st_other affects the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol visibility value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_SEC "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Section to set for symbol section index. By default, this\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab argument is interpreted as the name of the desired section.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The section index of the first section with the specified\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab name is used.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If -secshndx is set, then sec is a section index,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab and is interpreted as an integer, or one of the well known\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab SHN_ symbolic constant names.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If -secshtyp is set, then sec is a section type,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab and is interpreted as an integer, or one of the well known\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab SHT_ symbolic constant names. The section index of the first\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab section with the specified type is used.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_SIZE "Integer value to set for symbol size.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_TYPE "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Symbol type. STT_ symbol constants are accepted, as is any\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab integer in the range 0 - 15.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_VALUE "Integer value to set for symbol value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DESC_ST_VISIBILITY "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Symbol visibility. STV_ symbol constants are accepted, as\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab are integer values.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Help strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_DUMP " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:dump command is used to display symbol information\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab using the same style used by the elfdump program.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:dump is called without arguments, information for every\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol in the symbol table is shown. If called with the symndx\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab argument, the information forthe symbol at that index is\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab displayed.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_BIND " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_bind command is used to display or alter symbol\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab binding. Symbol binding is found in the st_bind portion of the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_info field of an ELF symbol.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_bind is called without arguments, the value of\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_bind for every symbol in the symbol table is shown. If\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab called with the symndx argument, the value of the symbol at that\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab index is displayed. If both arguments are present, the st_bind\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab field of the symbol at the specified index is set to the given\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_INFO " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_info command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_info field of the specified symbol. It provides raw access\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab to the entire st_info value. Normally, the sym:st_bind or sym:st_type\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab commands are used in preference to sym:st_info.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_info is called without arguments, the value of st_info\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab for every symbol in the symbol table is shown. If called with the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symndx argument, the value of the symbol at that index is displayed.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If both arguments are present, the st_info field of the symbol at\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the specified index is set to the given value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_NAME " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_name command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab name associated with a specified symbol.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_name is called without arguments, the value of st_name\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab for every symbol in the symbol table is shown. If called with the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symndx argument, the name of the symbol at that index is displayed.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If both arguments are present, the name field of the symbol at\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the specified index is set to the given value.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab When changing the name of a symbol, you should be aware of the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab following limitations:\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tIt is only possible to change the name of a symbol in a\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tnon-dynamic symbol table to one of the names already found\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tin the associated string table.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tChanging the name of a symbol in the dynamic symbol table\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \twill lead to the hash table having inaccurate information\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tabout the symbol table, and is likely render the object\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tunusable.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_OTHER " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_other command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_other field of the specified symbol. It provides raw access\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab to the entire st_other value. Normally, the sym:st_visibility\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab command is used in preference to sym:st_other.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_other is called without arguments, the value of st_other\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab for every symbol in the symbol table is shown. If called with the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symndx argument, the value of the symbol at that index is displayed.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If both arguments are present, the st_other field of the symbol at\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the specified index is set to the given value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_SHNDX " \
d29b2c4438482eb00488be49a1f5d6835f455546ab Every symbol table entry is defined in relation to some section.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab This information is maintained in the st_shndx field of an ELF\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol. The sym:st_shndx command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_shndx field of the specified symbol.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_shndx is called without arguments, the value of st_shndx\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab for every symbol in the symbol table is shown. If called with the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symndx argument, the value of the symbol at that index is displayed.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If both arguments are present, the st_shndx field of the symbol at\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the specified index is set to the given value.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab sym:st_shndx is aware of extended section indexes, and will\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab access/modify the extended index sections associated with a given\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol table as necessary.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_SIZE " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_size command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab size of the specified symbol (st_size field).\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_size is called without arguments, the value of st_size\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab for every symbol in the symbol table is shown. If called with\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the symndx argument, the size of the symbol at that index is\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab displayed. If both arguments are present, the st_size field of\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the symbol at the specified index is set to the given value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_TYPE " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_type command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_type portion of the st_info field of the specified\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_type is called without arguments, the value of\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_type for every symbol in the symbol table is shown. If\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab called with the symndx argument, the value of the symbol at that\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab index is displayed. If both arguments are present, the st_type\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab field of the symbol at the specified index is set to the given value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_VALUE " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_value command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab value of the specified symbol (st_value field).\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_value is called without arguments, the value of\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_value for every symbol in the symbol table is shown. If\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab called with the symndx argument, the value of the symbol at that\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab index is displayed. If both arguments are present, the st_value\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab field of the symbol at the specified index is set to the given value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_ST_VISIBILITY " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The sym:st_visibility command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_visibility portion of the st_other field of the specified\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab symbol.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab By default, symbols are taken from all available symbol tables.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab The symbol table to use can be changed using the -shnam, -shndx,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab or -shtyp options. Only one of these options can be used at a time.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If sym:st_visibility is called without arguments, the value of\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab st_visibility for every symbol in the symbol table is shown. If\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab called with the symndx argument, the value of the symbol at that\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab index is displayed. If both arguments are present, the st_visibility\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab field of the symbol at the specified index is set to the given 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_NL "\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_E "-e"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_SHNAM "-shnam"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_SHNDX "-shndx"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_SHTYP "-shtyp"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_SYMNDX "-symndx"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_NAME_OFFSET "-name_offset"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_SECSHNDX "-secshndx"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_SECSHTYP "-secshtyp"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_INDEX "index"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_NAME "name"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_SEC "sec"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_SYM "sym"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_TYPE "type"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_VALUE "value"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Format strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_WORDVALNL "%u\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_XWORDVALNL_32 "0x%8.8x\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_XWORDVALNL_64 "0x%16.16llx\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_STRNL "%s\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_INDEX " [%lld]"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Module name
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_MOD_NAME "sym"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Command names
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_DUMP "dump"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_BIND "st_bind"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_INFO "st_info"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_NAME "st_name"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_OTHER "st_other"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_SHNDX "st_shndx"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_SIZE "st_size"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_TYPE "st_type"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_VALUE "st_value"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_ST_VISIBILITY "st_visibility"