1
2# Message file for cmd/sgs/elfedit.
3
4domain	"SUNW_OST_SGS"
5
6
7# Usage Messages
8
9msgid	"usage: elfedit [-adrw] [-e cmd] [-L modpath] [-o style] [file] [outfile]\n"
10msgstr	""
11msgid	"\t[-a]          Autoprint (show edit results)\n"
12msgstr	""
13msgid	"\t[-d]          Issue messages describing internal operations\n"
14msgstr	""
15msgid	"\t[-e cmd]      edit command\n"
16msgstr	""
17msgid	"\t[-L modpath]  Set module path\n"
18msgstr	""
19msgid	"\t[-o ostyle]   Output style (default|simple|num)\n"
20msgstr	""
21msgid	"\t[-r]          Readonly session (outfile not allowed)\n"
22msgstr	""
23msgid	"\n\tExtensive help for edit commands is available.\n\tEnter 'help' at the elfedit prompt.\n"
24msgstr	""
25msgid	"usage: %s\n"
26msgstr	""
27
28
29# sys:set option names
30
31msgid	"autoprint flag"
32msgstr	""
33msgid	"debug flag"
34msgstr	""
35
36
37# Names of things we allocate dynamically
38
39msgid	"object state"
40msgstr	""
41msgid	"symbol table information buffer"
42msgstr	""
43msgid	"module definition"
44msgstr	""
45msgid	"user command state"
46msgstr	""
47msgid	"user command string buffer"
48msgstr	""
49msgid	"user command token buffer"
50msgstr	""
51msgid	"list of -e commands"
52msgstr	""
53msgid	"expanded module search path"
54msgstr	""
55msgid	"search path array"
56msgstr	""
57msgid	"help state"
58msgstr	""
59msgid	"section message prefix string"
60msgstr	""
61msgid	"ELF constant string descriptors"
62msgstr	""
63
64# Format strings
65
66msgid	"<built in>"
67msgstr	""
68msgid	"<unknown>"
69msgstr	""
70
71# Debug messages
72
73msgid	"[%d: %s][%d]: Set DF_1_EDITED flag\n"
74msgstr	""
75msgid	"[%d: %s][%d]: Previously edited file (DF_1_EDITED flag is set) \n"
76msgstr	""
77msgid	"Command %s:%s is an alias for %s:%s\n"
78msgstr	""
79msgid	"load module: %s: %s\n"
80msgstr	""
81msgid	"unload module: %s: %s\n"
82msgstr	""
83msgid	"copied %s to output file: %s\n"
84msgstr	""
85msgid	"unlink unsaved output file: %s\n"
86msgstr	""
87msgid	"%d-bit version\n"
88msgstr	""
89msgid	"session is readonly\n"
90msgstr	""
91msgid	"no ELF object specified. Limited functionality is available\n"
92msgstr	""
93msgid	"discarding unsaved edits\n"
94msgstr	""
95msgid	"[%d: %s]: section\n"
96msgstr	""
97msgid	"[%d: %s]: capabilities section\n"
98msgstr	""
99msgid	"[%d: %s]: dynamic section\n"
100msgstr	""
101msgid	"[%d: %s][%d]: string: %s\n"
102msgstr	""
103msgid	"[%d: %s]: string table section (SHT_STRTAB)\n"
104msgstr	""
105msgid	"[%d: %s]: string table section (SHF_STRINGS)\n"
106msgstr	""
107msgid	"[%d: %s]: %s symbol table section\n"
108msgstr	""
109msgid	"[%d: %s]: syminfo section\n"
110msgstr	""
111msgid	"[%d: %s]: versym section: [%d: %s]\n"
112msgstr	""
113msgid	"[%d: %s]: extended section index section: [%d: %s]\n"
114msgstr	""
115msgid	"[%d: %s][%d]: Found existing string in section: %s\n"
116msgstr	""
117msgid	"[%d: %s][%d]: Using %d/%d bytes from reserved area to add string: %s\n"
118msgstr	""
119msgid	"[%d: %s]: No existing flags1 field to modify. Will use extra DT_NULL in slot [%d] \n"
120msgstr	""
121msgid	"[%d: %s]: Ignoring section: sh_link field references non-symbol table section: [%d]\n"
122msgstr	""
123msgid	"[%d: %s][%d]: Ignoring section: Not enough elements for corresponding symbol table: [%d: %s][%d]\n"
124msgstr	""
125msgid	"command: %s\n"
126msgstr	""
127msgid	"[%d: %s]: section name: %s\n"
128msgstr	""
129msgid	"[%d: %s][%d]: symbol \"%s\"\n"
130msgstr	""
131msgid	"warning: editing input file in place is not recommended: %s\n"
132msgstr	""
133msgid	"Specified section index [%d] is outside of valid of range for this object: 0-%d\n"
134msgstr	""
135msgid	"%s: copy array element [%d] to [%d]\n"
136msgstr	""
137msgid	"%s: copy array elements [%d-%d] to [%d-%d]\n"
138msgstr	""
139msgid	"%s[%d]: zero array element\n"
140msgstr	""
141msgid	"%s[%d-%d]: zero %d array elements\n"
142msgstr	""
143msgid	"%s: moved element [%d] to [%d]\n"
144msgstr	""
145msgid	"%s: moved %d elements from [%d-%d] to [%d-%d]\n"
146msgstr	""
147
148# Errors
149
150msgid	"No ELF object specified. Only commands from module sys: are allowed: %s:%s\n"
151msgstr	""
152msgid	"Unrecognized output style (default|simple|num): %s\n"
153msgstr	""
154msgid	"internal error: bad constant value in elfedit_const_to_atoui()\n"
155msgstr	""
156msgid	"internal error: bad required value passed to elfedit_XXX_get_value()\n"
157msgstr	""
158msgid	"path too long: %s/%s.so\n"
159msgstr	""
160msgid	"unable to load module sharable object %s: %s\n"
161msgstr	""
162msgid	"unable to unload module sharable object %s: %s\n"
163msgstr	""
164msgid	"backslash escape cannot be used at end of line\n"
165msgstr	""
166msgid	"unrecognized escape in double quoted token: \\%c\n"
167msgstr	""
168msgid	"command is missing closing quote: %c\n"
169msgstr	""
170msgid	"no such module: %s\n"
171msgstr	""
172msgid	"no such command: %s:%s\n"
173msgstr	""
174msgid	"sharable object is not a valid elfedit module: %s\n"
175msgstr	""
176msgid	"cannot unload built in module: %s\n"
177msgstr	""
178msgid	"module has empty string for primary command: %s\n"
179msgstr	""
180msgid	"elfedit module failed to initialize: %s\n"
181msgstr	""
182msgid	"sharable library provides module '%s' rather than expected '%s': %s\n"
183msgstr	""
184msgid	"command option name must start with a '-': %s : %s:%s %s\n"
185msgstr	""
186msgid	"command option name must have at least one character: %s : %s:%s %s\n"
187msgstr	""
188msgid	"command option oa_excmask is non-zero when oa_idmask is zero: %s : %s:%s %s\n"
189msgstr	""
190msgid	"command option oa_idmask must be 0 or power of 2: %s : %s:%s %s\n"
191msgstr	""
192msgid	"command option oa_idmask must be 0 or must be unique value: %s : %s:%s %s\n"
193msgstr	""
194msgid	"command argument name may not start with a '-': %s : %s:%s %s\n"
195msgstr	""
196msgid	"command argument name must have at least one character: %s : %s:%s %s\n"
197msgstr	""
198msgid	"command argument has ELFEDIT_CMDOA_F_VALUE set, which is only allowed for command options: %s : %s:%s %s\n"
199msgstr	""
200msgid	"command argument oa_idmask and oa_excmask fields must both be set to 0: %s : %s:%s %s\n"
201msgstr	""
202msgid	"internal error: argument or option uses ELFEDIT_CMDOA_F_VALUE incorrectly: %s : %s:%s\n"
203msgstr	""
204msgid	"ELFEDIT_CMDOA_F_VALUE optarg has NULL oa_name: %s : %s:%s %s\n"
205msgstr	""
206msgid	"ELFEDIT_CMDOA_F_VALUE optarg has non-0 oa_help, oa_flags, oa_idmask or oa_excmask field: %s : %s:%s %s\n"
207msgstr	""
208msgid	"command option has ELFEDIT_CMDOA_F_VALUE bit set, but following value item is missing: %s : %s:%s %s\n"
209msgstr	""
210msgid	"open failed: %s: %s\n"
211msgstr	""
212msgid	"unable to read directory: %s: %s\n"
213msgstr	""
214msgid	"unable to set signal handler: %s\n"
215msgstr	""
216msgid	"unable to edit ELF archive: %s\n"
217msgstr	""
218msgid	"unable to edit non-ELF file: %s\n"
219msgstr	""
220msgid	"unable to edit file with unknown ELFCLASS: %s\n"
221msgstr	""
222msgid	"%s: malloc: %s\n"
223msgstr	""
224msgid	"%s: %s failed: %s\n"
225msgstr	""
226msgid	"module '%s' specified without a command\n"
227msgstr	""
228msgid	"unable to execute child process: %s\n"
229msgstr	""
230msgid	"unable to wait for child process: %s\n"
231msgstr	""
232msgid	"%sunable to exec %s: %s\n"
233msgstr	""
234msgid	"unable to stat %s: %s\n"
235msgstr	""
236msgid	"unable to chmod %s: %s\n"
237msgstr	""
238msgid	"Specified section index [%d] is outside valid range: 1-%d\n"
239msgstr	""
240msgid	"ELF object does not have a capabilities section\n"
241msgstr	""
242msgid	"ELF object does not have a dynamic section\n"
243msgstr	""
244msgid	"[%d: %s]: Symbol table does not contain symbol: %s\n"
245msgstr	""
246msgid	"symbol table section not found\n"
247msgstr	""
248msgid	"ELF object does not have a syminfo section\n"
249msgstr	""
250msgid	"[%d: %s]: section is not a symbol table\n"
251msgstr	""
252msgid	"string section index %d is outside expected range 1 - %d\n"
253msgstr	""
254msgid	"[%d: %s]: Section is not a string table as expected\n"
255msgstr	""
256msgid	"[%d: %s]: String table does not have room to add string\n"
257msgstr	""
258msgid	"[%d: %s]: String offset [%d] is outside valid range: 0-%d\n"
259msgstr	""
260msgid	"[%d: %s]: symbol table does not have an associated versym section\n"
261msgstr	""
262msgid	"[%d: %s]: symbol table does not have an associated extended index section\n"
263msgstr	""
264msgid	"not a valid numeric value: '%s'\n"
265msgstr	""
266msgid	"%s value is out of range [%lld - %lld]: %lld\n"
267msgstr	""
268msgid	"%s value is out of range [%llu - %llu]: %llu\n"
269msgstr	""
270msgid	"Unrecognized code encountered in module search path: %%%c\n"
271msgstr	""
272msgid	"<unknown>"
273msgstr	""
274msgid	"Error encountered closing pager process\n"
275msgstr	""
276msgid	"Error encountered writing output\n"
277msgstr	""
278msgid	"Error encountered writing output: %s\n"
279msgstr	""
280msgid	"module name too long: %s\n"
281msgstr	""
282msgid	"Unable to determine elfedit $ORIGIN\n"
283msgstr	""
284msgid	"error reading from stdin: %s\n"
285msgstr	""
286msgid	"Operation not allowed in readonly session\n"
287msgstr	""
288msgid	"Output ELF file has changes pending. Use 'write' to save them, or 'quit -f' to exit without saving\n"
289msgstr	""
290msgid	"File does not contain section of name: %s\n"
291msgstr	""
292msgid	"File does not contain section of type: %s\n"
293msgstr	""
294msgid	"%s[%d]: attempt to access elements outside of valid of range for this section: 0-%d\n"
295msgstr	""
296msgid	"%s: Array source [%d-%d] and destination [%d-%d] regions overlap\n"
297msgstr	""
298msgid	"Operation not supported by current OS ABI: %s\n"
299msgstr	""
300
301# Format strings for sys:help
302msgid	"\nMODULE\n   %s - %s\n"
303msgstr	""
304msgid	"\nNAME\n   %s - %s\n"
305msgstr	""
306msgid	"\nSYNOPSIS\n   %s\n"
307msgstr	""
308msgid	"\nALIASES\n"
309msgstr	""
310msgid	"module default"
311msgstr	""
312msgid	"\t\t(Default Command For Module)"
313msgstr	""
314msgid	"\nDESCRIPTION\n"
315msgstr	""
316msgid	"\nARGUMENTS\n"
317msgstr	""
318msgid	"\nOPTIONS\n"
319msgstr	""
320msgid	"[End: %s, Next: %s]\n"
321msgstr	""
322msgid	"Input File:  %s\n"
323msgstr	""
324msgid	"Input File:  %s (readonly)\n"
325msgstr	""
326msgid	"Input File: <not present>\n"
327msgstr	""
328msgid	"Output File: %s\n"
329msgstr	""
330msgid	"    (changes pending)\n"
331msgstr	""
332msgid	"\nOptions:\n"
333msgstr	""
334msgid	"    a (Autoprint):    %s\n"
335msgstr	""
336msgid	"    d (Debug):        %s\n"
337msgstr	""
338msgid	"    o (Output Style): %s\n"
339msgstr	""
340msgid	"\nModule Load Path:\n"
341msgstr	""
342msgid	"\nCurrently Loaded Modules:\n"
343msgstr	""
344msgid	"\n           %s\n"
345msgstr	""
346
347
348# Names we use when an ELF item lacks a name
349
350msgid	"<unknown section name>"
351msgstr	""
352msgid	"<bad symbol name>"
353msgstr	""
354
355
356# builtin sys: module description
357
358msgid	"Built in elfedit commands"
359msgstr	""
360
361
362# 1-line description strings for builtin commands.
363
364msgid	"Display module information and/or command documentation"
365msgstr	""
366msgid	"Load module(s)"
367msgstr	""
368msgid	"Set elfedit options"
369msgstr	""
370msgid	"Session status (files, modules, options)"
371msgstr	""
372msgid	"Exit elfedit session"
373msgstr	""
374msgid	"Unload module(s)"
375msgstr	""
376msgid	"Flush any changes back to current ELF file"
377msgstr	""
378
379
380# Command option description strings for builtin commands
381
382msgid	"Generate a command synopsis rather than full command help.\n"
383msgstr	""
384
385msgid	"Load every module that can be found by following the module\nload path.\n"
386msgstr	""
387msgid	"Exit the elfedit session without first requiring changes to\nbe saved. Any modifications made to the output file will be\nquietly discarded, and will be lost."
388msgstr	""
389msgid	"Unload every currently loaded module. Loaded modules can be\ndisplayed using the \"status\" command.\n"
390msgstr	""
391
392
393# Command option description strings for builtin commands
394
395msgid	"Items for which help is desired. Module names and/or command\nnames are allowed, as described above.\n"
396msgstr	""
397msgid	"Name(s) of modules to be loaded.\n"
398msgstr	""
399msgid	"Name of option to be set.\n"
400msgstr	""
401msgid	"Value to be set for option.\n"
402msgstr	""
403msgid	"Name(s) of modules to be loaded.\n"
404msgstr	""
405
406
407# Help text for builtin commands.
408
409msgid	"   Welcome to elfedit, a utility for examining and editing\nELF objects. This brief discussion will tell you the basics\nyou need to know in order to use the elfedit help facility.\nWith that, you will be able to find desired information about\nelfedit and its available commands.\n\nTo reach the point where you are reading this text, you entered\nthe elfedit command \"help\", without any arguments. Actually, you\nmay have entered any of the following:\n\n\t?, help, man, sys:?, sys:help, sys:man\n\nAs we will see below, these are simply different names for the\nhelp command.\n\nYou use elfedit by issuing commands for it to execute.\nThe syntax is similar to that used by Unix command line\nutilities, and follows the general form:\n\n\t> module:command [-opt]... arg...\n\nThe '>' character is the elfedit prompt, and not part of the\ncommand. We show elfedit commands with the prompt, but you\nshould not type the prompt in. elfedit supplies it to let\nyou know when it is expecting a command to process.\n\nAs with a Unix utility, there are options (which start with a '-'\ncharacter) and plain arguments (which do not start with a '-').\nThe plain arguments follow the options. The options and plain\narguments differ from command to command. Each command sets its own\nrules for whether it accepts options and arguments, as well as\nwhich ones and how many. These details are found in the online\nhelp that is available for each command. To learn more about\nany command, use the help command:\n\n\t> help cmdname\n\nwhere 'cmdname' is the name of the command you are interested in.\nhelp is simply an elfedit command, like any other. As such, you\ncan read the full documentation for help by entering the command:\n\n\t> help sys:help\n\nelfedit functionality is organized as \"modules\", which are\ndynamically loadable ELF objects that contain related editing\ncommands. To refer to a command, you enter its module name,\na colon (:), and the command name, all as a single unit without\nany intervening white-space. The 'sys' module is special: It is\na built in module that contains the core commands required for\nelfedit to work. As a convenience, if you omit the module name\nfrom a command, elfedit assumes that you are referring to the sys\nmodule. This is why sys:help and help are really the same command,\nand why we did not have to write the above help command as:\n\n\t> sys:help sys:help\n\nIn fact, we could have written it even more simply, as:\n\n\t> help help\n\nTo access a command from any module other than sys, you must\nenter both the module and command names. This means that if\nyou write your own module, the module name needs to be unique,\nbut the command names it supplies can be the same names used by\nother modules. For instance, most elfedit modules supply a command\nnamed dump to display information about their part of the ELF \nfile in a style similar to that used by the Unix elfdump command.\nDespite having the same name (dump), these are all distinct and\nseparate commands. elfedit uses the module/command pair to know\nwhich one you mean.\n\nelfedit commands can sometimes have more than one name, or alias.\nUsually, each command only has one name, but there are some\nexceptions. For example, as we have already seen, sys:?, and \nsys:man are aliases of sys:help. These are all common names\nthat different programs use to supply help. elfedit accepts all\nof these names in the hope that a new user who doesn't know\nelfedit yet will try one of them, and find this information.\n\nMost modules provide a \"default command\". This command will be\nrun if you provide only the module name. Most modules use this\nfeature to provide a shortcut for their \"dump\" command. For\ninstance, both of the following commands run dyn:dump:\n\n\t> dyn:\n\t> dyn:dump\n\nAlthough the command name dump was not required, the colon\n(:) character is. Without it, elfedit will think you mean the\ncommand sys:dyn.\n\nUsing the help command (sys:help), you can easily learn about\nthe other commands that are available. To see which modules\nare available and a synopsis of the commands they provide:\n\n\t> help -s\n\nTo see the full documentation for a command, you give the\nname of the command to the help command as a plain argument.\nAs we saw above, this command will show you the detailed\ndocumentation for the help command itself:\n\n\t> help help\n\nThe arguments to help can also be module names, without the\ncommand. In that case, output similar to that from the -s\noption will be displayed for that module.\n\nIf you are new to elfedit, we recommend that you start by learning\nabout the commands in the sys module. This will provide you with\nsuch basic knowledge as how to find out the status of your session\n(sys:status) or how to exit the elfedit program (sys:quit). Once\nyou understand the basic commands, you can branch out and learn\nabout the available modules and commands and how they can be used\nto edit ELF files.\n"
410msgstr	""
411
412msgid	"   The sys:help command provides information on elfedit modules\nand commands:\n\no\tIf called with command names as arguments, documentation\n\tfor each given command is displayed. If the -s option is\n\tspecified, a basic synopsis for the command is given.\n\tOtherwise, the full documentation is shown.\n\no\tIf called with module names as arguments, the name and\n\tpurpose of each module is shown, along with a brief synopsis\n\tof the commands the module provides.\n\no\tIf called with the -s option, and no arguments, a brief\n\tsynopsis of every command is shown, organized by module,\n\tfor every module visible from the module load path.\n\no\tIf called with no arguments, and the -s option is not\n\tused, a brief welcome message is displayed, giving basic\n\tinformation on elfedit operation and the use of the\n\thelp command.\n"
413msgstr	""
414
415msgid	"The sys:load command is used to explicitly load elfedit modules.\n\nMost of the functionality available in elfedit is not built\ninto the elfedit program directly. Instead, functionality\nis contained in \"modules\", which are implemented as dynamically\nloadable ELF sharable objects. This design allows for easy\nextensibility of elfedit's abilities, and it is also efficient,\nsince it allows elfedit to be a relatively small program.\n\nelfedit will automatically load a module under the following\ncircumstances:\n\n   o\tA command from the module needs to be run.\n\n   o\tTo display help information about the module or a command\n\tfound in the module.\n\n   o\tTo perform command completion in an interactive session.\n\tCommand completion can cause many, or all modules visible\n\tin the module path to be loaded.\n\nThere is usually little need for explicit module loading.\nIt is usually best to allow elfedit to load modules as they\nare needed.\n"
416msgstr	""
417
418msgid	"Set options that control how elfedit works.\n\nMost variables accept boolean (true/false) values. The sys:set\ncommand accepts any of the following as a boolean value:\n0/1, true/false, t/f, yes/no, y/n, on/off.\n\nThe variables, and their allowed values, are as follows:\n\na\tAutoprint [boolean]\n\tWhen autoprint is active, elfedit automatically displays\n\tthe results of any edits after carrying them out. By default,\n\tautoprint is on for interactive sessions, and false for\n\tsessions where the input is not a tty. The elfedit -a option\n\tcan be used to enable autoprint at session start.\n\nd\tDebug [boolean]\n\tWhen enabled, elfedit issues detailed messages showing\n\twhere ELF data is being accessed, and how specific edits\n\tare being carried out. Debug mode is off by default. The\n\telfedit -d option can be used to enable debug mode at\n\tsession start.\n\no\tOutput Style [default, simple, num]\n\tControls the format in which elfedit prints ELF data:\n\n\tdefault\n\tInformation is displayed in a style similar to that used by\n\tthe elfdump utility. This style is best for interactive use.\n\n\tsimple\n\tData is displayed in a simple format, without extraneous\n\tinformation or formatting. Strings are displayed as is.\n\tNumbers are displayed as symbolic constants when possible,\n\tand in integer form otherwise.\n\n\tnum\n\tInteger values are always shown in integer form. Strings\n\tare shown as the integer offset into the containing string\n\ttable.\n"
419msgstr	""
420
421msgid	"The status of the current elfedit session is shown:\n\no\tInput and output files\n\no\tCurrent settings of the elfedit options (See 'help set'\n\tfor more information on elfedit options)\n\no\tModule load path\n\no\tLoaded modules and the paths of the sharable objects\n\tthat provide them\n"
422msgstr	""
423
424msgid	"Exits the elfedit session.\n\nelfedit will normally refuse to exit a non-readonly session\nwhile there are unsaved edits pending. The sys:write command\ncan be used to save such edits, or the -f option can be used to\ndiscard pending edits and exit immediately.\n"
425msgstr	""
426
427msgid	"The sys:unload command is used to explicitly unload elfedit modules.\n\nThere is usually little need to explicitly unload modules.\n\nThe description of the sys:load command discusses module loading\nin more detail.\n"
428msgstr	""
429
430msgid	"Writes all pending edits to the output file. Until this is done,\nthe edits are not permanent, and can be abandoned by exiting the\nsession using the -f option to sys:quit. Once sys:write is used,\nthese changes become permanent.\n"
431msgstr	""
432
433
434
435# Command option description strings for inheritable option strings
436
437msgid	"The new value should be bitwised AND'd against the\nexisting value.\n"
438msgstr	""
439
440msgid	"The new value should be bitwise complemented\n(1 values set to 0, and 0 values set to 1) before being\napplied to the existing value.\n"
441msgstr	""
442
443msgid	"Overrides the global output style (as set via the sys:set\ncommand) for the duration of the call to this command.\nThe valid values for the outstyle argument are: default,\nsimple, or num.\n\nOutput styles are described in more detail in the documentation\nfor the sys:set command.\n"
444msgstr	""
445
446msgid	"The new value should be bitwised OR'd against the\nexisting value.\n"
447msgstr	""
448
449
450
451
452