xref: /titanic_44/usr/src/cmd/sgs/elfdump/common/elfdump.msg (revision d0f3f37e7f24f68fdbd85386c60e576883622762)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27@ _START_
28
29# Message file for cmd/sgs/elfdump.
30
31@ MSG_ID_ELFDUMP
32
33# Usage Messages
34
35@ MSG_USAGE_BRIEF	"usage: %s [-cCdegGhHiklmnrSsuvy] [-I index] \
36			 [-N name] [-T type] [-p | -w outfile] file...\n"
37@ MSG_USAGE_DETAIL1	"\t[-c]\t\tdump section header information\n"
38@ MSG_USAGE_DETAIL2	"\t[-C]\t\tdemangle C++ symbol names\n"
39@ MSG_USAGE_DETAIL3	"\t[-d]\t\tdump the contents of the .dynamic section\n"
40@ MSG_USAGE_DETAIL4	"\t[-e]\t\tdump the elf header\n"
41@ MSG_USAGE_DETAIL5	"\t[-g]\t\tdump the contents of the .group sections\n"
42@ MSG_USAGE_DETAIL6	"\t[-G]\t\tdump the contents of the .got section\n"
43@ MSG_USAGE_DETAIL7	"\t[-h]\t\tdump the contents of the .hash section\n"
44@ MSG_USAGE_DETAIL8	"\t[-H]\t\tdump the contents of the .SUNW_hwcap \
45			 section\n"
46@ MSG_USAGE_DETAIL9	"\t[-i]\t\tdump the contents of the .interp section\n"
47@ MSG_USAGE_DETAIL10	"\t[-I index]\tqualify an option with an index\n"
48@ MSG_USAGE_DETAIL11	"\t[-l]\t\tdump with no truncated section names\n"
49@ MSG_USAGE_DETAIL12	"\t[-k]\t\tcalculate elf checksum\n"
50@ MSG_USAGE_DETAIL13	"\t[-m]\t\tdump the contents of the .SUNW_move \
51			 section\n"
52@ MSG_USAGE_DETAIL14	"\t[-n]\t\tdump the contents of the .note section\n"
53@ MSG_USAGE_DETAIL15	"\t[-N name]\tqualify an option with a `name'\n"
54@ MSG_USAGE_DETAIL16	"\t[-P]\t\tuse program headers to generate \
55			 section headers\n"
56@ MSG_USAGE_DETAIL17	"\t[-p]\t\tdump the program headers\n"
57@ MSG_USAGE_DETAIL18	"\t[-r]\t\tdump the contents of the relocation \
58			 sections\n"
59@ MSG_USAGE_DETAIL19	"\t[-S]\t\tdump the contents of the sort index \
60			 sections\n"
61@ MSG_USAGE_DETAIL20	"\t[-s]\t\tdump the contents of the symbol table \
62			 sections\n"
63@ MSG_USAGE_DETAIL21	"\t[-T type]\tqualify an option with a section or \
64			 program header type\n"
65@ MSG_USAGE_DETAIL22	"\t[-u]\t\tdump the contents of a frame unwind \
66			 section\n"
67@ MSG_USAGE_DETAIL23	"\t[-v]\t\tdump the contents of the version sections\n"
68@ MSG_USAGE_DETAIL24	"\t[-w file]\twrite the contents of specified section \
69			 to `file'\n"
70@ MSG_USAGE_DETAIL25	"\t[-y]\t\tdump the contents of the .SUNW_syminfo \
71			 section\n"
72
73# Errors
74
75@ MSG_ERR_BADFILE	"%s: invalid file type\n"
76@ MSG_ERR_BADREL1       "%s: bad relocation entry: %s: relocation requires symbol\n"
77@ MSG_ERR_NOSHDR	"%s: section headers are not present: synthesizing \
78			 from program headers (-P option)\n"
79@ MSG_ERR_PNEEDSPH	"%s: file without program headers is incompatible \
80			 with -P option\n"
81@ MSG_ERR_NOSHSTRSEC	"%s: no header string table section (shstrtab). \
82			 header names are not available\n"
83@ MSG_ERR_SHSTRNULL	"%s: zero size section header string table \
84			 (shstrtab). header names are not available\n"
85@ MSG_ERR_FAILURE	"%s: %s failed: %s\n"
86@ MSG_ERR_BADSHDRALIGN	"%s: bad section header array alignment\n"
87@ MSG_ERR_BADPHDRALIGN	"%s: bad program header array alignment\n"
88@ MSG_ERR_BADSHNAME	"%s: section[%d]: invalid sh_name: %lld\n"
89@ MSG_ERR_BADSHLINK	"%s: %s: invalid sh_link: %d\n"
90@ MSG_ERR_BADSHINFO	"%s: %s: invalid sh_info: %d\n"
91@ MSG_ERR_BADSHTYPE	"%s: %s: invalid sh_type: %d\n"
92@ MSG_ERR_BADALIGN	"%s: %s: bad sh_offset alignment\n"
93@ MSG_ERR_BADSYM2	"%s: %s: index[%d]: bad symbol entry: %s: must be SHN_COMMON or \
94			 defined in SHT_NOBITS section\n"
95@ MSG_ERR_BADSYM3	"%s: %s: index[%d]: bad symbol entry: %s: must be defined in \
96			 a SHF_TLS section\n"
97@ MSG_ERR_BADSYM4	"%s: %s: index[%d]: bad symbol entry: %s: must be defined in \
98			 a non-SHF_TLS section\n"
99@ MSG_ERR_BADSYM5	"%s: %s: index[%d]: bad symbol entry: %s: \
100			 invalid shndx: %d\n"
101@ MSG_ERR_BADSYM6	"%s: %s: index[%d]: bad symbol entry: %s: section[%d] \
102			 size: %#llx: symbol (address %#llx, size %#llx) \
103			 lies outside of containing section\n"
104@ MSG_ERR_BADSYM7	"%s: %s: index[%d]: suspicious global symbol entry: %s: lies \
105			 within local symbol range (index < %lld)\n"
106@ MSG_ERR_BADSYM8	"%s: %s: index[%d]: suspicious local symbol entry: %s: lies \
107			 within global symbol range (index >= %lld)\n"
108
109@ MSG_ERR_RELBADSYMNDX	"%s: bad symbol reference %d: from relocation \
110			 entry: %d\n"
111@ MSG_ERR_HSBADSYMNDX	"%s: bad symbol reference %d: from hash entry: %d\n"
112@ MSG_ERR_BADSYMXINDEX1	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
113			 SHT_SYMTAB_SHNDX section truncated: no entry for this \
114			 symbol\n"
115@ MSG_ERR_BADSYMXINDEX2	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
116			 bad SHT_SYMTAB_SHNDX entry: invalid shndx: 0x%x\n"
117@ MSG_ERR_BADSYMXINDEX3	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
118			 SHT_SYMTAB_SHNDX section not found\n"
119
120@ MSG_ERR_BADSTOFF	"%s: %s: index[%d]: bad %s offset: 0x%x: max 0x%x\n"
121@ MSG_ERR_BADSZ		"%s: %s: zero size or zero entry size information\n"
122@ MSG_ERR_BADMINFO	"%s: %s: invalid m_info: 0x%llx\n"
123@ MSG_ERR_BADHASH	"%s: %s: bad hash entry: symbol %s: exists in bucket \
124			 %d, should be bucket %ld\n"
125@ MSG_ERR_NODYNSYM	"%s: %s: associated SHT_DYNSYM section not found\n"
126@ MSG_ERR_BADNDXSEC	"%s: %s: unexpected section type associated with \
127			 index section: %s\n"
128@ MSG_ERR_BADSORTNDX	"%s: %s: sort section has bad symbol index: %d\n"
129@ MSG_ERR_BADVER	"%s: %s: index[%d]: version %d is out of range: \
130			 version definitions available: 0-%d\n"
131@ MSG_ERR_NOTSTRTAB	"%s: section[%d] is not a string table as expected \
132			 by section[%d]\n";
133
134@ MSG_ERR_LDYNNOTADJ	"%s: bad dynamic symbol table layout: %s and %s \
135			 sections are not adjacent\n"
136@ MSG_ERR_SECMEMOVER	"%s: memory overlap between section[%d]: %s: %llx:%llx \
137			 and section[%d]: %s: %llx:%llx\n"
138@ MSG_ERR_SHDRMEMOVER	"%s: memory overlap between section header table: \
139			 %llx:%llx and section[%d]: %s: %llx:%llx\n"
140@ MSG_ERR_MULTDYN	"%s: %d dynamic sections seen (1 expected)\n"
141@ MSG_ERR_DYNNOBCKSEC	"%s: object lacks %s section required by DT_%s dynamic \
142			 entry\n"
143@ MSG_ERR_DYNBADADDR	"%s: DT_%s (%#llx) does not match \
144			 shdr[%d: %s].sh_addr (%#llx)\n"
145@ MSG_ERR_DYNBADSIZE	"%s: DT_%s (%#llx) does not match \
146			 shdr[%d: %s].sh_size (%#llx)\n"
147@ MSG_ERR_DYNBADENTSIZE	"%s: DT_%s (%#llx) does not match \
148			 shdr[%d: %s].sh_entsize (%#llx)\n"
149@ MSG_ERR_DYNSYMVAL	"%s: %s: symbol value does not match \
150			 DT_%s entry: %s: value: %#llx\n"
151
152@ MSG_WARN_INVINTERP1	"%s: PT_INTERP header has no associated section\n"
153@ MSG_WARN_INVINTERP2	"%s: interp section: %s: and PT_INTERP program \
154			 header have conflicting size or offsets\n"
155@ MSG_WARN_INVCAP1	"%s: PT_SUNWCAP header has no associated section\n"
156@ MSG_WARN_INVCAP2	"%s: capabilities section: %s: requires PT_CAP program \
157			 header\n"
158@ MSG_WARN_INVCAP3	"%s: capabilities section: %s: and PT_CAP program \
159			 header have conflicting size or offsets\n"
160@ MSG_WARN_INADDR32SF1	"%s: capabilities section %s: software capability \
161			 ADDR32: is ineffective within a 32-bit object\n"
162
163# Elf Output Messages
164
165@ MSG_ELF_SHDR		"Section Header[%d]:  sh_name: %s"
166@ MSG_ELF_PHDR		"Program Header[%d]:"
167
168@ MSG_ELF_SCN_CAP	"Hardware/Software Capabilities Section:  %s"
169@ MSG_ELF_SCN_INTERP	"Interpreter Section:  %s"
170@ MSG_ELF_SCN_VERDEF	"Version Definition Section:  %s"
171@ MSG_ELF_SCN_VERNEED	"Version Needed Section:  %s"
172@ MSG_ELF_SCN_SYMTAB	"Symbol Table Section:  %s"
173@ MSG_ELF_SCN_RELOC	"Relocation Section:  %s"
174@ MSG_ELF_SCN_UNWIND	"Unwind Section: %s"
175@ MSG_ELF_SCN_DYNAMIC	"Dynamic Section:  %s"
176@ MSG_ELF_SCN_NOTE	"Note Section:  %s"
177@ MSG_ELF_SCN_HASH	"Hash Section:  %s"
178@ MSG_ELF_SCN_SYMINFO	"Syminfo Section:  %s"
179@ MSG_ELF_SCN_GOT	"Global Offset Table Section:  %s"
180@ MSG_ELF_SCN_GRP	"Group Section:  %s"
181@ MSG_ELF_SCN_MOVE	"Move Section:  %s"
182@ MSG_ELF_SCN_SYMSORT1	"Symbol Sort Section:  %s (%s)"
183@ MSG_ELF_SCN_SYMSORT2	"Symbol Sort Section:  %s (%s / %s)"
184
185@ MSG_ELF_HASH_BKTS1	"%10.10s  buckets contain %8d symbols"
186@ MSG_ELF_HASH_BKTS2	"%10.10s  buckets         %8d symbols (globals)"
187@ MSG_ELF_HASH_INFO	"    bucket  symndx      name"
188@ MSG_HASH_OVERFLW	"%s: warning: section %s: too many symbols to count, \
189			 bucket=%d count=%d"
190@ MSG_ELF_ERR_SHDR	"\tunable to obtain section header: shstrtab[%lld]\n"
191@ MSG_ELF_ERR_DATA	"\tunable to obtain section data: shstrtab[%lld]\n"
192@ MSG_ELF_ERR_SCN	"\tunable to obtain section header: section[%d]\n"
193@ MSG_ELF_ERR_SCNDATA	"\tunable to obtain section data: section[%d]\n"
194@ MSG_ARCHIVE_SYMTAB	"\nSymbol Table: (archive)"
195@ MSG_ARCHIVE_FIELDS	"     index    offset    member name and symbol"
196
197@ MSG_GOT_MULTIPLE	"%s: multiple relocations against \
198			 the same GOT entry ndx: %d addr: 0x%llx\n"
199@ MSG_GOT_UNEXPECTED	"%s: warning: section %s: section unexpected within \
200			 relocatable object\n"
201
202# Miscellaneous clutter
203
204@ MSG_STR_NULL		"(null)"
205@ MSG_STR_DEPRECATED	"(deprecated value)"
206@ MSG_STR_UNKNOWN	"<unknown>"
207@ MSG_STR_SECTION	"%s (section)"
208@ MSG_STR_CHECKSUM	"elf checksum: 0x%lx"
209
210@ MSG_FMT_SCNNDX	"section[%d]"
211@ MSG_FMT_NOTEENTNDX	"  entry [%d]";
212
213
214@ MSG_ERR_MALLOC	"%s: malloc: %s\n"
215@ MSG_ERR_OPEN		"%s: open: %s\n"
216@ MSG_ERR_READ		"%s: read: %s\n"
217@ MSG_ERR_WRITE		"%s: write: %s\n"
218@ MSG_ERR_BAD_T_SHT	"%s: unrecognized section header type: %s\n"
219@ MSG_ERR_BAD_T_PT	"%s: unrecognized program header type: %s\n"
220@ MSG_ERR_AMBIG_MATCH	"%s: ambiguous use of -I, -N, or -T. Remove \
221			 -p option or section selection option(s)\n"
222
223#
224# SHT_MOVE messages
225#
226@ MSG_MOVE_TITLE	"    symndx offset   size repeat stride   \
227			 value               with respect to"
228@ MSG_MOVE_ENTRY	"%10.10s %6lld %6d %6d %6d %#18.18llx  %s"
229
230#
231# SHT_GROUP messages
232#
233@ MSG_GRP_TITLE		"     index    flags / section         signature symbol"
234@ MSG_GRP_SIGNATURE	"       [0]   %-24s %s"
235@ MSG_GRP_INVALSCN	"<invalid section>"
236
237#
238# SHT_NOTE messages
239#
240@ MSG_NOTE_BADDATASZ	"%s: %s: note header exceeds section size. \
241			 offset: 0x%x\n"
242@ MSG_NOTE_BADNMSZ	"%s: %s: note name value exceeds section size. \
243			 offset: 0x%x namesize: 0x%x\n"
244@ MSG_NOTE_BADDESZ	"%s: %s: note data size exceeds section size. \
245			 offset: 0x%x datasize: 0x%x\n"
246@ MSG_NOTE_BADCOREARCH	"%s: elfdump core file note support not available for \
247			 architecture: %s\n"
248@ MSG_NOTE_BADCOREDATA	"%s: elfdump core file note data trunctated or \
249			 otherwise malformed\n"
250
251@ _END_
252
253# The following strings represent reserved words, files, pathnames and symbols.
254# Reference to this strings is via the MSG_ORIG() macro, and thus no message
255# translation is required.
256
257@ MSG_STR_OSQBRKT	"["
258@ MSG_STR_CSQBRKT	"]"
259
260@ MSG_GRP_COMDAT	" COMDAT "
261@ MSG_GRP_ENTRY		"%10.10s   %s [%lld]\n"
262@ MSG_GRP_UNKNOWN	" 0x%x "
263
264@ MSG_ELF_GOT		".got"
265@ MSG_ELF_INIT		".init"
266@ MSG_ELF_FINI		".fini"
267@ MSG_ELF_INTERP	".interp"
268
269@ MSG_ELF_GETEHDR	"elf_getehdr"
270@ MSG_ELF_GETPHDR	"elf_getphdr"
271@ MSG_ELF_GETSHDR	"elf_getshdr"
272@ MSG_ELF_GETSCN	"elf_getscn"
273@ MSG_ELF_GETDATA	"elf_getdata"
274@ MSG_ELF_GETARHDR	"elf_getarhdr"
275@ MSG_ELF_GETARSYM	"elf_getarsym"
276@ MSG_ELF_RAND		"elf_rand"
277@ MSG_ELF_BEGIN		"elf_begin"
278@ MSG_ELF_GETPHNUM	"elf_getphnum"
279@ MSG_ELF_GETSHNUM	"elf_getshnum"
280@ MSG_ELF_GETSHSTRNDX	"elf_getshstrndx"
281@ MSG_ELF_XLATETOM	"elf_xlatetom"
282@ MSG_ELF_ARSYM		"ARSYM"
283
284@ MSG_SYM_INIT		"_init"
285@ MSG_SYM_FINI		"_fini"
286@ MSG_SYM_GOT		"_GLOBAL_OFFSET_TABLE_"
287
288@ MSG_STR_OPTIONS	"CcdeGgHhiI:klmN:nPprSsT:uvw:y"
289
290@ MSG_STR_8SP		"        "
291@ MSG_STR_EMPTY		""
292@ MSG_STR_CORE		"CORE"
293
294@ MSG_FMT_INDENT	"	%s"
295@ MSG_FMT_INDEX		" [%lld]"
296@ MSG_FMT_INDEX2	"[%d]"
297@ MSG_FMT_ASRINDEX	"[ asr%d ]"
298@ MSG_FMT_INDEXRNG	"[%d-%d]"
299@ MSG_FMT_INTEGER	" %d"
300@ MSG_FMT_HASH_INFO	"%10.10s  %-10s  %s"
301@ MSG_FMT_ARSYM1	"%10.10s  0x%8.8x  (%s):%s"
302@ MSG_FMT_ARSYM2	"%10.10s  0x%8.8x"
303@ MSG_FMT_ARNAME	"%s(%s)"
304@ MSG_FMT_NLSTR		"\n%s:"
305@ MSG_FMT_NLSTRNL	"\n%s:\n"
306@ MSG_FMT_SECSYM	"%.*s%s"
307
308@ MSG_HEXDUMP_ROW	"%*s%-*s%s"
309@ MSG_HEXDUMP_TOK	"%2.2x"
310
311@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
312
313# Unwind info
314
315@ MSG_SCN_FRM		".eh_frame"
316@ MSG_SCN_FRMHDR	".eh_frame_hdr"
317
318@ MSG_UNW_FRMHDR	"Frame Header:"
319@ MSG_UNW_FRMVERS	"  Version: %d"
320@ MSG_UNW_FRPTRENC	"  FramePtrEnc: %-20s  FramePtr: 0x%llx"
321@ MSG_UNW_FDCNENC	"  FdeCntEnc:   %-20s  FdeCnt: %lld"
322@ MSG_UNW_TABENC	"  TableEnc:    %-20s"
323@ MSG_UNW_BINSRTAB1	"  Binary Search Table:"
324@ MSG_UNW_BINSRTAB2	"      InitialLoc          FdeLoc"
325@ MSG_UNW_BINSRTABENT	"    0x%016llx  0x%016llx"
326@ MSG_UNW_ZEROTERM	"ZERO terminator: [0x00000000]"
327@ MSG_UNW_CIE		"CIE: [0x%08llx]"
328@ MSG_UNW_CIELNGTH	" length: 0x%02x cieid: %d"
329@ MSG_UNW_CIEVERS	" version: %d  augstring: `%s'"
330@ MSG_UNW_CIECALGN	" codealign: 0x%llx  dataalign: %lld  \
331			  retaddr: %d"
332@ MSG_UNW_CIEAXVAL	" Auxiliary vals:"
333@ MSG_UNW_CIEAXSIZ	"   size: %d"
334@ MSG_UNW_CIEAXPERS	"   pers: 0x%02x %s 0x%08llx"
335@ MSG_UNW_CIEAXCENC	"   cenc: 0x%02x %s"
336@ MSG_UNW_CIEAXLSDA	"   lsda: 0x%02x %s"
337@ MSG_UNW_CIEAXUNEC	"   Unexpected aug val: %c"
338@ MSG_UNW_CIECFI	" CallFrameInstructions:"
339@ MSG_UNW_CIEPRE	"   "
340
341@ MSG_UNW_FDE		" FDE: [0x%08llx]"
342@ MSG_UNW_FDELNGTH	"    length: 0x%02x  cieptr: 0x%02x"
343@ MSG_UNW_FDEINITLOC	"    initloc: 0x%08llx  addrrange: 0x%04llx"
344@ MSG_UNW_FDEAXVAL	"   Auxiliary vals:"
345@ MSG_UNW_FDEAXSIZE	"      size: 0x%llx"
346@ MSG_UNW_FDEAXLSDA	"    lsda: 0x%llx"
347@ MSG_UNW_FDECFI	"    CallFrameInstructions:"
348@ MSG_UNW_FDEPRE	"      "
349
350@ MSG_UNW_TBLENTRY	"0x%02x "
351
352# Note messages
353
354@ MSG_NOTE_TYPE		"    type:   %#x"
355@ MSG_NOTE_TYPE_STR	"    type:   %s"
356@ MSG_NOTE_NAMESZ	"    namesz: %#x"
357@ MSG_NOTE_NAME		"    name:"
358@ MSG_NOTE_DESCSZ	"    descsz: %#x"
359
360@ MSG_NOTE_DESC				"    desc:"
361@ MSG_CNOTE_DESC_ASRSET_T		"desc: (asrset_t)"
362@ MSG_CNOTE_DESC_AUXV_T			"desc: (auxv_t)"
363@ MSG_CNOTE_DESC_CORE_CONTENT_T		"desc: (core_content_t)"
364@ MSG_CNOTE_DESC_LWPSINFO_T		"desc: (lwpsinfo_t)"
365@ MSG_CNOTE_DESC_LWPSTATUS_T		"desc: (lwpstatus_t)"
366@ MSG_CNOTE_DESC_PRCRED_T		"desc: (prcred_t)"
367@ MSG_CNOTE_DESC_PRIV_IMPL_INFO_T	"desc: (priv_impl_info_t)"
368@ MSG_CNOTE_DESC_PRPRIV_T		"desc: (prpriv_t)"
369@ MSG_CNOTE_DESC_PRPSINFO_T		"desc: (prpsinfo_t)"
370@ MSG_CNOTE_DESC_PRSTATUS_T		"desc: (prstatus_t)"
371@ MSG_CNOTE_DESC_PSINFO_T		"desc: (psinfo_t)"
372@ MSG_CNOTE_DESC_PSTATUS_T		"desc: (pstatus_t)"
373@ MSG_CNOTE_DESC_STRUCT_UTSNAME		"desc: (struct utsname)"
374
375
376@ MSG_CNOTE_FMT_LINE		"%*s%-*s%s"
377@ MSG_CNOTE_FMT_LINE_2UP	"%*s%-*s%-*s%-*s%s"
378@ MSG_CNOTE_FMT_D		"%d"
379@ MSG_CNOTE_FMT_LLD		"%lld"
380@ MSG_CNOTE_FMT_U		"%u"
381@ MSG_CNOTE_FMT_LLU		"%llu"
382@ MSG_CNOTE_FMT_X		"%#x"
383@ MSG_CNOTE_FMT_LLX		"%#llx"
384@ MSG_CNOTE_FMT_Z2X		"0x%2.2x"
385@ MSG_CNOTE_FMT_Z4X		"0x%4.4x"
386@ MSG_CNOTE_FMT_Z8X		"0x%8.8x"
387@ MSG_CNOTE_FMT_Z16LLX		"0x%16.16llx"
388@ MSG_CNOTE_FMT_TITLE		"%*s%s"
389@ MSG_CNOTE_FMT_AUXVLINE	"%*s%10.10s  %-*s  %s"
390@ MSG_CNOTE_FMT_PRTPCT		"%u.%u%%"
391
392@ MSG_CNOTE_T_PRIV_FLAGS		"priv_flags:"
393@ MSG_CNOTE_T_PRIV_GLOBALINFOSIZE	"priv_globalinfosize:"
394@ MSG_CNOTE_T_PRIV_HEADERSIZE		"priv_headersize:"
395@ MSG_CNOTE_T_PRIV_INFOSIZE		"priv_infosize:"
396@ MSG_CNOTE_T_PRIV_MAX			"priv_max:"
397@ MSG_CNOTE_T_PRIV_NSETS		"priv_nsets:"
398@ MSG_CNOTE_T_PRIV_SETSIZE		"priv_setsize:"
399@ MSG_CNOTE_T_PR_ACTION			"pr_action:"
400@ MSG_CNOTE_T_PR_ADDR			"pr_addr:"
401@ MSG_CNOTE_T_PR_AGENTID		"pr_agentid:"
402@ MSG_CNOTE_T_PR_ALTSTACK		"pr_altstack:"
403@ MSG_CNOTE_T_PR_ARGC			"pr_argc:"
404@ MSG_CNOTE_T_PR_ARGV			"pr_argv:"
405@ MSG_CNOTE_T_PR_ASLWPID		"pr_aslwpid:"
406@ MSG_CNOTE_T_PR_BIND			"pr_bind:"
407@ MSG_CNOTE_T_PR_BINDPRO		"pr_bindpro:"
408@ MSG_CNOTE_T_PR_BINDPSET		"pr_bindpset:"
409@ MSG_CNOTE_T_PR_BRKBASE		"pr_brkbase:"
410@ MSG_CNOTE_T_PR_BRKSIZE		"pr_brksize:"
411@ MSG_CNOTE_T_PR_BYRSSIZE		"pr_byrssize:"
412@ MSG_CNOTE_T_PR_BYSIZE			"pr_bysize:"
413@ MSG_CNOTE_T_PR_CLNAME			"pr_clname:"
414@ MSG_CNOTE_T_PR_CONTRACT		"pr_contract:"
415@ MSG_CNOTE_T_PR_CPU			"pr_cpu:"
416@ MSG_CNOTE_T_PR_CSTIME			"pr_cstime:"
417@ MSG_CNOTE_T_PR_CTIME			"pr_ctime:"
418@ MSG_CNOTE_T_PR_CURSIG			"pr_cursig:"
419@ MSG_CNOTE_T_PR_CUTIME			"pr_cutime:"
420@ MSG_CNOTE_T_PR_DMODEL			"pr_dmodel:"
421@ MSG_CNOTE_T_PR_EGID			"pr_egid:"
422@ MSG_CNOTE_T_PR_ENVP			"pr_envp:"
423@ MSG_CNOTE_T_PR_ERRNO			"pr_errno:"
424@ MSG_CNOTE_T_PR_ERRPRIV		"pr_errpriv:"
425@ MSG_CNOTE_T_PR_EUID			"pr_euid:"
426@ MSG_CNOTE_T_PR_FLAG			"pr_flag:"
427@ MSG_CNOTE_T_PR_FLAGS			"pr_flags:"
428@ MSG_CNOTE_T_PR_FLTTRACE		"pr_flttrace:"
429@ MSG_CNOTE_T_PR_FNAME			"pr_fname:"
430@ MSG_CNOTE_T_PR_FPREG			"pr_fpreg:"
431@ MSG_CNOTE_T_PR_GID			"pr_gid:"
432@ MSG_CNOTE_T_PR_GROUPS			"pr_groups:"
433@ MSG_CNOTE_T_PR_INFO			"pr_info:"
434@ MSG_CNOTE_T_PR_INFOSIZE		"pr_infosize:"
435@ MSG_CNOTE_T_PR_INSTR			"pr_instr:"
436@ MSG_CNOTE_T_PR_LGRP			"pr_lgrp:"
437@ MSG_CNOTE_T_PR_LTTYDEV		"pr_lttydev:"
438@ MSG_CNOTE_T_PR_LWP			"pr_lwp:"
439@ MSG_CNOTE_T_PR_LWPHOLD		"pr_lwphold:"
440@ MSG_CNOTE_T_PR_LWPID			"pr_lwpid:"
441@ MSG_CNOTE_T_PR_LWPPEND		"pr_lwppend:"
442@ MSG_CNOTE_T_PR_NAME			"pr_name:"
443@ MSG_CNOTE_T_PR_NGROUPS		"pr_ngroups:"
444@ MSG_CNOTE_T_PR_NICE			"pr_nice:"
445@ MSG_CNOTE_T_PR_NLWP			"pr_nlwp:"
446@ MSG_CNOTE_T_PR_NSETS			"pr_nsets:"
447@ MSG_CNOTE_T_PR_NSYSARG		"pr_nsysarg:"
448@ MSG_CNOTE_T_PR_NZOMB			"pr_nzomb:"
449@ MSG_CNOTE_T_PR_OLDCONTEXT		"pr_oldcontext:"
450@ MSG_CNOTE_T_PR_OLDPRI			"pr_oldpri:"
451@ MSG_CNOTE_T_PR_ONPRO			"pr_onpro:"
452@ MSG_CNOTE_T_PR_OTTYDEV		"pr_ottydev:"
453@ MSG_CNOTE_T_PR_PCTCPU			"pr_pctcpu:"
454@ MSG_CNOTE_T_PR_PCTMEM			"pr_pctmem:"
455@ MSG_CNOTE_T_PR_PGID			"pr_pgid:"
456@ MSG_CNOTE_T_PR_PGRP			"pr_pgrp:"
457@ MSG_CNOTE_T_PR_PID			"pr_pid:"
458@ MSG_CNOTE_T_PR_POOLID			"pr_poolid:"
459@ MSG_CNOTE_T_PR_PPID			"pr_ppid:"
460@ MSG_CNOTE_T_PR_PRI			"pr_pri:"
461@ MSG_CNOTE_T_PR_PROCESSOR		"pr_processor:"
462@ MSG_CNOTE_T_PR_PROJID			"pr_projid:"
463@ MSG_CNOTE_T_PR_PSARGS			"pr_psargs:"
464@ MSG_CNOTE_T_PR_REG			"pr_reg:"
465@ MSG_CNOTE_T_PR_RGID			"pr_rgid:"
466@ MSG_CNOTE_T_PR_RSSIZE			"pr_rssize:"
467@ MSG_CNOTE_T_PR_RUID			"pr_ruid:"
468@ MSG_CNOTE_T_PR_RVAL1			"pr_rval1:"
469@ MSG_CNOTE_T_PR_RVAL2			"pr_rval2:"
470@ MSG_CNOTE_T_PR_SETS			"pr_sets:"
471@ MSG_CNOTE_T_PR_SETSIZE		"pr_setsize:"
472@ MSG_CNOTE_T_PR_SGID			"pr_sgid:"
473@ MSG_CNOTE_T_PR_SID			"pr_sid:"
474@ MSG_CNOTE_T_PR_SIGHOLD		"pr_sighold:"
475@ MSG_CNOTE_T_PR_SIGPEND		"pr_sigpend:"
476@ MSG_CNOTE_T_PR_SIGTRACE		"pr_sigtrace:"
477@ MSG_CNOTE_T_PR_SIZE			"pr_size:"
478@ MSG_CNOTE_T_PR_SNAME			"pr_sname:"
479@ MSG_CNOTE_T_PR_START			"pr_start:"
480@ MSG_CNOTE_T_PR_STATE			"pr_state:"
481@ MSG_CNOTE_T_PR_STIME			"pr_stime:"
482@ MSG_CNOTE_T_PR_STKBASE		"pr_stkbase:"
483@ MSG_CNOTE_T_PR_STKSIZE		"pr_stksize:"
484@ MSG_CNOTE_T_PR_STYPE			"pr_stype:"
485@ MSG_CNOTE_T_PR_SUID			"pr_suid:"
486@ MSG_CNOTE_T_PR_SYSARG			"pr_sysarg:"
487@ MSG_CNOTE_T_PR_SYSCALL		"pr_syscall:"
488@ MSG_CNOTE_T_PR_SYSENTRY		"pr_sysentry:"
489@ MSG_CNOTE_T_PR_SYSEXIT		"pr_sysexit:"
490@ MSG_CNOTE_T_PR_TASKID			"pr_taskid:"
491@ MSG_CNOTE_T_PR_TIME			"pr_time:"
492@ MSG_CNOTE_T_PR_TSTAMP			"pr_tstamp:"
493@ MSG_CNOTE_T_PR_TTYDEV			"pr_ttydev:"
494@ MSG_CNOTE_T_PR_UID			"pr_uid:"
495@ MSG_CNOTE_T_PR_USTACK			"pr_ustack:"
496@ MSG_CNOTE_T_PR_UTIME			"pr_utime:"
497@ MSG_CNOTE_T_PR_WCHAN			"pr_wchan:"
498@ MSG_CNOTE_T_PR_WHAT			"pr_what:"
499@ MSG_CNOTE_T_PR_WHO			"pr_who:"
500@ MSG_CNOTE_T_PR_WHY			"pr_why:"
501@ MSG_CNOTE_T_PR_WSTAT			"pr_wstat:"
502@ MSG_CNOTE_T_PR_ZOMB			"pr_zomb:"
503@ MSG_CNOTE_T_PR_ZONEID			"pr_zoneid:"
504@ MSG_CNOTE_T_SA_FLAGS			"sa_flags:"
505@ MSG_CNOTE_T_SA_HANDLER		"sa_handler:"
506@ MSG_CNOTE_T_SA_MASK			"sa_mask:"
507@ MSG_CNOTE_T_SA_SIGACTION		"sa_sigaction:"
508@ MSG_CNOTE_T_SIVAL_INT			"sival_int:"
509@ MSG_CNOTE_T_SIVAL_PTR			"sival_ptr:"
510@ MSG_CNOTE_T_SI_ADDR			"si_addr:"
511@ MSG_CNOTE_T_SI_BAND			"si_band:"
512@ MSG_CNOTE_T_SI_CODE			"si_code:"
513@ MSG_CNOTE_T_SI_CTID			"si_ctid:"
514@ MSG_CNOTE_T_SI_ENTITY			"si_entity"
515@ MSG_CNOTE_T_SI_ERRNO			"si_errno:"
516@ MSG_CNOTE_T_SI_PID			"si_pid:"
517@ MSG_CNOTE_T_SI_SIGNO			"si_signo:"
518@ MSG_CNOTE_T_SI_STATUS			"si_status:"
519@ MSG_CNOTE_T_SI_UID			"si_uid:"
520@ MSG_CNOTE_T_SI_VALUE			"si_value:"
521@ MSG_CNOTE_T_SI_ZONEID			"si_zoneid:"
522@ MSG_CNOTE_T_SS_FLAGS			"ss_flags:"
523@ MSG_CNOTE_T_SS_SIZE			"ss_size:"
524@ MSG_CNOTE_T_SS_SP			"ss_sp:"
525@ MSG_CNOTE_T_TV_NSEC			"tv_nsec:"
526@ MSG_CNOTE_T_TV_SEC			"tv_sec:"
527@ MSG_CNOTE_T_UTS_MACHINE		"machine:"
528@ MSG_CNOTE_T_UTS_NODENAME		"nodename:"
529@ MSG_CNOTE_T_UTS_RELEASE		"release:"
530@ MSG_CNOTE_T_UTS_SYSNAME		"sysname:"
531@ MSG_CNOTE_T_UTS_VERSION		"version:"
532
533
534# Names of fake sections generated from program header data
535@ MSG_PHDRNAM_CAP		".SUNW_cap(phdr)"
536@ MSG_PHDRNAM_DYN		".dynamic(phdr)"
537@ MSG_PHDRNAM_DYNSTR		".dynstr(phdr)"
538@ MSG_PHDRNAM_DYNSYM		".dynsym(phdr)"
539@ MSG_PHDRNAM_FINIARR		".finiarray(phdr)"
540@ MSG_PHDRNAM_HASH		".hash(phdr)"
541@ MSG_PHDRNAM_INITARR		".initarray(phdr)"
542@ MSG_PHDRNAM_INTERP		".interp(phdr)"
543@ MSG_PHDRNAM_LDYNSYM		".SUNW_ldynsym(phdr)"
544@ MSG_PHDRNAM_MOVE		".move(phdr)"
545@ MSG_PHDRNAM_NOTE		".note(phdr)"
546@ MSG_PHDRNAM_PREINITARR	".preinitarray(phdr)"
547@ MSG_PHDRNAM_REL		".rel(phdr)"
548@ MSG_PHDRNAM_RELA		".rela(phdr)"
549@ MSG_PHDRNAM_SYMINFO		".syminfo(phdr)"
550@ MSG_PHDRNAM_SYMSORT		".SUNW_symsort(phdr)"
551@ MSG_PHDRNAM_TLSSORT		".SUNW_tlssort(phdr)"
552@ MSG_PHDRNAM_UNWIND		".eh_frame_hdr(phdr)"
553@ MSG_PHDRNAM_VER		".SUNW_version(phdr)"
554
555
556# Names of sh_type SHT_* type constants
557
558@ MSG_SHT_NULL			"SHT_NULL"		# 0
559@ MSG_SHT_NULL_ALT1		"null"
560@ MSG_SHT_PROGBITS		"SHT_PROGBITS"		# 1
561@ MSG_SHT_PROGBITS_ALT1		"progbits"
562@ MSG_SHT_SYMTAB		"SHT_SYMTAB"		# 2
563@ MSG_SHT_SYMTAB_ALT1		"symtab"
564@ MSG_SHT_STRTAB		"SHT_STRTAB"		# 3
565@ MSG_SHT_STRTAB_ALT1		"strtab"
566@ MSG_SHT_RELA			"SHT_RELA"		# 4
567@ MSG_SHT_RELA_ALT1		"rela"
568@ MSG_SHT_HASH			"SHT_HASH"		# 5
569@ MSG_SHT_HASH_ALT1		"hash"
570@ MSG_SHT_DYNAMIC		"SHT_DYNAMIC"		# 6
571@ MSG_SHT_DYNAMIC_ALT1		"dynamic"
572@ MSG_SHT_NOTE			"SHT_NOTE"		# 7
573@ MSG_SHT_NOTE_ALT1		"note"
574@ MSG_SHT_NOBITS		"SHT_NOBITS"		# 8
575@ MSG_SHT_NOBITS_ALT1		"nobits"
576@ MSG_SHT_REL			"SHT_REL"		# 9
577@ MSG_SHT_REL_ALT1		"rel"
578@ MSG_SHT_SHLIB			"SHT_SHLIB"		# 10
579@ MSG_SHT_SHLIB_ALT1		"shlib"
580@ MSG_SHT_DYNSYM		"SHT_DYNSYM"		# 11
581@ MSG_SHT_DYNSYM_ALT1		"dynsym"
582@ MSG_SHT_INIT_ARRAY		"SHT_INIT_ARRAY"	# 14
583@ MSG_SHT_INIT_ARRAY_ALT1	"init_array"
584@ MSG_SHT_FINI_ARRAY		"SHT_FINI_ARRAY"	# 15
585@ MSG_SHT_FINI_ARRAY_ALT1	"fini_array"
586@ MSG_SHT_PREINIT_ARRAY		"SHT_PREINIT_ARRAY"	# 16
587@ MSG_SHT_PREINIT_ARRAY_ALT1	"preinit_ARRAY"
588@ MSG_SHT_GROUP			"SHT_GROUP"		# 17
589@ MSG_SHT_GROUP_ALT1		"group"
590@ MSG_SHT_SYMTAB_SHNDX		"SHT_SYMTAB_SHNDX"	# 18
591@ MSG_SHT_SYMTAB_SHNDX_ALT1	"symtab_shndx"
592@ MSG_SHT_SUNW_SYMSORT		"SHT_SUNW_symsort"	# 0x6ffffff1
593@ MSG_SHT_SUNW_SYMSORT_ALT1	"sunw_symsort"
594@ MSG_SHT_SUNW_TLSSORT		"SHT_SUNW_tlssort"	# 0x6ffffff2
595@ MSG_SHT_SUNW_TLSSORT_ALT1	"sunw_tlssort"
596@ MSG_SHT_SUNW_LDYNSYM		"SHT_SUNW_LDYNSYM"	# 0x6ffffff3
597@ MSG_SHT_SUNW_LDYNSYM_ALT1	"sunw_ldynsym"
598@ MSG_SHT_SUNW_DOF		"SHT_SUNW_dof"		# 0x6ffffff4
599@ MSG_SHT_SUNW_DOF_ALT1		"sunw_dof"
600@ MSG_SHT_SUNW_CAP		"SHT_SUNW_cap"		# 0x6ffffff5
601@ MSG_SHT_SUNW_CAP_ALT1		"sunw_cap"
602@ MSG_SHT_SUNW_SIGNATURE	"SHT_SUNW_SIGNATURE"	# 0x6ffffff6
603@ MSG_SHT_SUNW_SIGNATURE_ALT1	"sunw_signature"
604@ MSG_SHT_SUNW_ANNOTATE		"SHT_SUNW_ANNOTATE"	# 0x6ffffff7
605@ MSG_SHT_SUNW_ANNOTATE_ALT1	"sunw_annotate"
606@ MSG_SHT_SUNW_DEBUGSTR		"SHT_SUNW_DEBUGSTR"	# 0x6ffffff8
607@ MSG_SHT_SUNW_DEBUGSTR_ALT1	"sunw_debugstr"
608@ MSG_SHT_SUNW_DEBUG		"SHT_SUNW_DEBUG"	# 0x6ffffff9
609@ MSG_SHT_SUNW_DEBUG_ALT1	"sunw_debug"
610@ MSG_SHT_SUNW_MOVE		"SHT_SUNW_move"		# 0x6ffffffa
611@ MSG_SHT_SUNW_MOVE_ALT1	"sunw_move"
612@ MSG_SHT_SUNW_COMDAT		"SHT_SUNW_COMDAT"	# 0x6ffffffb
613@ MSG_SHT_SUNW_COMDAT_ALT1	"sunw_comdat"
614@ MSG_SHT_SUNW_SYMINFO		"SHT_SUNW_syminfo"	# 0x6ffffffc
615@ MSG_SHT_SUNW_SYMINFO_ALT1	"sunw_syminfo"
616@ MSG_SHT_SUNW_VERDEF		"SHT_SUNW_verdef"	# 0x6ffffffd
617@ MSG_SHT_SUNW_VERDEF_ALT1	"sunw_verdef"
618@ MSG_SHT_GNU_VERDEF		"SHT_GNU_verdef"	# 0x6ffffffd
619@ MSG_SHT_GNU_VERDEF_ALT1	"gnu_verdef"
620@ MSG_SHT_SUNW_VERNEED		"SHT_SUNW_verneed"	# 0x6ffffffe
621@ MSG_SHT_SUNW_VERNEED_ALT1	"sunw_verneed"
622@ MSG_SHT_GNU_VERNEED		"SHT_GNU_verneed"	# 0x6ffffffe
623@ MSG_SHT_GNU_VERNEED_ALT1	"gnu_verneed"
624@ MSG_SHT_SUNW_VERSYM		"SHT_SUNW_versym"	# 0x6fffffff
625@ MSG_SHT_SUNW_VERSYM_ALT1	"sunw_versym"
626@ MSG_SHT_GNU_VERSYM		"SHT_GNU_versym"	# 0x6fffffff
627@ MSG_SHT_GNU_VERSYM_ALT1	"gnu_versym"
628@ MSG_SHT_SPARC_GOTDATA		"SHT_SPARC_GOTDATA"	# 0x7000000
629@ MSG_SHT_SPARC_GOTDATA_ALT1	"sparc_gotdata"
630@ MSG_SHT_AMD64_UNWIND		"SHT_AMD64_UNWIND"	# 0x7000000
631@ MSG_SHT_AMD64_UNWIND_ALT1	"amd64_unwind"
632
633
634# Program header PT_ segment types
635
636@ MSG_PT_NULL			"PT_NULL"		# 0
637@ MSG_PT_NULL_ALT1		"null"
638@ MSG_PT_LOAD			"PT_LOAD"		# 1
639@ MSG_PT_LOAD_ALT1		"load"
640@ MSG_PT_DYNAMIC		"PT_DYNAMIC"		# 2
641@ MSG_PT_DYNAMIC_ALT1		"dynamic"
642@ MSG_PT_INTERP			"PT_INTERP"		# 3
643@ MSG_PT_INTERP_ALT1		"interp"
644@ MSG_PT_NOTE			"PT_NOTE"		# 4
645@ MSG_PT_NOTE_ALT1		"note"
646@ MSG_PT_SHLIB			"PT_SHLIB"		# 5
647@ MSG_PT_SHLIB_ALT1		"shlib"
648@ MSG_PT_PHDR			"PT_PHDR"		# 6
649@ MSG_PT_PHDR_ALT1		"phdr"
650@ MSG_PT_TLS			"PT_TLS"		# 7
651@ MSG_PT_TLS_ALT1		"tls"
652@ MSG_PT_SUNW_UNWIND		"PT_SUNW_UNWIND"	# 0x6464e550
653@ MSG_PT_SUNW_UNWIND_ALT1	"sunw_unwind"
654@ MSG_PT_SUNWBSS		"PT_SUNWBSS"		# 0x6ffffffa
655@ MSG_PT_SUNWBSS_ALT1		"sunwbss"
656@ MSG_PT_SUNWSTACK		"PT_SUNWSTACK"		# 0x6ffffffb
657@ MSG_PT_SUNWSTACK_ALT1		"sunwstack"
658@ MSG_PT_SUNWDTRACE		"PT_SUNWDTRACE"		# 0x6ffffffc
659@ MSG_PT_SUNWDTRACE_ALT1	"sunwdtrace"
660@ MSG_PT_SUNWCAP		"PT_SUNWCAP"		# 0x6ffffffd
661@ MSG_PT_SUNWCAP_ALT1		"sunwcap"
662