xref: /illumos-gate/usr/src/cmd/sgs/elfdump/common/elfdump.msg (revision 1d9df23bbf4124f12ca7832d6eaaa600e0aa8eda)
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# 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: index[%d]: bad symbol entry: %s: must be SHN_COMMON or \
96			 defined in SHT_NOBITS section\n"
97@ MSG_ERR_BADSYM3	"%s: %s: index[%d]: bad symbol entry: %s: must be defined in \
98			 a SHF_TLS section\n"
99@ MSG_ERR_BADSYM4	"%s: %s: index[%d]: bad symbol entry: %s: must be defined in \
100			 a non-SHF_TLS section\n"
101@ MSG_ERR_BADSYM5	"%s: %s: index[%d]: bad symbol entry: %s: \
102			 invalid shndx: %d\n"
103@ MSG_ERR_BADSYM6	"%s: %s: index[%d]: bad symbol entry: %s: section[%d] \
104			 size: %#llx: symbol (address %#llx, size %#llx) \
105			 lies outside of containing section\n"
106@ MSG_ERR_BADSYM7	"%s: %s: index[%d]: suspicious global symbol entry: %s: lies \
107			 within local symbol range (index < %lld)\n"
108@ MSG_ERR_BADSYM8	"%s: %s: index[%d]: suspicious local symbol entry: %s: lies \
109			 within global symbol range (index >= %lld)\n"
110
111@ MSG_ERR_RELBADSYMNDX	"%s: bad symbol reference %d: from relocation \
112			 entry: %d\n"
113@ MSG_ERR_HSBADSYMNDX	"%s: bad symbol reference %d: from hash entry: %d\n"
114@ MSG_ERR_BADSYMXINDEX1	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
115			 SHT_SYMTAB_SHNDX section truncated: no entry for this \
116			 symbol\n"
117@ MSG_ERR_BADSYMXINDEX2	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
118			 bad SHT_SYMTAB_SHNDX entry: invalid shndx: 0x%x\n"
119@ MSG_ERR_BADSYMXINDEX3	"%s: %s: index[%d]: invalid SHN_XINDEX reference: \
120			 SHT_SYMTAB_SHNDX section not found\n"
121
122@ MSG_ERR_BADSTOFF	"%s: %s: index[%d]: bad %s offset: 0x%x: max 0x%x\n"
123@ MSG_ERR_BADSZ		"%s: %s: zero size or zero entry size information\n"
124@ MSG_ERR_BADMINFO	"%s: %s: invalid m_info: 0x%llx\n"
125@ MSG_ERR_BADHASH	"%s: %s: bad hash entry: symbol %s: exists in bucket \
126			 %d, should be bucket %ld\n"
127@ MSG_ERR_NODYNSYM	"%s: %s: associated SHT_DYNSYM section not found\n"
128@ MSG_ERR_BADNDXSEC	"%s: %s: unexpected section type associated with \
129			 index section: %s\n"
130@ MSG_ERR_BADSORTNDX	"%s: %s: sort section has bad symbol index: %d\n"
131@ MSG_ERR_BADVER	"%s: %s: index[%d]: version %d is out of range: \
132			 version definitions available: 0-%d\n"
133@ MSG_ERR_NOTSTRTAB	"%s: section[%d] is not a string table as expected \
134			 by section[%d]\n";
135
136@ MSG_ERR_LDYNNOTADJ	"%s: bad dynamic symbol table layout: %s and %s \
137			 sections are not adjacent\n"
138@ MSG_ERR_SECMEMOVER	"%s: memory overlap between section[%d]: %s: %llx:%llx \
139			 and section[%d]: %s: %llx:%llx\n"
140@ MSG_ERR_SHDRMEMOVER	"%s: memory overlap between section header table: \
141			 %llx:%llx and section[%d]: %s: %llx:%llx\n"
142@ MSG_ERR_MULTDYN	"%s: %d dynamic sections seen (1 expected)\n"
143@ MSG_ERR_DYNNOBCKSEC	"%s: object lacks %s section required by DT_%s dynamic \
144			 entry\n"
145@ MSG_ERR_DYNBADADDR	"%s: DT_%s (%#llx) does not match \
146			 shdr[%d: %s].sh_addr (%#llx)\n"
147@ MSG_ERR_DYNBADSIZE	"%s: DT_%s (%#llx) does not match \
148			 shdr[%d: %s].sh_size (%#llx)\n"
149@ MSG_ERR_DYNBADENTSIZE	"%s: DT_%s (%#llx) does not match \
150			 shdr[%d: %s].sh_entsize (%#llx)\n"
151@ MSG_ERR_DYNSYMVAL	"%s: %s: symbol value does not match \
152			 DT_%s entry: %s: value: %#llx\n"
153
154@ MSG_WARN_INVINTERP1	"%s: PT_INTERP header has no associated section\n"
155@ MSG_WARN_INVINTERP2	"%s: interp section: %s: and PT_INTERP program \
156			 header have conflicting size or offsets\n"
157@ MSG_WARN_INVCAP1	"%s: PT_SUNWCAP header has no associated section\n"
158@ MSG_WARN_INVCAP2	"%s: capabilities section: %s: requires PT_CAP program \
159			 header\n"
160@ MSG_WARN_INVCAP3	"%s: capabilities section: %s: and PT_CAP program \
161			 header have conflicting size or offsets\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	"%.12s (section)"
208@ MSG_STR_L_SECTION	"%s (section)"
209@ MSG_STR_CHECKSUM	"elf checksum: 0x%lx"
210
211@ MSG_FMT_SCNNDX	"section[%d]"
212
213@ MSG_ERR_MALLOC	"%s: malloc: %s\n"
214@ MSG_ERR_OPEN		"%s: open: %s\n"
215@ MSG_ERR_READ		"%s: read: %s\n"
216@ MSG_ERR_WRITE		"%s: write: %s\n"
217@ MSG_ERR_BAD_T_SHT	"%s: unrecognized section header type: %s\n"
218@ MSG_ERR_BAD_T_PT	"%s: unrecognized program header type: %s\n"
219@ MSG_ERR_AMBIG_MATCH	"%s: ambiguous use of -I, -N, or -T. Remove \
220			 -p option or section selection option(s)\n"
221
222#
223# SHT_MOVE messages
224#
225@ MSG_MOVE_TITLE	"    symndx offset   size repeat stride   \
226			 value               with respect to"
227@ MSG_MOVE_ENTRY	"%10.10s %6lld %6d %6d %6d %#18.18llx  %s"
228
229#
230# SHT_GROUP messages
231#
232@ MSG_GRP_TITLE		"     index    flags / section         signature symbol"
233@ MSG_GRP_SIGNATURE	"       [0]   %-24s %s"
234@ MSG_GRP_INVALSCN	"<invalid section>"
235
236#
237# SHT_NOTE messages
238#
239@ MSG_NOTE_BADDATASZ	"%s: %s: note header exceeds section size. \
240			 offset: 0x%x\n"
241@ MSG_NOTE_BADNMSZ	"%s: %s: note name value exceeds section size. \
242			 offset: 0x%x namesize: 0x%x\n"
243@ MSG_NOTE_BADDESZ	"%s: %s: note data size exceeds section size. \
244			 offset: 0x%x datasize: 0x%x\n"
245
246@ _END_
247
248# The following strings represent reserved words, files, pathnames and symbols.
249# Reference to this strings is via the MSG_ORIG() macro, and thus no message
250# translation is required.
251
252@ MSG_STR_OSQBRKT	"["
253@ MSG_STR_CSQBRKT	"]"
254
255@ MSG_GRP_COMDAT	" COMDAT "
256@ MSG_GRP_ENTRY		"%10.10s   %s [%lld]\n"
257@ MSG_GRP_UNKNOWN	" 0x%x "
258
259@ MSG_ELF_GOT		".got"
260@ MSG_ELF_INIT		".init"
261@ MSG_ELF_FINI		".fini"
262@ MSG_ELF_INTERP	".interp"
263
264@ MSG_ELF_GETEHDR	"elf_getehdr"
265@ MSG_ELF_GETPHDR	"elf_getphdr"
266@ MSG_ELF_GETSHDR	"elf_getshdr"
267@ MSG_ELF_GETSCN	"elf_getscn"
268@ MSG_ELF_GETDATA	"elf_getdata"
269@ MSG_ELF_GETARHDR	"elf_getarhdr"
270@ MSG_ELF_GETARSYM	"elf_getarsym"
271@ MSG_ELF_RAND		"elf_rand"
272@ MSG_ELF_BEGIN		"elf_begin"
273@ MSG_ELF_GETPHNUM	"elf_getphnum"
274@ MSG_ELF_GETSHNUM	"elf_getshnum"
275@ MSG_ELF_GETSHSTRNDX	"elf_getshstrndx"
276@ MSG_ELF_XLATETOM	"elf_xlatetom"
277@ MSG_ELF_ARSYM		"ARSYM"
278
279@ MSG_SYM_INIT		"_init"
280@ MSG_SYM_FINI		"_fini"
281@ MSG_SYM_GOT		"_GLOBAL_OFFSET_TABLE_"
282
283@ MSG_STR_OPTIONS	"CcdeGgHhiI:klmN:nPprSsT:uvw:y"
284
285@ MSG_STR_EMPTY		""
286
287@ MSG_FMT_INDENT	"	%s"
288@ MSG_FMT_INDEX		" [%lld]"
289@ MSG_FMT_INDEX2	"[%d]"
290@ MSG_FMT_INTEGER	" %d"
291@ MSG_FMT_HASH_INFO	"%10.10s  %-10s  %s"
292@ MSG_FMT_ARSYM1	"%10.10s  0x%8.8x  (%s):%s"
293@ MSG_FMT_ARSYM2	"%10.10s  0x%8.8x"
294@ MSG_FMT_ARNAME	"%s(%s)"
295@ MSG_FMT_NLSTR		"\n%s:"
296@ MSG_FMT_NLSTRNL	"\n%s:\n"
297
298@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
299
300# Unwind info
301
302@ MSG_SCN_FRM		".eh_frame"
303@ MSG_SCN_FRMHDR	".eh_frame_hdr"
304
305@ MSG_UNW_FRMHDR	"Frame Header:"
306@ MSG_UNW_FRMVERS	"  Version: %d"
307@ MSG_UNW_FRPTRENC	"  FramePtrEnc: %-20s  FramePtr: 0x%llx"
308@ MSG_UNW_FDCNENC	"  FdeCntEnc:   %-20s  FdeCnt: %lld"
309@ MSG_UNW_TABENC	"  TableEnc:    %-20s"
310@ MSG_UNW_BINSRTAB1	"  Binary Search Table:"
311@ MSG_UNW_BINSRTAB2	"      InitialLoc          FdeLoc"
312@ MSG_UNW_BINSRTABENT	"    0x%016llx  0x%016llx"
313@ MSG_UNW_CIE		"CIE: [0x%08llx]"
314@ MSG_UNW_CIELNGTH	" length: 0x%02x cieid: %d"
315@ MSG_UNW_CIEVERS	" version: %d  augstring: `%s'"
316@ MSG_UNW_CIECALGN	" codealign: 0x%llx  dataalign: %lld  \
317			  retaddr: %d"
318@ MSG_UNW_CIEAXVAL	" Auxiliary vals:"
319@ MSG_UNW_CIEAXSIZ	"   size: %d"
320@ MSG_UNW_CIEAXPERS	"   pers: 0x%02x %s 0x%08llx"
321@ MSG_UNW_CIEAXCENC	"   cenc: 0x%02x %s"
322@ MSG_UNW_CIEAXLSDA	"   lsda: 0x%02x %s"
323@ MSG_UNW_CIEAXUNEC	"   Unexpected aug val: %c"
324@ MSG_UNW_CIECFI	" CallFrameInstructions:"
325@ MSG_UNW_CIEPRE	"   "
326
327@ MSG_UNW_FDE		" FDE: [0x%08llx]"
328@ MSG_UNW_FDELNGTH	"    length: 0x%02x  cieptr: 0x%02x"
329@ MSG_UNW_FDEINITLOC	"    initloc: 0x%08llx  addrrange: 0x%04llx"
330@ MSG_UNW_FDEAXVAL	"   Auxiliary vals:"
331@ MSG_UNW_FDEAXSIZE	"      size: 0x%llx"
332@ MSG_UNW_FDEAXLSDA	"    lsda: 0x%llx"
333@ MSG_UNW_FDECFI	"    CallFrameInstructions:"
334@ MSG_UNW_FDEPRE	"      "
335
336@ MSG_UNW_TBLENTRY	"0x%02x "
337
338# Note messages
339
340@ MSG_NOTE_TYPE		"    type   %#x"
341@ MSG_NOTE_NAMESZ	"    namesz %#x:"
342@ MSG_NOTE_DESCSZ	"    descsz %#x:"
343@ MSG_NOTE_DESC		"      desc[%d]\t%s"
344@ MSG_NOTE_TOK		"%2.2x "
345
346# Names of fake sections generated from program header data
347@ MSG_PHDRNAM_CAP		".SUNW_cap(phdr)"
348@ MSG_PHDRNAM_DYN		".dynamic(phdr)"
349@ MSG_PHDRNAM_DYNSTR		".dynstr(phdr)"
350@ MSG_PHDRNAM_DYNSYM		".dynsym(phdr)"
351@ MSG_PHDRNAM_FINIARR		".finiarray(phdr)"
352@ MSG_PHDRNAM_HASH		".hash(phdr)"
353@ MSG_PHDRNAM_INITARR		".initarray(phdr)"
354@ MSG_PHDRNAM_INTERP		".interp(phdr)"
355@ MSG_PHDRNAM_LDYNSYM		".SUNW_ldynsym(phdr)"
356@ MSG_PHDRNAM_MOVE		".move(phdr)"
357@ MSG_PHDRNAM_NOTE		".note(phdr)"
358@ MSG_PHDRNAM_PREINITARR	".preinitarray(phdr)"
359@ MSG_PHDRNAM_REL		".rel(phdr)"
360@ MSG_PHDRNAM_RELA		".rela(phdr)"
361@ MSG_PHDRNAM_SYMINFO		".syminfo(phdr)"
362@ MSG_PHDRNAM_SYMSORT		".SUNW_symsort(phdr)"
363@ MSG_PHDRNAM_TLSSORT		".SUNW_tlssort(phdr)"
364@ MSG_PHDRNAM_UNWIND		".eh_frame_hdr(phdr)"
365@ MSG_PHDRNAM_VER		".SUNW_version(phdr)"
366
367
368# Names of sh_type SHT_* type constants
369
370@ MSG_SHT_NULL			"SHT_NULL"		# 0
371@ MSG_SHT_NULL_ALT1		"null"
372@ MSG_SHT_PROGBITS		"SHT_PROGBITS"		# 1
373@ MSG_SHT_PROGBITS_ALT1		"progbits"
374@ MSG_SHT_SYMTAB		"SHT_SYMTAB"		# 2
375@ MSG_SHT_SYMTAB_ALT1		"symtab"
376@ MSG_SHT_STRTAB		"SHT_STRTAB"		# 3
377@ MSG_SHT_STRTAB_ALT1		"strtab"
378@ MSG_SHT_RELA			"SHT_RELA"		# 4
379@ MSG_SHT_RELA_ALT1		"rela"
380@ MSG_SHT_HASH			"SHT_HASH"		# 5
381@ MSG_SHT_HASH_ALT1		"hash"
382@ MSG_SHT_DYNAMIC		"SHT_DYNAMIC"		# 6
383@ MSG_SHT_DYNAMIC_ALT1		"dynamic"
384@ MSG_SHT_NOTE			"SHT_NOTE"		# 7
385@ MSG_SHT_NOTE_ALT1		"note"
386@ MSG_SHT_NOBITS		"SHT_NOBITS"		# 8
387@ MSG_SHT_NOBITS_ALT1		"nobits"
388@ MSG_SHT_REL			"SHT_REL"		# 9
389@ MSG_SHT_REL_ALT1		"rel"
390@ MSG_SHT_SHLIB			"SHT_SHLIB"		# 10
391@ MSG_SHT_SHLIB_ALT1		"shlib"
392@ MSG_SHT_DYNSYM		"SHT_DYNSYM"		# 11
393@ MSG_SHT_DYNSYM_ALT1		"dynsym"
394@ MSG_SHT_INIT_ARRAY		"SHT_INIT_ARRAY"	# 14
395@ MSG_SHT_INIT_ARRAY_ALT1	"init_array"
396@ MSG_SHT_FINI_ARRAY		"SHT_FINI_ARRAY"	# 15
397@ MSG_SHT_FINI_ARRAY_ALT1	"fini_array"
398@ MSG_SHT_PREINIT_ARRAY		"SHT_PREINIT_ARRAY"	# 16
399@ MSG_SHT_PREINIT_ARRAY_ALT1	"preinit_ARRAY"
400@ MSG_SHT_GROUP			"SHT_GROUP"		# 17
401@ MSG_SHT_GROUP_ALT1		"group"
402@ MSG_SHT_SYMTAB_SHNDX		"SHT_SYMTAB_SHNDX"	# 18
403@ MSG_SHT_SYMTAB_SHNDX_ALT1	"symtab_shndx"
404@ MSG_SHT_SUNW_SYMSORT		"SHT_SUNW_symsort"	# 0x6ffffff1
405@ MSG_SHT_SUNW_SYMSORT_ALT1	"sunw_symsort"
406@ MSG_SHT_SUNW_TLSSORT		"SHT_SUNW_tlssort"	# 0x6ffffff2
407@ MSG_SHT_SUNW_TLSSORT_ALT1	"sunw_tlssort"
408@ MSG_SHT_SUNW_LDYNSYM		"SHT_SUNW_LDYNSYM"	# 0x6ffffff3
409@ MSG_SHT_SUNW_LDYNSYM_ALT1	"sunw_ldynsym"
410@ MSG_SHT_SUNW_DOF		"SHT_SUNW_dof"		# 0x6ffffff4
411@ MSG_SHT_SUNW_DOF_ALT1		"sunw_dof"
412@ MSG_SHT_SUNW_CAP		"SHT_SUNW_cap"		# 0x6ffffff5
413@ MSG_SHT_SUNW_CAP_ALT1		"sunw_cap"
414@ MSG_SHT_SUNW_SIGNATURE	"SHT_SUNW_SIGNATURE"	# 0x6ffffff6
415@ MSG_SHT_SUNW_SIGNATURE_ALT1	"sunw_signature"
416@ MSG_SHT_SUNW_ANNOTATE		"SHT_SUNW_ANNOTATE"	# 0x6ffffff7
417@ MSG_SHT_SUNW_ANNOTATE_ALT1	"sunw_annotate"
418@ MSG_SHT_SUNW_DEBUGSTR		"SHT_SUNW_DEBUGSTR"	# 0x6ffffff8
419@ MSG_SHT_SUNW_DEBUGSTR_ALT1	"sunw_debugstr"
420@ MSG_SHT_SUNW_DEBUG		"SHT_SUNW_DEBUG"	# 0x6ffffff9
421@ MSG_SHT_SUNW_DEBUG_ALT1	"sunw_debug"
422@ MSG_SHT_SUNW_MOVE		"SHT_SUNW_move"		# 0x6ffffffa
423@ MSG_SHT_SUNW_MOVE_ALT1	"sunw_move"
424@ MSG_SHT_SUNW_COMDAT		"SHT_SUNW_COMDAT"	# 0x6ffffffb
425@ MSG_SHT_SUNW_COMDAT_ALT1	"sunw_comdat"
426@ MSG_SHT_SUNW_SYMINFO		"SHT_SUNW_syminfo"	# 0x6ffffffc
427@ MSG_SHT_SUNW_SYMINFO_ALT1	"sunw_syminfo"
428@ MSG_SHT_SUNW_VERDEF		"SHT_SUNW_verdef"	# 0x6ffffffd
429@ MSG_SHT_SUNW_VERDEF_ALT1	"sunw_verdef"
430@ MSG_SHT_GNU_VERDEF		"SHT_GNU_verdef"	# 0x6ffffffd
431@ MSG_SHT_GNU_VERDEF_ALT1	"gnu_verdef"
432@ MSG_SHT_SUNW_VERNEED		"SHT_SUNW_verneed"	# 0x6ffffffe
433@ MSG_SHT_SUNW_VERNEED_ALT1	"sunw_verneed"
434@ MSG_SHT_GNU_VERNEED		"SHT_GNU_verneed"	# 0x6ffffffe
435@ MSG_SHT_GNU_VERNEED_ALT1	"gnu_verneed"
436@ MSG_SHT_SUNW_VERSYM		"SHT_SUNW_versym"	# 0x6fffffff
437@ MSG_SHT_SUNW_VERSYM_ALT1	"sunw_versym"
438@ MSG_SHT_GNU_VERSYM		"SHT_GNU_versym"	# 0x6fffffff
439@ MSG_SHT_GNU_VERSYM_ALT1	"gnu_versym"
440@ MSG_SHT_SPARC_GOTDATA		"SHT_SPARC_GOTDATA"	# 0x7000000
441@ MSG_SHT_SPARC_GOTDATA_ALT1	"sparc_gotdata"
442@ MSG_SHT_AMD64_UNWIND		"SHT_AMD64_UNWIND"	# 0x7000000
443@ MSG_SHT_AMD64_UNWIND_ALT1	"amd64_unwind"
444
445
446# Program header PT_ segment types
447
448@ MSG_PT_NULL			"PT_NULL"		# 0
449@ MSG_PT_NULL_ALT1		"null"
450@ MSG_PT_LOAD			"PT_LOAD"		# 1
451@ MSG_PT_LOAD_ALT1		"load"
452@ MSG_PT_DYNAMIC		"PT_DYNAMIC"		# 2
453@ MSG_PT_DYNAMIC_ALT1		"dynamic"
454@ MSG_PT_INTERP			"PT_INTERP"		# 3
455@ MSG_PT_INTERP_ALT1		"interp"
456@ MSG_PT_NOTE			"PT_NOTE"		# 4
457@ MSG_PT_NOTE_ALT1		"note"
458@ MSG_PT_SHLIB			"PT_SHLIB"		# 5
459@ MSG_PT_SHLIB_ALT1		"shlib"
460@ MSG_PT_PHDR			"PT_PHDR"		# 6
461@ MSG_PT_PHDR_ALT1		"phdr"
462@ MSG_PT_TLS			"PT_TLS"		# 7
463@ MSG_PT_TLS_ALT1		"tls"
464@ MSG_PT_SUNW_UNWIND		"PT_SUNW_UNWIND"	# 0x6464e550
465@ MSG_PT_SUNW_UNWIND_ALT1	"sunw_unwind"
466@ MSG_PT_SUNWBSS		"PT_SUNWBSS"		# 0x6ffffffa
467@ MSG_PT_SUNWBSS_ALT1		"sunwbss"
468@ MSG_PT_SUNWSTACK		"PT_SUNWSTACK"		# 0x6ffffffb
469@ MSG_PT_SUNWSTACK_ALT1		"sunwstack"
470@ MSG_PT_SUNWDTRACE		"PT_SUNWDTRACE"		# 0x6ffffffc
471@ MSG_PT_SUNWDTRACE_ALT1	"sunwdtrace"
472@ MSG_PT_SUNWCAP		"PT_SUNWCAP"		# 0x6ffffffd
473@ MSG_PT_SUNWCAP_ALT1		"sunwcap"
474