xref: /titanic_50/usr/src/cmd/sgs/elfdump/common/elfdump.msg (revision f9edfba4e2ac2531f0e52d0c4007976054e1023d)
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 2007 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29@ _START_
30
31# Message file for cmd/sgs/elfdump.
32
33@ MSG_ID_ELFDUMP
34
35# Usage Messages
36
37@ MSG_USAGE_BRIEF	"usage: %s [-cCdegGhHiklmnrSsuvy] [-I index] \
38			 [-N name] [-T type] [-p | -w outfile] file...\n"
39@ MSG_USAGE_DETAIL1	"\t[-c]\t\tdump section header information\n"
40@ MSG_USAGE_DETAIL2	"\t[-C]\t\tdemangle C++ symbol names\n"
41@ MSG_USAGE_DETAIL3	"\t[-d]\t\tdump the contents of the .dynamic section\n"
42@ MSG_USAGE_DETAIL4	"\t[-e]\t\tdump the elf header\n"
43@ MSG_USAGE_DETAIL5	"\t[-g]\t\tdump the contents of the .group sections\n"
44@ MSG_USAGE_DETAIL6	"\t[-G]\t\tdump the contents of the .got section\n"
45@ MSG_USAGE_DETAIL7	"\t[-h]\t\tdump the contents of the .hash section\n"
46@ MSG_USAGE_DETAIL8	"\t[-H]\t\tdump the contents of the .SUNW_hwcap \
47			 section\n"
48@ MSG_USAGE_DETAIL9	"\t[-i]\t\tdump the contents of the .interp section\n"
49@ MSG_USAGE_DETAIL10	"\t[-I index]\tqualify an option with an index\n"
50@ MSG_USAGE_DETAIL11	"\t[-l]\t\tdump with no truncated section names\n"
51@ MSG_USAGE_DETAIL12	"\t[-k]\t\tcalculate elf checksum\n"
52@ MSG_USAGE_DETAIL13	"\t[-m]\t\tdump the contents of the .SUNW_move \
53			 section\n"
54@ MSG_USAGE_DETAIL14	"\t[-n]\t\tdump the contents of the .note section\n"
55@ MSG_USAGE_DETAIL15	"\t[-N name]\tqualify an option with a `name'\n"
56@ MSG_USAGE_DETAIL16	"\t[-P]\t\tuse program headers to generate \
57			 section headers\n"
58@ MSG_USAGE_DETAIL17	"\t[-p]\t\tdump the program headers\n"
59@ MSG_USAGE_DETAIL18	"\t[-r]\t\tdump the contents of the relocation \
60			 sections\n"
61@ MSG_USAGE_DETAIL19	"\t[-S]\t\tdump the contents of the sort index \
62			 sections\n"
63@ MSG_USAGE_DETAIL20	"\t[-s]\t\tdump the contents of the symbol table \
64			 sections\n"
65@ MSG_USAGE_DETAIL21	"\t[-T type]\tqualify an option with a section or \
66			 program header type\n"
67@ MSG_USAGE_DETAIL22	"\t[-u]\t\tdump the contents of a frame unwind \
68			 section\n"
69@ MSG_USAGE_DETAIL23	"\t[-v]\t\tdump the contents of the version sections\n"
70@ MSG_USAGE_DETAIL24	"\t[-w file]\twrite the contents of specified section \
71			 to `file'\n"
72@ MSG_USAGE_DETAIL25	"\t[-y]\t\tdump the contents of the .SUNW_syminfo \
73			 section\n"
74
75# Errors
76
77@ MSG_ERR_BADFILE	"%s: invalid file type\n"
78@ MSG_ERR_BADREL1       "%s: bad relocation entry: %s: relocation requires symbol\n"
79@ MSG_ERR_NOSHDR	"%s: section headers are not present: synthesizing \
80			 from program headers (-P option)\n"
81@ MSG_ERR_PNEEDSPH	"%s: file without program headers is incompatible \
82			 with -P option\n"
83@ MSG_ERR_NOSHSTRSEC	"%s: no header string table section (shstrtab). \
84			 header names are not available\n"
85@ MSG_ERR_SHSTRNULL	"%s: zero size section header string table \
86			 (shstrtab). header names are not available\n"
87@ MSG_ERR_FAILURE	"%s: %s failed: %s\n"
88@ MSG_ERR_BADSHDRALIGN	"%s: bad section header array alignment\n"
89@ MSG_ERR_BADPHDRALIGN	"%s: bad program header array alignment\n"
90@ MSG_ERR_BADSHNAME	"%s: section[%d]: invalid sh_name: %lld\n"
91@ MSG_ERR_BADSHLINK	"%s: %s: invalid sh_link: %d\n"
92@ MSG_ERR_BADSHINFO	"%s: %s: invalid sh_info: %d\n"
93@ MSG_ERR_BADSHTYPE	"%s: %s: invalid sh_type: %d\n"
94@ MSG_ERR_BADALIGN	"%s: %s: bad sh_offset alignment\n"
95@ MSG_ERR_BADSYM2	"%s: %s: bad symbol entry: %s: must be SHN_COMMON or \
96			 defined in SHT_NOBITS section\n"
97@ MSG_ERR_BADSYM3	"%s: %s: bad symbol entry: %s: must be defined in \
98			 a SHF_TLS section\n"
99@ MSG_ERR_BADSYM4	"%s: %s: bad symbol entry: %s: must be defined in \
100			 a non-SHF_TLS section\n"
101@ MSG_ERR_BADSYM5	"%s: %s: bad symbol entry: %s: invalid shndx: %d\n"
102@ MSG_ERR_BADSYM6	"%s: %s: bad symbol entry: %s: section[%d] \
103			 size: %#llx: symbol (address %#llx, size %#llx) \
104			 lies outside of containing section\n"
105@ MSG_ERR_BADSYM7	"%s: %s: suspicious global symbol entry: %s: lies \
106			 within local symbol range (index < %lld)\n"
107@ MSG_ERR_BADSYM8	"%s: %s: suspicious local symbol entry: %s: lies \
108			 within global symbol range (index >= %lld)\n"
109
110@ MSG_ERR_RELBADSYMNDX	"%s: bad symbol reference %d: from relocation \
111			 entry: %d\n"
112@ MSG_ERR_HSBADSYMNDX	"%s: bad symbol reference %d: from hash entry: %d\n"
113@ MSG_ERR_BADSYMXINDEX1	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
114			 SHT_SYMTAB_SHNDX section truncated: no entry for this \
115			 symbol\n"
116@ MSG_ERR_BADSYMXINDEX2	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
117			 bad SHT_SYMTAB_SHNDX entry: invalid shndx: 0x%x\n"
118@ MSG_ERR_BADSYMXINDEX3	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
119			 SHT_SYMTAB_SHNDX section not found\n"
120
121@ MSG_ERR_BADSTOFF	"%s: %s: index[%d]: bad %s offset: 0x%x: max 0x%x\n"
122@ MSG_ERR_BADSZ		"%s: %s: zero size or zero entry size information\n"
123@ MSG_ERR_BADMINFO	"%s: %s: invalid m_info: 0x%llx\n"
124@ MSG_ERR_BADHASH	"%s: %s: bad hash entry: symbol %s: exists in bucket \
125			 %d, should be bucket %ld\n"
126@ MSG_ERR_NODYNSYM	"%s: %s: associated SHT_DYNSYM section not found\n"
127@ MSG_ERR_BADNDXSEC	"%s: %s: unexpected section type associated with \
128			 index section: %s\n"
129@ MSG_ERR_BADSORTNDX	"%s: %s: sort section has bad symbol index: %d\n"
130@ MSG_ERR_BADVER	"%s: %s: index[%d]: version %d is out of range: \
131			 version definitions available: 0-%d\n"
132@ MSG_ERR_NOTSTRTAB	"%s: section[%d] is not a string table as expected \
133			 by section[%d]\n";
134
135@ MSG_ERR_LDYNNOTADJ	"%s: bad dynamic symbol table layout: %s and %s \
136			 sections are not adjacent\n"
137@ MSG_ERR_SECMEMOVER	"%s: memory overlap between section[%d]: %s: %llx:%llx \
138			 and section[%d]: %s: %llx:%llx\n"
139@ MSG_ERR_SHDRMEMOVER	"%s: memory overlap between section header table: \
140			 %llx:%llx and section[%d]: %s: %llx:%llx\n"
141@ MSG_ERR_MULTDYN	"%s: %d dynamic sections seen (1 expected)\n"
142@ MSG_ERR_DYNNOBCKSEC	"%s: object lacks %s section required by DT_%s dynamic \
143			 entry\n"
144@ MSG_ERR_DYNBADADDR	"%s: DT_%s (%#llx) does not match \
145			 shdr[%d: %s].sh_addr (%#llx)\n"
146@ MSG_ERR_DYNBADSIZE	"%s: DT_%s (%#llx) does not match \
147			 shdr[%d: %s].sh_size (%#llx)\n"
148@ MSG_ERR_DYNBADENTSIZE	"%s: DT_%s (%#llx) does not match \
149			 shdr[%d: %s].sh_entsize (%#llx)\n"
150
151@ MSG_WARN_INVINTERP1	"%s: PT_INTERP header has no associated section\n"
152@ MSG_WARN_INVINTERP2	"%s: interp section: %s: and PT_INTERP program \
153			 header have conflicting size or offsets\n"
154@ MSG_WARN_INVCAP1	"%s: PT_SUNWCAP header has no associated section\n"
155@ MSG_WARN_INVCAP2	"%s: capabilities section: %s: requires PT_CAP program \
156			 header\n"
157@ MSG_WARN_INVCAP3	"%s: capabilities section: %s: and PT_CAP program \
158			 header have conflicting size or offsets\n"
159
160# Elf Output Messages
161
162@ MSG_ELF_SHDR		"Section Header[%d]:  sh_name: %s"
163@ MSG_ELF_PHDR		"Program Header[%d]:"
164
165@ MSG_ELF_SCN_CAP	"Hardware/Software Capabilities Section:  %s"
166@ MSG_ELF_SCN_INTERP	"Interpreter Section:  %s"
167@ MSG_ELF_SCN_VERDEF	"Version Definition Section:  %s"
168@ MSG_ELF_SCN_VERNEED	"Version Needed Section:  %s"
169@ MSG_ELF_SCN_SYMTAB	"Symbol Table Section:  %s"
170@ MSG_ELF_SCN_RELOC	"Relocation Section:  %s"
171@ MSG_ELF_SCN_UNWIND	"Unwind Section: %s"
172@ MSG_ELF_SCN_DYNAMIC	"Dynamic Section:  %s"
173@ MSG_ELF_SCN_NOTE	"Note Section:  %s"
174@ MSG_ELF_SCN_HASH	"Hash Section:  %s"
175@ MSG_ELF_SCN_SYMINFO	"Syminfo Section:  %s"
176@ MSG_ELF_SCN_GOT	"Global Offset Table Section:  %s"
177@ MSG_ELF_SCN_GRP	"Group Section:  %s"
178@ MSG_ELF_SCN_MOVE	"Move Section:  %s"
179@ MSG_ELF_SCN_SYMSORT1	"Symbol Sort Section:  %s (%s)"
180@ MSG_ELF_SCN_SYMSORT2	"Symbol Sort Section:  %s (%s / %s)"
181
182@ MSG_ELF_HASH_BKTS1	"%10.10s  buckets contain %8d symbols"
183@ MSG_ELF_HASH_BKTS2	"%10.10s  buckets         %8d symbols (globals)"
184@ MSG_ELF_HASH_INFO	"    bucket  symndx      name"
185@ MSG_HASH_OVERFLW	"%s: warning: section %s: too many symbols to count, \
186			 bucket=%d count=%d"
187@ MSG_ELF_ERR_SHDR	"\tunable to obtain section header: shstrtab[%lld]\n"
188@ MSG_ELF_ERR_DATA	"\tunable to obtain section data: shstrtab[%lld]\n"
189@ MSG_ELF_ERR_SCN	"\tunable to obtain section header: section[%d]\n"
190@ MSG_ELF_ERR_SCNDATA	"\tunable to obtain section data: section[%d]\n"
191@ MSG_ARCHIVE_SYMTAB	"\nSymbol Table: (archive)"
192@ MSG_ARCHIVE_FIELDS	"     index    offset    member name and symbol"
193
194@ MSG_GOT_MULTIPLE	"%s: multiple relocations against \
195			 the same GOT entry ndx: %d addr: 0x%llx\n"
196@ MSG_GOT_UNEXPECTED	"%s: warning: section %s: section unexpected within \
197			 relocatable object\n"
198
199# Miscellaneous clutter
200
201@ MSG_STR_NULL		"(null)"
202@ MSG_STR_DEPRECATED	"(deprecated value)"
203@ MSG_STR_UNKNOWN	"<unknown>"
204@ MSG_STR_SECTION	"%.12s (section)"
205@ MSG_STR_L_SECTION	"%s (section)"
206@ MSG_STR_CHECKSUM	"elf checksum: 0x%lx"
207
208@ MSG_FMT_SCNNDX	"section[%d]"
209
210@ MSG_ERR_MALLOC	"%s: malloc: %s\n"
211@ MSG_ERR_OPEN		"%s: open: %s\n"
212@ MSG_ERR_READ		"%s: read: %s\n"
213@ MSG_ERR_WRITE		"%s: write: %s\n"
214@ MSG_ERR_BAD_T_SHT	"%s: unrecognized section header type: %s\n"
215@ MSG_ERR_BAD_T_PT	"%s: unrecognized program header type: %s\n"
216@ MSG_ERR_AMBIG_MATCH	"%s: ambiguous use of -I, -N, or -T. Remove \
217			 -p option or section selection option(s)\n"
218
219#
220# SHT_MOVE messages
221#
222@ MSG_MOVE_TITLE	"    symndx offset   size repeat stride   \
223			 value               with respect to"
224@ MSG_MOVE_ENTRY	"%10.10s %6lld %6d %6d %6d %#18.18llx  %s"
225
226#
227# SHT_GROUP messages
228#
229@ MSG_GRP_TITLE		"     index    flags / section         signature symbol"
230@ MSG_GRP_SIGNATURE	"       [0]   %-24s %s"
231@ MSG_GRP_INVALSCN	"<invalid section>"
232
233#
234# SHT_NOTE messages
235#
236@ MSG_NOTE_BADDATASZ	"%s: %s: note header exceeds section size. \
237			 offset: 0x%x\n"
238@ MSG_NOTE_BADNMSZ	"%s: %s: note name value exceeds section size. \
239			 offset: 0x%x namesize: 0x%x\n"
240@ MSG_NOTE_BADDESZ	"%s: %s: note data size exceeds section size. \
241			 offset: 0x%x datasize: 0x%x\n"
242
243@ _END_
244
245# The following strings represent reserved words, files, pathnames and symbols.
246# Reference to this strings is via the MSG_ORIG() macro, and thus no message
247# translation is required.
248
249@ MSG_STR_OSQBRKT	"["
250@ MSG_STR_CSQBRKT	"]"
251
252@ MSG_GRP_COMDAT	" COMDAT "
253@ MSG_GRP_ENTRY		"%10.10s   %s [%lld]\n"
254@ MSG_GRP_UNKNOWN	" 0x%x "
255
256@ MSG_ELF_GOT		".got"
257@ MSG_ELF_INIT		".init"
258@ MSG_ELF_FINI		".fini"
259@ MSG_ELF_INTERP	".interp"
260
261@ MSG_ELF_GETEHDR	"elf_getehdr"
262@ MSG_ELF_GETPHDR	"elf_getphdr"
263@ MSG_ELF_GETSHDR	"elf_getshdr"
264@ MSG_ELF_GETSCN	"elf_getscn"
265@ MSG_ELF_GETDATA	"elf_getdata"
266@ MSG_ELF_GETARHDR	"elf_getarhdr"
267@ MSG_ELF_GETARSYM	"elf_getarsym"
268@ MSG_ELF_RAND		"elf_rand"
269@ MSG_ELF_BEGIN		"elf_begin"
270@ MSG_ELF_GETPHNUM	"elf_getphnum"
271@ MSG_ELF_GETSHNUM	"elf_getshnum"
272@ MSG_ELF_GETSHSTRNDX	"elf_getshstrndx"
273@ MSG_ELF_XLATETOM	"elf_xlatetom"
274@ MSG_ELF_ARSYM		"ARSYM"
275
276@ MSG_GOT_SYM		"_GLOBAL_OFFSET_TABLE_"
277
278@ MSG_STR_OPTIONS	"CcdeGgHhiI:klmN:nPprSsT:uvw:y"
279
280@ MSG_STR_EMPTY		""
281
282@ MSG_FMT_INDENT	"	%s"
283@ MSG_FMT_INDEX		" [%lld]"
284@ MSG_FMT_INDEX2	"[%d]"
285@ MSG_FMT_INTEGER	" %d"
286@ MSG_FMT_HASH_INFO	"%10.10s  %-10s  %s"
287@ MSG_FMT_ARSYM1	"%10.10s  0x%8.8x  (%s):%s"
288@ MSG_FMT_ARSYM2	"%10.10s  0x%8.8x"
289@ MSG_FMT_ARNAME	"%s(%s)"
290@ MSG_FMT_NLSTR		"\n%s:"
291@ MSG_FMT_NLSTRNL	"\n%s:\n"
292
293@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
294
295# Unwind info
296
297@ MSG_SCN_FRM		".eh_frame"
298@ MSG_SCN_FRMHDR	".eh_frame_hdr"
299
300@ MSG_UNW_FRMHDR	"Frame Header:"
301@ MSG_UNW_FRMVERS	"  Version: %d"
302@ MSG_UNW_FRPTRENC	"  FramePtrEnc: %-20s  FramePtr: 0x%llx"
303@ MSG_UNW_FDCNENC	"  FdeCntEnc:   %-20s  FdeCnt: %lld"
304@ MSG_UNW_TABENC	"  TableEnc:    %-20s"
305@ MSG_UNW_BINSRTAB1	"  Binary Search Table:"
306@ MSG_UNW_BINSRTAB2	"      InitialLoc          FdeLoc"
307@ MSG_UNW_BINSRTABENT	"    0x%016llx  0x%016llx"
308@ MSG_UNW_CIE		"CIE: [0x%08llx]"
309@ MSG_UNW_CIELNGTH	" length: 0x%02x cieid: %d"
310@ MSG_UNW_CIEVERS	" version: %d  augstring: `%s'"
311@ MSG_UNW_CIECALGN	" codealign: 0x%llx  dataalign: %lld  \
312			  retaddr: %d"
313@ MSG_UNW_CIEAXVAL	" Auxiliary vals:"
314@ MSG_UNW_CIEAXSIZ	"   size: %d"
315@ MSG_UNW_CIEAXPERS	"   pers: 0x%02x %s 0x%08llx"
316@ MSG_UNW_CIEAXCENC	"   cenc: 0x%02x %s"
317@ MSG_UNW_CIEAXLSDA	"   lsda: 0x%02x %s"
318@ MSG_UNW_CIEAXUNEC	"   Unexpected aug val: %c"
319@ MSG_UNW_CIECFI	" CallFrameInstructions:"
320@ MSG_UNW_CIEPRE	"   "
321
322@ MSG_UNW_FDE		" FDE: [0x%08llx]"
323@ MSG_UNW_FDELNGTH	"    length: 0x%02x  cieptr: 0x%02x"
324@ MSG_UNW_FDEINITLOC	"    initloc: 0x%08llx  addrrange: 0x%04llx"
325@ MSG_UNW_FDEAXVAL	"   Auxiliary vals:"
326@ MSG_UNW_FDEAXSIZE	"      size: 0x%llx"
327@ MSG_UNW_FDEAXLSDA	"    lsda: 0x%llx"
328@ MSG_UNW_FDECFI	"    CallFrameInstructions:"
329@ MSG_UNW_FDEPRE	"      "
330
331@ MSG_UNW_TBLENTRY	"0x%02x "
332
333# Note messages
334
335@ MSG_NOTE_TYPE		"    type   %#x"
336@ MSG_NOTE_NAMESZ	"    namesz %#x:"
337@ MSG_NOTE_DESCSZ	"    descsz %#x:"
338@ MSG_NOTE_DESC		"      desc[%d]\t%s"
339@ MSG_NOTE_TOK		"%2.2x "
340
341# Names of fake sections generated from program header data
342@ MSG_PHDRNAM_CAP		".SUNW_cap(phdr)"
343@ MSG_PHDRNAM_DYN		".dynamic(phdr)"
344@ MSG_PHDRNAM_DYNSTR		".dynstr(phdr)"
345@ MSG_PHDRNAM_DYNSYM		".dynsym(phdr)"
346@ MSG_PHDRNAM_FINIARR		".finiarray(phdr)"
347@ MSG_PHDRNAM_HASH		".hash(phdr)"
348@ MSG_PHDRNAM_INITARR		".initarray(phdr)"
349@ MSG_PHDRNAM_INTERP		".interp(phdr)"
350@ MSG_PHDRNAM_LDYNSYM		".SUNW_ldynsym(phdr)"
351@ MSG_PHDRNAM_MOVE		".move(phdr)"
352@ MSG_PHDRNAM_NOTE		".note(phdr)"
353@ MSG_PHDRNAM_PREINITARR	".preinitarray(phdr)"
354@ MSG_PHDRNAM_REL		".rel(phdr)"
355@ MSG_PHDRNAM_RELA		".rela(phdr)"
356@ MSG_PHDRNAM_SYMINFO		".syminfo(phdr)"
357@ MSG_PHDRNAM_SYMSORT		".SUNW_symsort(phdr)"
358@ MSG_PHDRNAM_TLSSORT		".SUNW_tlssort(phdr)"
359@ MSG_PHDRNAM_UNWIND		".eh_frame_hdr(phdr)"
360@ MSG_PHDRNAM_VER		".SUNW_version(phdr)"
361
362
363# Names of sh_type SHT_* type constants
364
365@ MSG_SHT_NULL			"SHT_NULL"		# 0
366@ MSG_SHT_NULL_ALT1		"null"
367@ MSG_SHT_PROGBITS		"SHT_PROGBITS"		# 1
368@ MSG_SHT_PROGBITS_ALT1		"progbits"
369@ MSG_SHT_SYMTAB		"SHT_SYMTAB"		# 2
370@ MSG_SHT_SYMTAB_ALT1		"symtab"
371@ MSG_SHT_STRTAB		"SHT_STRTAB"		# 3
372@ MSG_SHT_STRTAB_ALT1		"strtab"
373@ MSG_SHT_RELA			"SHT_RELA"		# 4
374@ MSG_SHT_RELA_ALT1		"rela"
375@ MSG_SHT_HASH			"SHT_HASH"		# 5
376@ MSG_SHT_HASH_ALT1		"hash"
377@ MSG_SHT_DYNAMIC		"SHT_DYNAMIC"		# 6
378@ MSG_SHT_DYNAMIC_ALT1		"dynamic"
379@ MSG_SHT_NOTE			"SHT_NOTE"		# 7
380@ MSG_SHT_NOTE_ALT1		"note"
381@ MSG_SHT_NOBITS		"SHT_NOBITS"		# 8
382@ MSG_SHT_NOBITS_ALT1		"nobits"
383@ MSG_SHT_REL			"SHT_REL"		# 9
384@ MSG_SHT_REL_ALT1		"rel"
385@ MSG_SHT_SHLIB			"SHT_SHLIB"		# 10
386@ MSG_SHT_SHLIB_ALT1		"shlib"
387@ MSG_SHT_DYNSYM		"SHT_DYNSYM"		# 11
388@ MSG_SHT_DYNSYM_ALT1		"dynsym"
389@ MSG_SHT_INIT_ARRAY		"SHT_INIT_ARRAY"	# 14
390@ MSG_SHT_INIT_ARRAY_ALT1	"init_array"
391@ MSG_SHT_FINI_ARRAY		"SHT_FINI_ARRAY"	# 15
392@ MSG_SHT_FINI_ARRAY_ALT1	"fini_array"
393@ MSG_SHT_PREINIT_ARRAY		"SHT_PREINIT_ARRAY"	# 16
394@ MSG_SHT_PREINIT_ARRAY_ALT1	"preinit_ARRAY"
395@ MSG_SHT_GROUP			"SHT_GROUP"		# 17
396@ MSG_SHT_GROUP_ALT1		"group"
397@ MSG_SHT_SYMTAB_SHNDX		"SHT_SYMTAB_SHNDX"	# 18
398@ MSG_SHT_SYMTAB_SHNDX_ALT1	"symtab_shndx"
399@ MSG_SHT_SUNW_SYMSORT		"SHT_SUNW_symsort"	# 0x6ffffff1
400@ MSG_SHT_SUNW_SYMSORT_ALT1	"sunw_symsort"
401@ MSG_SHT_SUNW_TLSSORT		"SHT_SUNW_tlssort"	# 0x6ffffff2
402@ MSG_SHT_SUNW_TLSSORT_ALT1	"sunw_tlssort"
403@ MSG_SHT_SUNW_LDYNSYM		"SHT_SUNW_LDYNSYM"	# 0x6ffffff3
404@ MSG_SHT_SUNW_LDYNSYM_ALT1	"sunw_ldynsym"
405@ MSG_SHT_SUNW_DOF		"SHT_SUNW_dof"		# 0x6ffffff4
406@ MSG_SHT_SUNW_DOF_ALT1		"sunw_dof"
407@ MSG_SHT_SUNW_CAP		"SHT_SUNW_cap"		# 0x6ffffff5
408@ MSG_SHT_SUNW_CAP_ALT1		"sunw_cap"
409@ MSG_SHT_SUNW_SIGNATURE	"SHT_SUNW_SIGNATURE"	# 0x6ffffff6
410@ MSG_SHT_SUNW_SIGNATURE_ALT1	"sunw_signature"
411@ MSG_SHT_SUNW_ANNOTATE		"SHT_SUNW_ANNOTATE"	# 0x6ffffff7
412@ MSG_SHT_SUNW_ANNOTATE_ALT1	"sunw_annotate"
413@ MSG_SHT_SUNW_DEBUGSTR		"SHT_SUNW_DEBUGSTR"	# 0x6ffffff8
414@ MSG_SHT_SUNW_DEBUGSTR_ALT1	"sunw_debugstr"
415@ MSG_SHT_SUNW_DEBUG		"SHT_SUNW_DEBUG"	# 0x6ffffff9
416@ MSG_SHT_SUNW_DEBUG_ALT1	"sunw_debug"
417@ MSG_SHT_SUNW_MOVE		"SHT_SUNW_move"		# 0x6ffffffa
418@ MSG_SHT_SUNW_MOVE_ALT1	"sunw_move"
419@ MSG_SHT_SUNW_COMDAT		"SHT_SUNW_COMDAT"	# 0x6ffffffb
420@ MSG_SHT_SUNW_COMDAT_ALT1	"sunw_comdat"
421@ MSG_SHT_SUNW_SYMINFO		"SHT_SUNW_syminfo"	# 0x6ffffffc
422@ MSG_SHT_SUNW_SYMINFO_ALT1	"sunw_syminfo"
423@ MSG_SHT_SUNW_VERDEF		"SHT_SUNW_verdef"	# 0x6ffffffd
424@ MSG_SHT_SUNW_VERDEF_ALT1	"sunw_verdef"
425@ MSG_SHT_GNU_VERDEF		"SHT_GNU_verdef"	# 0x6ffffffd
426@ MSG_SHT_GNU_VERDEF_ALT1	"gnu_verdef"
427@ MSG_SHT_SUNW_VERNEED		"SHT_SUNW_verneed"	# 0x6ffffffe
428@ MSG_SHT_SUNW_VERNEED_ALT1	"sunw_verneed"
429@ MSG_SHT_GNU_VERNEED		"SHT_GNU_verneed"	# 0x6ffffffe
430@ MSG_SHT_GNU_VERNEED_ALT1	"gnu_verneed"
431@ MSG_SHT_SUNW_VERSYM		"SHT_SUNW_versym"	# 0x6fffffff
432@ MSG_SHT_SUNW_VERSYM_ALT1	"sunw_versym"
433@ MSG_SHT_GNU_VERSYM		"SHT_GNU_versym"	# 0x6fffffff
434@ MSG_SHT_GNU_VERSYM_ALT1	"gnu_versym"
435@ MSG_SHT_SPARC_GOTDATA		"SHT_SPARC_GOTDATA"	# 0x7000000
436@ MSG_SHT_SPARC_GOTDATA_ALT1	"sparc_gotdata"
437@ MSG_SHT_AMD64_UNWIND		"SHT_AMD64_UNWIND"	# 0x7000000
438@ MSG_SHT_AMD64_UNWIND_ALT1	"amd64_unwind"
439
440
441# Program header PT_ segment types
442
443@ MSG_PT_NULL			"PT_NULL"		# 0
444@ MSG_PT_NULL_ALT1		"null"
445@ MSG_PT_LOAD			"PT_LOAD"		# 1
446@ MSG_PT_LOAD_ALT1		"load"
447@ MSG_PT_DYNAMIC		"PT_DYNAMIC"		# 2
448@ MSG_PT_DYNAMIC_ALT1		"dynamic"
449@ MSG_PT_INTERP			"PT_INTERP"		# 3
450@ MSG_PT_INTERP_ALT1		"interp"
451@ MSG_PT_NOTE			"PT_NOTE"		# 4
452@ MSG_PT_NOTE_ALT1		"note"
453@ MSG_PT_SHLIB			"PT_SHLIB"		# 5
454@ MSG_PT_SHLIB_ALT1		"shlib"
455@ MSG_PT_PHDR			"PT_PHDR"		# 6
456@ MSG_PT_PHDR_ALT1		"phdr"
457@ MSG_PT_TLS			"PT_TLS"		# 7
458@ MSG_PT_TLS_ALT1		"tls"
459@ MSG_PT_SUNW_UNWIND		"PT_SUNW_UNWIND"	# 0x6464e550
460@ MSG_PT_SUNW_UNWIND_ALT1	"sunw_unwind"
461@ MSG_PT_SUNWBSS		"PT_SUNWBSS"		# 0x6ffffffa
462@ MSG_PT_SUNWBSS_ALT1		"sunwbss"
463@ MSG_PT_SUNWSTACK		"PT_SUNWSTACK"		# 0x6ffffffb
464@ MSG_PT_SUNWSTACK_ALT1		"sunwstack"
465@ MSG_PT_SUNWDTRACE		"PT_SUNWDTRACE"		# 0x6ffffffc
466@ MSG_PT_SUNWDTRACE_ALT1	"sunwdtrace"
467@ MSG_PT_SUNWCAP		"PT_SUNWCAP"		# 0x6ffffffd
468@ MSG_PT_SUNWCAP_ALT1		"sunwcap"
469