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