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