xref: /titanic_41/usr/src/cmd/sgs/libelf/common/libelf.msg (revision 7a286c471efbab8562f7655a82931904703fffe0)
1#
2# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License (the "License").
9# You may not use this file except in compliance with the License.
10#
11# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12# or http://www.opensolaris.org/os/licensing.
13# See the License for the specific language governing permissions
14# and limitations under the License.
15#
16# When distributing Covered Code, include this CDDL HEADER in each
17# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18# If applicable, add the following below this CDDL HEADER, with the
19# fields enclosed by brackets "[]" replaced with your own identifying
20# information: Portions Copyright [yyyy] [name of copyright owner]
21#
22# CDDL HEADER END
23#
24#ident	"%Z%%M%	%I%	%E% SMI"
25
26
27@ _START_
28
29# Message file for cmd/sgs/libelf.
30
31@ MSG_ID_LIBELF
32
33
34# Null Error
35
36@ EINF_NULLERROR	"Elf error 0"
37
38
39# BUG	bug	Internal error
40
41@ EBUG_COOKSTAT		"Internal error: cook status"
42@ EBUG_COOKTYPE		"Internal error: cook data type"
43@ EBUG_SCNLIST		"Internal error: broken section list"
44@ EBUG_THRDKEY		"Internal error: thr_keycreate() failed. \
45			 Unable to allocate error buffer"
46@ EBUG_THRDSET		"Internal error: thr_setspecific failed. \
47			 Unable to create TSD for error message."
48
49
50# FMT	fmt	Format error
51
52@ EFMT_ARFMAG		"Format error: archive fmag"
53@ EFMT_ARHDRSZ		"Format error: archive header truncated"
54@ EFMT_ARMEMSZ		"Format error: archive member truncated"
55@ EFMT_ARSYM		"Format error: archive symtab truncated"
56@ EFMT_ARSYMSTR		"Format error: archive symtab strings"
57@ EFMT_ARSYMSZ		"Format error: archive symtab size"
58@ EFMT_DATA		"Format error: data region truncated"
59@ EFMT_EHDRSZ		"Format error: ehdr size"
60@ EFMT_ENTSZ		"Format error: shdr entry size"
61@ EFMT_PHDRSZ		"Format error: phdr entry size"
62@ EFMT_PHTAB		"Format error: phdr table truncated"
63@ EFMT_SCNSZ		"Format error: section sh_size too small for data"
64@ EFMT_SHDRSZ		"Format error: shdr entry size"
65@ EFMT_SHTAB		"Format error: shdr table truncated"
66@ EFMT_VER2		"Format error: ehdr EI_VERSION/e_version mismatch"
67@ EFMT_VM		"Format error: reference outside file"
68@ EFMT_FBIG_CLASS32	"Format error: file size exceeds 4GB 32-bit limit"
69@ EFMT_FBIG_LARGEFILE	"Format error: file size exceeds 2GB limit of 32-bit \
70			 linker. 64-bit linker is recommended."
71
72@ EFMT_ARSTRNM		"Format error: archive strtab name"
73@ EFMT_ARUNKNM		"Format error: archive special name unknown"
74
75# IO	io	I/O error
76
77@ EIO_FBIG		"I/O error: file too big for memory"
78@ EIO_FSZ		"I/O error: get file size"
79@ EIO_READ		"I/O error: raw read"
80@ EIO_SEEK		"I/O error: seek"
81@ EIO_SYNC		"I/O error: output msync"
82@ EIO_VM		"I/O error: region read"
83@ EIO_WRITE		"I/O error: output write"
84
85
86# MEM	mem	Memory error
87
88@ EMEM_ARMEM		"Memory allocation error: archive member header"
89@ EMEM_ARSTR		"Memory allocation error: archive long file name \
90			 strings"
91@ EMEM_ARSYM		"Memory allocation error: archive symtab"
92@ EMEM_DATA		"Memory allocation error: section data"
93@ EMEM_DNODE		"Memory allocation error: data node"
94@ EMEM_EHDR		"Memory allocation error: ehdr"
95@ EMEM_ELF		"Memory allocation error: elf descriptor"
96@ EMEM_OUT		"Memory allocation error: output file space"
97@ EMEM_PHDR		"Memory allocation error: phdr table"
98@ EMEM_SCN		"Memory allocation error: scn descriptors"
99@ EMEM_SHDR		"Memory allocation error: shdr table"
100@ EMEM_SNODE		"Memory allocation error: section node"
101@ EMEM_VM		"Memory allocation error: vm stats"
102@ EMEM_ERRMSG		"Memory allocation error: during errmsg generation"
103
104
105# REQ	req	Request error
106
107@ EREQ_AR		"Request error: not archive"
108@ EREQ_ARMEMFD		"Request error: archive/member fildes mismatch"
109@ EREQ_ARRDWR		"Request error: archive/member begin() for writing"
110@ EREQ_BEGIN		"Request error: begin() ELF_C_..."
111@ EREQ_CLASS		"Request error: class file/memory mismatch"
112@ EREQ_CNTLCMD		"Request error: cntl() ELF_C_..."
113@ EREQ_CNTLWRT		"Request error: cntl() ELF_C_FD... on output file"
114@ EREQ_DATA		"Request error: data/scn mismatch"
115@ EREQ_ENCODE		"Request error: unknown data encoding"
116@ EREQ_FLAG		"Request error: flag() ELF_C_..."
117@ EREQ_NDX		"Request error: no section at index"
118@ EREQ_NOFD		"Request error: file descriptor disabled"
119@ EREQ_RAND		"Request error: offset out of range"
120@ EREQ_RDWR		"Request error: begin() ELF_C_... mismatch with parent"
121@ EREQ_SCNNULL		"Request error: can't manipulate null section"
122@ EREQ_STROFF		"Request error: string offset out of range"
123@ EREQ_STRSCN		"Request error: no string table"
124@ EREQ_UPDATE		"Request error: update() ELF_C_..."
125@ EREQ_UPDWRT		"Request error: update() for write on read-only file"
126@ EREQ_VER		"Request error: unknown version"
127@ EREQ_NOWRIMAGE	"Request error: update(WRIMAGE) not performed on parent"
128
129@ EREQ_DSZ		"Request error: destination too small"
130@ EREQ_TYPE		"Request error: unknown ELF_T_..."
131
132#  SEQ	seq	Sequence error
133
134@ ESEQ_EHDR		"Sequence error: ehdr not created"
135@ ESEQ_VER		"Sequence error: version not set"
136
137
138@ _END_
139
140
141# The following strings represent reserved names.  Reference to these strings
142# is via the MSG_ORIG() macro, and thus translations are required.
143
144@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
145
146
147# System error format
148
149@ MSG_FMT_ERR		"%s: %s"
150