1d29b2c44Sab196087#
2d29b2c44Sab196087# CDDL HEADER START
3d29b2c44Sab196087#
4d29b2c44Sab196087# The contents of this file are subject to the terms of the
5d29b2c44Sab196087# Common Development and Distribution License (the "License").
6d29b2c44Sab196087# You may not use this file except in compliance with the License.
7d29b2c44Sab196087#
8d29b2c44Sab196087# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9d29b2c44Sab196087# or http://www.opensolaris.org/os/licensing.
10d29b2c44Sab196087# See the License for the specific language governing permissions
11d29b2c44Sab196087# and limitations under the License.
12d29b2c44Sab196087#
13d29b2c44Sab196087# When distributing Covered Code, include this CDDL HEADER in each
14d29b2c44Sab196087# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15d29b2c44Sab196087# If applicable, add the following below this CDDL HEADER, with the
16d29b2c44Sab196087# fields enclosed by brackets "[]" replaced with your own identifying
17d29b2c44Sab196087# information: Portions Copyright [yyyy] [name of copyright owner]
18d29b2c44Sab196087#
19d29b2c44Sab196087# CDDL HEADER END
20d29b2c44Sab196087#
21d29b2c44Sab196087
22d29b2c44Sab196087#
23*55ef6355Sab196087# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24d29b2c44Sab196087# Use is subject to license terms.
25d29b2c44Sab196087#
26d29b2c44Sab196087# ident	"%Z%%M%	%I%	%E% SMI"
27d29b2c44Sab196087
28d29b2c44Sab196087@ _START_
29d29b2c44Sab196087
30d29b2c44Sab196087# Message file for elfedit 'sym' module
31d29b2c44Sab196087
32d29b2c44Sab196087@ MSG_ID_ELFEDIT_SYM
33d29b2c44Sab196087
34d29b2c44Sab196087
35d29b2c44Sab196087# Command argument strings
36d29b2c44Sab196087@ MSG_ARG_SECNDX	"symbol section index"
37d29b2c44Sab196087@ MSG_ARG_SYM		"Name of desired symbol within symbol table(s)"
38d29b2c44Sab196087@ MSG_ARG_SYMVIS	"symbol visibility"
39d29b2c44Sab196087@ MSG_ARG_SYMBIND	"symbol binding"
40d29b2c44Sab196087
41d29b2c44Sab196087# Names of things we allocate dynamically
42d29b2c44Sab196087
43d29b2c44Sab196087@ MSG_ALLOC_ARGSTATE		"symbol table state"
44d29b2c44Sab196087
45d29b2c44Sab196087# Format strings
46d29b2c44Sab196087@ MSG_FMT_SYMTAB		"Symbol Table Section:  %s\n"
47d29b2c44Sab196087
48d29b2c44Sab196087# Debug messages
49d29b2c44Sab196087
50d29b2c44Sab196087@ MSG_DEBUG_S_OK	"[%d: %s][%d].%s: value unchanged: %s\n"
51d29b2c44Sab196087@ MSG_DEBUG_S_CHG	"[%d: %s][%d].%s: change from %s to %s\n"
52d29b2c44Sab196087@ MSG_DEBUG_EXT_S_OK	"[%d: %s][%d]: value unchanged: %s\n"
53d29b2c44Sab196087@ MSG_DEBUG_EXT_S_CHG	"[%d: %s][%d]: change from %s to %s\n"
54d29b2c44Sab196087@ MSG_DEBUG_D_OK	"[%d: %s][%d].%s: value unchanged: %d\n"
55d29b2c44Sab196087@ MSG_DEBUG_D_CHG	"[%d: %s][%d].%s: change from %d to %d\n"
56d29b2c44Sab196087@ MSG_DEBUG_LLX_OK	"[%d: %s][%d].%s: value unchanged: %#llx\n"
57d29b2c44Sab196087@ MSG_DEBUG_LLX_CHG	"[%d: %s][%d].%s: change from %#llx to %#llx\n"
58d29b2c44Sab196087@ MSG_DEBUG_SHNDX_UNDEF0 "ELF warning: symbol [0] is expected to reference \
59d29b2c44Sab196087			 SHN_UNDEF\n"
60d29b2c44Sab196087@ MSG_DEBUG_SHNDX_XINDEX	"ELF warning: SHN_XINDEX is not supposed to \
61d29b2c44Sab196087			 be set directly\n"
62d29b2c44Sab196087@ MSG_DEBUG_SHNDX_EFORCE "[%d: %s][%d]: ELF warning: Section index does not \
63d29b2c44Sab196087			 normally go in extended index section: %d\n"
64d29b2c44Sab196087@ MSG_DEBUG_LBINDGSYM	"[%d: %s][%d]: ELF warning: local binding set for \
65d29b2c44Sab196087			 symbol in global part of symbol table \
66d29b2c44Sab196087			 (shdr[%d].sh_info == %d)\n"
67d29b2c44Sab196087@ MSG_DEBUG_GBINDLSYM	"[%d: %s][%d]: ELF warning: global binding set for \
68d29b2c44Sab196087			 symbol in local part of symbol table \
69d29b2c44Sab196087			 (shdr[%d].sh_info == %d)\n"
70d29b2c44Sab196087@ MSG_DEBUG_DYNSYMNAMCHG	"[%d: %s][%d]: ELF warning: changing the name \
71d29b2c44Sab196087			 of a symbol in the dynamic symbol table will confuse \
72d29b2c44Sab196087			 the hash section and likely render the object \
73d29b2c44Sab196087			 unusable\n"
74d29b2c44Sab196087@ MSG_DEBUG_CHGSYMELT0	"[%d: %s][%d]: ELF warning: Symbol [0] is expected \
75d29b2c44Sab196087			 to be NULL\n"
76d29b2c44Sab196087
77d29b2c44Sab196087# Errors
78d29b2c44Sab196087
79d29b2c44Sab196087@ MSG_ERR_NOSYMTAB	"Object does not have any symbol tables\n";
80d29b2c44Sab196087@ MSG_ERR_NEEDEXPSYMTAB	"The -symndx option requires a symbol table to be \
81d29b2c44Sab196087			 explicitly specified (-shnam, -shndx, or \
82d29b2c44Sab196087			 -shtyp options)\n"
83d29b2c44Sab196087
84d29b2c44Sab196087
85d29b2c44Sab196087
86d29b2c44Sab196087# Module description
87d29b2c44Sab196087
88d29b2c44Sab196087@ MSG_MOD_DESC		"Symbol Section"
89d29b2c44Sab196087
90d29b2c44Sab196087
91d29b2c44Sab196087# 1-line description strings
92d29b2c44Sab196087
93d29b2c44Sab196087@ MSG_DESC_DUMP		"Dump Symbol Table"
94d29b2c44Sab196087@ MSG_DESC_ST_BIND	"Symbol binding"
95d29b2c44Sab196087@ MSG_DESC_ST_INFO	"st_info (binding and type)"
96d29b2c44Sab196087@ MSG_DESC_ST_NAME	"Symbol name"
97d29b2c44Sab196087@ MSG_DESC_ST_OTHER	"st_other (visibility)"
98d29b2c44Sab196087@ MSG_DESC_ST_SHNDX	"Symbol section index"
99d29b2c44Sab196087@ MSG_DESC_ST_SIZE	"Symbol size"
100d29b2c44Sab196087@ MSG_DESC_ST_TYPE	"Symbol type"
101d29b2c44Sab196087@ MSG_DESC_ST_VALUE	"Symbol value"
102d29b2c44Sab196087@ MSG_DESC_ST_VISIBILITY "Symbol visibility"
103d29b2c44Sab196087
104d29b2c44Sab196087
105d29b2c44Sab196087# Command option description strings
106d29b2c44Sab196087
107d29b2c44Sab196087@ MSG_OPTDESC_E		"\
108d29b2c44Sab196087   Force the use of the extended index section to hold the\n\
109d29b2c44Sab196087   specified section index, even if it is small enough to fit\n\
110d29b2c44Sab196087   into the symbol st_shndx field. Note that this will produce\n\
111d29b2c44Sab196087   a non-standard ELF file.\n"
112d29b2c44Sab196087@ MSG_OPTDESC_SHNDX	"\
113d29b2c44Sab196087   Use the symbol table found in the ELF section with the\n\
114d29b2c44Sab196087   specified index.\n"
115d29b2c44Sab196087@ MSG_OPTDESC_SHNAM	"\
116d29b2c44Sab196087   Use the symbol table found in the ELF section with the\n\
117d29b2c44Sab196087   specified name.\n"
118d29b2c44Sab196087@ MSG_OPTDESC_SHTYP	"\
119d29b2c44Sab196087   Use the first symbol table found in the ELF section with\n\
120d29b2c44Sab196087    the specified section type.\n"
121d29b2c44Sab196087@ MSG_OPTDESC_SECSHNDX	"\
122d29b2c44Sab196087   Interpret the sec argument as a section index rather than\n\
123d29b2c44Sab196087   as a section name. section can be one of the well known SHN_\n\
124d29b2c44Sab196087   symbolic constants, or any integer.\n"
125d29b2c44Sab196087@ MSG_OPTDESC_SECSHTYP	"\
126d29b2c44Sab196087   Interpret the sec argument as a section type rather than\n\
127d29b2c44Sab196087   as a section name. section can be one of the well known SHT_\n\
128d29b2c44Sab196087   symbolic constants, or any integer.\n"
129d29b2c44Sab196087@ MSG_OPTDESC_NAME_OFFSET	"\
130d29b2c44Sab196087   Interpret the name argument as a string table offset rather\n\
131d29b2c44Sab196087   than as a string.\n"
132d29b2c44Sab196087
133d29b2c44Sab196087@ MSG_OPTDESC_SYMNDX		"\
134d29b2c44Sab196087   The sym argument supplies a numeric index into the symbol\n\
135d29b2c44Sab196087   section instead of the name of the symbol. The symbol table\n\
136d29b2c44Sab196087   to use must be explicitly specified (-shnam, -shndx, or\n\
137d29b2c44Sab196087   -shtyp option) when -symndx is used.\n".
138d29b2c44Sab196087
139d29b2c44Sab196087# Command argument descriptions
140d29b2c44Sab196087
141d29b2c44Sab196087@ MSG_A1_SYM		"Name of desired symbol within symbol table.\n"
142d29b2c44Sab196087
143d29b2c44Sab196087@ MSG_A2_DESC_ST_BIND	"Symbol binding. STB_ symbol constants are\n\
144d29b2c44Sab196087   accepted, as is any integer in the range 0 - 15.\n"
145d29b2c44Sab196087
146d29b2c44Sab196087@ MSG_A2_DESC_ST_INFO	"Integer value to set for symbol st_info field.\n\
147d29b2c44Sab196087   Note that the fact that the value of st_info affects both\n\
148d29b2c44Sab196087   the symbol binding and type values.\n"
149d29b2c44Sab196087
150d29b2c44Sab196087@ MSG_A2_DESC_ST_NAME	"\
151d29b2c44Sab196087   Name to set for symbol. If the -name_offset option is used,\n\
152d29b2c44Sab196087    this is an integer offset into the string table section\n\
153d29b2c44Sab196087   associated with the symbol table. Otherwise, it is a string,\n\
154d29b2c44Sab196087   which will be looked up in the symbol table (and inserted if\n\
155d29b2c44Sab196087   necessary, and if possible) in order to obtain the needed\n\
156d29b2c44Sab196087   offset value.\n"
157d29b2c44Sab196087
158d29b2c44Sab196087@ MSG_A2_DESC_ST_OTHER	"\
159d29b2c44Sab196087   Integer value to set for symbol st_other field. Note\n\
160d29b2c44Sab196087   that the fact that the value of st_other affects the\n\
161d29b2c44Sab196087   symbol visibility value.\n"
162d29b2c44Sab196087
163d29b2c44Sab196087@ MSG_A2_DESC_ST_SEC	"\
164d29b2c44Sab196087   Section to set for symbol section index. By default, this\n\
165d29b2c44Sab196087   argument is interpreted as the name of the desired section.\n\
166d29b2c44Sab196087   The section index of the first section with the specified\n\
167d29b2c44Sab196087   name is used.\n\
168d29b2c44Sab196087   \n\
169d29b2c44Sab196087   If -secshndx is set, then sec is a section index,\n\
170d29b2c44Sab196087   and is interpreted as an integer, or one of the well known\n\
171d29b2c44Sab196087   SHN_ symbolic constant names.\n\
172d29b2c44Sab196087   \n\
173d29b2c44Sab196087   If -secshtyp is set, then sec is a section type,\n\
174d29b2c44Sab196087   and is interpreted as an integer, or one of the well known\n\
175d29b2c44Sab196087   SHT_ symbolic constant names. The section index of the first\n\
176d29b2c44Sab196087   section with the specified type is used.\n"
177d29b2c44Sab196087
178d29b2c44Sab196087
179d29b2c44Sab196087@ MSG_A2_DESC_ST_SIZE	"Integer value to set for symbol size.\n"
180d29b2c44Sab196087
181d29b2c44Sab196087@ MSG_A2_DESC_ST_TYPE	"\
182d29b2c44Sab196087   Symbol type. STT_ symbol constants are accepted, as is any\n\
183d29b2c44Sab196087   integer in the range 0 - 15.\n"
184d29b2c44Sab196087
185d29b2c44Sab196087@ MSG_A2_DESC_ST_VALUE	"Integer value to set for symbol value.\n"
186d29b2c44Sab196087
187d29b2c44Sab196087@ MSG_A2_DESC_ST_VISIBILITY "\
188d29b2c44Sab196087   Symbol visibility. STV_ symbol constants are accepted, as\n\
189d29b2c44Sab196087   are integer values.\n"
190d29b2c44Sab196087
191d29b2c44Sab196087
192d29b2c44Sab196087
193d29b2c44Sab196087# Help strings
194d29b2c44Sab196087
195d29b2c44Sab196087@ MSG_HELP_DUMP	"   \
196d29b2c44Sab196087   The sym:dump command is used to display symbol information\n\
197d29b2c44Sab196087   using the same style used by the elfdump program.\n\
198d29b2c44Sab196087   \n\
199d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
200d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
201d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
202d29b2c44Sab196087   \n\
203d29b2c44Sab196087   If sym:dump is called without arguments, information for every\n\
204d29b2c44Sab196087   symbol in the symbol table is shown. If called with the symndx\n\
205d29b2c44Sab196087   argument, the information forthe symbol at that index is\n\
206d29b2c44Sab196087   displayed.\n"
207d29b2c44Sab196087
208d29b2c44Sab196087@ MSG_HELP_ST_BIND	"   \
209d29b2c44Sab196087   The sym:st_bind command is used to display or alter symbol\n\
210d29b2c44Sab196087   binding. Symbol binding is found in the st_bind portion of the\n\
211d29b2c44Sab196087   st_info field of an ELF symbol.\n\
212d29b2c44Sab196087   \n\
213d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
214d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
215d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
216d29b2c44Sab196087   \n\
217d29b2c44Sab196087   If sym:st_bind is called without arguments, the value of\n\
218d29b2c44Sab196087   st_bind for every symbol in the symbol table is shown. If\n\
219d29b2c44Sab196087   called with the symndx argument, the value of the symbol at that\n\
220d29b2c44Sab196087   index is displayed. If both arguments are present, the st_bind\n\
221d29b2c44Sab196087   field of the symbol at the specified index is set to the given\n\
222d29b2c44Sab196087   value.\n"
223d29b2c44Sab196087
224d29b2c44Sab196087@ MSG_HELP_ST_INFO	"   \
225d29b2c44Sab196087   The sym:st_info command is used to display or alter the\n\
226d29b2c44Sab196087   st_info field of the specified symbol. It provides raw access\n\
227d29b2c44Sab196087   to the entire st_info value. Normally, the sym:st_bind or sym:st_type\n\
228d29b2c44Sab196087   commands are used in preference to sym:st_info.\n\
229d29b2c44Sab196087   \n\
230d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
231d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
232d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
233d29b2c44Sab196087   If sym:st_info is called without arguments, the value of st_info\n\
234d29b2c44Sab196087   for every symbol in the symbol table is shown. If called with the\n\
235d29b2c44Sab196087   symndx argument, the value of the symbol at that index is displayed.\n\
236d29b2c44Sab196087   If both arguments are present, the st_info field of the symbol at\n\
237d29b2c44Sab196087   the specified index is set to the given value.\n"
238d29b2c44Sab196087
239d29b2c44Sab196087@ MSG_HELP_ST_NAME	"   \
240d29b2c44Sab196087   The sym:st_name command is used to display or alter the\n\
241d29b2c44Sab196087   name associated with a specified symbol.\n\
242d29b2c44Sab196087   \n\
243d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
244d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
245d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
246d29b2c44Sab196087   \n\
247d29b2c44Sab196087   If sym:st_name is called without arguments, the value of st_name\n\
248d29b2c44Sab196087   for every symbol in the symbol table is shown. If called with the\n\
249d29b2c44Sab196087   symndx argument, the name of the symbol at that index is displayed.\n\
250d29b2c44Sab196087   If both arguments are present, the name field of the symbol at\n\
251d29b2c44Sab196087   the specified index is set to the given value.\n\
252d29b2c44Sab196087   \n\
253d29b2c44Sab196087   When changing the name of a symbol, you should be aware of the\n\
254d29b2c44Sab196087   following limitations:\n\
255d29b2c44Sab196087   \n   \
256d29b2c44Sab196087   o\tIt is only possible to change the name of a symbol in a\n\
257d29b2c44Sab196087   \tnon-dynamic symbol table to one of the names already found\n\
258d29b2c44Sab196087   \tin the associated string table.\n\
259d29b2c44Sab196087   \n   \
260d29b2c44Sab196087   o\tChanging the name of a symbol in the dynamic symbol table\n\
261d29b2c44Sab196087   \twill lead to the hash table having inaccurate information\n\
262d29b2c44Sab196087   \tabout the symbol table, and is likely render the object\n\
263d29b2c44Sab196087   \tunusable.\n"
264d29b2c44Sab196087
265d29b2c44Sab196087@ MSG_HELP_ST_OTHER	"   \
266d29b2c44Sab196087   The sym:st_other command is used to display or alter the\n\
267d29b2c44Sab196087   st_other field of the specified symbol. It provides raw access\n\
268d29b2c44Sab196087   to the entire st_other value. Normally, the sym:st_visibility\n\
269d29b2c44Sab196087   command is used in preference to sym:st_other.\n\
270d29b2c44Sab196087   \n\
271d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
272d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
273d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
274d29b2c44Sab196087   \n\
275d29b2c44Sab196087   If sym:st_other is called without arguments, the value of st_other\n\
276d29b2c44Sab196087   for every symbol in the symbol table is shown. If called with the\n\
277d29b2c44Sab196087   symndx argument, the value of the symbol at that index is displayed.\n\
278d29b2c44Sab196087   If both arguments are present, the st_other field of the symbol at\n\
279d29b2c44Sab196087   the specified index is set to the given value.\n"
280d29b2c44Sab196087
281d29b2c44Sab196087@ MSG_HELP_ST_SHNDX	"   \
282d29b2c44Sab196087   Every symbol table entry is defined in relation to some section.\n\
283d29b2c44Sab196087   This information is maintained in the st_shndx field of an ELF\n\
284d29b2c44Sab196087   symbol. The sym:st_shndx command is used to display or alter the\n\
285d29b2c44Sab196087   st_shndx field of the specified symbol.\n\
286d29b2c44Sab196087   \n\
287d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
288d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
289d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
290d29b2c44Sab196087   \n\
291d29b2c44Sab196087   If sym:st_shndx is called without arguments, the value of st_shndx\n\
292d29b2c44Sab196087   for every symbol in the symbol table is shown. If called with the\n\
293d29b2c44Sab196087   symndx argument, the value of the symbol at that index is displayed.\n\
294d29b2c44Sab196087   If both arguments are present, the st_shndx field of the symbol at\n\
295d29b2c44Sab196087   the specified index is set to the given value.\n\
296d29b2c44Sab196087   \n\
297d29b2c44Sab196087   sym:st_shndx is aware of extended section indexes, and will\n\
298d29b2c44Sab196087   access/modify the extended index sections associated with a given\n\
299d29b2c44Sab196087   symbol table as necessary.\n"
300d29b2c44Sab196087
301d29b2c44Sab196087@ MSG_HELP_ST_SIZE	"   \
302d29b2c44Sab196087   The sym:st_size command is used to display or alter the\n\
303d29b2c44Sab196087   size of the specified symbol (st_size field).\n\
304d29b2c44Sab196087   \n\
305d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
306d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
307d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
308d29b2c44Sab196087   \n\
309d29b2c44Sab196087   If sym:st_size is called without arguments, the value of st_size\n\
310d29b2c44Sab196087   for every symbol in the symbol table is shown. If called with\n\
311d29b2c44Sab196087   the symndx argument, the size of the symbol at that index is\n\
312d29b2c44Sab196087   displayed. If both arguments are present, the st_size field of\n\
313d29b2c44Sab196087   the symbol at the specified index is set to the given value.\n"
314d29b2c44Sab196087
315d29b2c44Sab196087@ MSG_HELP_ST_TYPE	"   \
316d29b2c44Sab196087   The sym:st_type command is used to display or alter the\n\
317d29b2c44Sab196087   st_type portion of the st_info field of the specified\n\
318d29b2c44Sab196087   symbol.\n\
319d29b2c44Sab196087   \n\
320d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
321d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
322d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
323d29b2c44Sab196087   \n\
324d29b2c44Sab196087   If sym:st_type is called without arguments, the value of\n\
325d29b2c44Sab196087   st_type for every symbol in the symbol table is shown. If\n\
326d29b2c44Sab196087   called with the symndx argument, the value of the symbol at that\n\
327d29b2c44Sab196087   index is displayed. If both arguments are present, the st_type\n\
328d29b2c44Sab196087   field of the symbol at the specified index is set to the given value.\n"
329d29b2c44Sab196087
330d29b2c44Sab196087@ MSG_HELP_ST_VALUE	"   \
331d29b2c44Sab196087   The sym:st_value command is used to display or alter the\n\
332d29b2c44Sab196087   value of the specified symbol (st_value field).\n\
333d29b2c44Sab196087   \n\
334d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
335d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
336d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
337d29b2c44Sab196087   \n\
338d29b2c44Sab196087   If sym:st_value is called without arguments, the value of\n\
339d29b2c44Sab196087   st_value for every symbol in the symbol table is shown. If\n\
340d29b2c44Sab196087   called with the symndx argument, the value of the symbol at that\n\
341d29b2c44Sab196087   index is displayed. If both arguments are present, the st_value\n\
342d29b2c44Sab196087   field of the symbol at the specified index is set to the given value.\n"
343d29b2c44Sab196087
344d29b2c44Sab196087@ MSG_HELP_ST_VISIBILITY	"   \
345d29b2c44Sab196087   The sym:st_visibility command is used to display or alter the\n\
346d29b2c44Sab196087   st_visibility portion of the st_other field of the specified\n\
347d29b2c44Sab196087   symbol.\n\
348d29b2c44Sab196087   \n\
349d29b2c44Sab196087   By default, symbols are taken from all available symbol tables.\n\
350d29b2c44Sab196087   The symbol table to use can be changed using the -shnam, -shndx,\n\
351d29b2c44Sab196087   or -shtyp options. Only one of these options can be used at a time.\n\
352d29b2c44Sab196087   \n\
353d29b2c44Sab196087   If sym:st_visibility is called without arguments, the value of\n\
354d29b2c44Sab196087   st_visibility for every symbol in the symbol table is shown. If\n\
355d29b2c44Sab196087   called with the symndx argument, the value of the symbol at that\n\
356d29b2c44Sab196087   index is displayed. If both arguments are present, the st_visibility\n\
357d29b2c44Sab196087   field of the symbol at the specified index is set to the given value.\n"
358d29b2c44Sab196087
359d29b2c44Sab196087
360d29b2c44Sab196087@ _END_
361d29b2c44Sab196087
362d29b2c44Sab196087
363d29b2c44Sab196087# The following strings represent reserved words, files, pathnames and symbols.
364d29b2c44Sab196087# Reference to this strings is via the MSG_ORIG() macro, and thus no message
365d29b2c44Sab196087# translation is required.
366d29b2c44Sab196087
367d29b2c44Sab196087
368d29b2c44Sab196087# Miscellaneous clutter
369d29b2c44Sab196087@ MSG_STR_EMPTY			""
370d29b2c44Sab196087@ MSG_STR_NL			"\n"
371d29b2c44Sab196087@ MSG_STR_MINUS_E		"-e"
372d29b2c44Sab196087@ MSG_STR_MINUS_SHNAM		"-shnam"
373d29b2c44Sab196087@ MSG_STR_MINUS_SHNDX		"-shndx"
374d29b2c44Sab196087@ MSG_STR_MINUS_SHTYP		"-shtyp"
375d29b2c44Sab196087@ MSG_STR_MINUS_SYMNDX		"-symndx"
376d29b2c44Sab196087@ MSG_STR_MINUS_NAME_OFFSET	"-name_offset"
377d29b2c44Sab196087@ MSG_STR_MINUS_SECSHNDX	"-secshndx"
378d29b2c44Sab196087@ MSG_STR_MINUS_SECSHTYP	"-secshtyp"
379d29b2c44Sab196087@ MSG_STR_INDEX			"index"
380d29b2c44Sab196087@ MSG_STR_NAME			"name"
381d29b2c44Sab196087@ MSG_STR_SEC			"sec"
382d29b2c44Sab196087@ MSG_STR_SYM			"sym"
383d29b2c44Sab196087@ MSG_STR_TYPE			"type"
384d29b2c44Sab196087@ MSG_STR_VALUE			"value"
385d29b2c44Sab196087
386d29b2c44Sab196087
387d29b2c44Sab196087# Format strings
388d29b2c44Sab196087
389d29b2c44Sab196087@ MSG_FMT_WORDVALNL		"%u\n"
390d29b2c44Sab196087@ MSG_FMT_XWORDVALNL_32		"0x%8.8x\n"
391d29b2c44Sab196087@ MSG_FMT_XWORDVALNL_64		"0x%16.16llx\n"
392d29b2c44Sab196087@ MSG_FMT_STRNL			"%s\n"
393d29b2c44Sab196087@ MSG_FMT_INDEX			" [%lld]"
394d29b2c44Sab196087
395d29b2c44Sab196087
396d29b2c44Sab196087# Module name
397d29b2c44Sab196087
398d29b2c44Sab196087@ MSG_MOD_NAME		"sym"
399d29b2c44Sab196087
400d29b2c44Sab196087
401d29b2c44Sab196087# Command names
402d29b2c44Sab196087
403d29b2c44Sab196087@ MSG_CMD_DUMP		"dump"
404d29b2c44Sab196087@ MSG_CMD_ST_BIND	"st_bind"
405d29b2c44Sab196087@ MSG_CMD_ST_INFO	"st_info"
406d29b2c44Sab196087@ MSG_CMD_ST_NAME	"st_name"
407d29b2c44Sab196087@ MSG_CMD_ST_OTHER	"st_other"
408d29b2c44Sab196087@ MSG_CMD_ST_SHNDX	"st_shndx"
409d29b2c44Sab196087@ MSG_CMD_ST_SIZE	"st_size"
410d29b2c44Sab196087@ MSG_CMD_ST_TYPE	"st_type"
411d29b2c44Sab196087@ MSG_CMD_ST_VALUE	"st_value"
412d29b2c44Sab196087@ MSG_CMD_ST_VISIBILITY	"st_visibility"
413