xref: /onnv-gate/usr/src/cmd/sgs/libelf/common/libelf.msg (revision 6223:30d6740da48d)
10Sstevel@tonic-gate#
2*6223Sab196087# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
30Sstevel@tonic-gate# Use is subject to license terms.
40Sstevel@tonic-gate#
50Sstevel@tonic-gate# CDDL HEADER START
60Sstevel@tonic-gate#
70Sstevel@tonic-gate# The contents of this file are subject to the terms of the
8*6223Sab196087# Common Development and Distribution License (the "License").
9*6223Sab196087# You may not use this file except in compliance with the License.
100Sstevel@tonic-gate#
110Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
120Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
130Sstevel@tonic-gate# See the License for the specific language governing permissions
140Sstevel@tonic-gate# and limitations under the License.
150Sstevel@tonic-gate#
160Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
170Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
180Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
190Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
200Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
210Sstevel@tonic-gate#
220Sstevel@tonic-gate# CDDL HEADER END
230Sstevel@tonic-gate#
240Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
250Sstevel@tonic-gate
260Sstevel@tonic-gate
270Sstevel@tonic-gate@ _START_
280Sstevel@tonic-gate
290Sstevel@tonic-gate# Message file for cmd/sgs/libelf.
300Sstevel@tonic-gate
310Sstevel@tonic-gate@ MSG_ID_LIBELF
320Sstevel@tonic-gate
330Sstevel@tonic-gate
340Sstevel@tonic-gate# Null Error
350Sstevel@tonic-gate
360Sstevel@tonic-gate@ EINF_NULLERROR	"Elf error 0"
370Sstevel@tonic-gate
380Sstevel@tonic-gate
390Sstevel@tonic-gate# BUG	bug	Internal error
400Sstevel@tonic-gate
410Sstevel@tonic-gate@ EBUG_COOKSTAT		"Internal error: cook status"
420Sstevel@tonic-gate@ EBUG_COOKTYPE		"Internal error: cook data type"
430Sstevel@tonic-gate@ EBUG_SCNLIST		"Internal error: broken section list"
440Sstevel@tonic-gate@ EBUG_THRDKEY		"Internal error: thr_keycreate() failed. \
450Sstevel@tonic-gate			 Unable to allocate error buffer"
460Sstevel@tonic-gate@ EBUG_THRDSET		"Internal error: thr_setspecific failed. \
470Sstevel@tonic-gate			 Unable to create TSD for error message."
480Sstevel@tonic-gate
490Sstevel@tonic-gate
500Sstevel@tonic-gate# FMT	fmt	Format error
510Sstevel@tonic-gate
520Sstevel@tonic-gate@ EFMT_ARFMAG		"Format error: archive fmag"
530Sstevel@tonic-gate@ EFMT_ARHDRSZ		"Format error: archive header truncated"
540Sstevel@tonic-gate@ EFMT_ARMEMSZ		"Format error: archive member truncated"
550Sstevel@tonic-gate@ EFMT_ARSYM		"Format error: archive symtab truncated"
560Sstevel@tonic-gate@ EFMT_ARSYMSTR		"Format error: archive symtab strings"
570Sstevel@tonic-gate@ EFMT_ARSYMSZ		"Format error: archive symtab size"
580Sstevel@tonic-gate@ EFMT_DATA		"Format error: data region truncated"
590Sstevel@tonic-gate@ EFMT_EHDRSZ		"Format error: ehdr size"
600Sstevel@tonic-gate@ EFMT_ENTSZ		"Format error: shdr entry size"
610Sstevel@tonic-gate@ EFMT_PHDRSZ		"Format error: phdr entry size"
620Sstevel@tonic-gate@ EFMT_PHTAB		"Format error: phdr table truncated"
630Sstevel@tonic-gate@ EFMT_SCNSZ		"Format error: section sh_size too small for data"
640Sstevel@tonic-gate@ EFMT_SHDRSZ		"Format error: shdr entry size"
650Sstevel@tonic-gate@ EFMT_SHTAB		"Format error: shdr table truncated"
660Sstevel@tonic-gate@ EFMT_VER2		"Format error: ehdr EI_VERSION/e_version mismatch"
670Sstevel@tonic-gate@ EFMT_VM		"Format error: reference outside file"
68*6223Sab196087@ EFMT_FBIG_CLASS32	"Format error: file size exceeds 4GB 32-bit limit"
69*6223Sab196087@ EFMT_FBIG_LARGEFILE	"Format error: file size exceeds 2GB limit of 32-bit \
70*6223Sab196087			 linker. 64-bit linker is recommended."
710Sstevel@tonic-gate
720Sstevel@tonic-gate@ EFMT_ARSTRNM		"Format error: archive strtab name"
730Sstevel@tonic-gate@ EFMT_ARUNKNM		"Format error: archive special name unknown"
740Sstevel@tonic-gate
750Sstevel@tonic-gate# IO	io	I/O error
760Sstevel@tonic-gate
770Sstevel@tonic-gate@ EIO_FBIG		"I/O error: file too big for memory"
780Sstevel@tonic-gate@ EIO_FSZ		"I/O error: get file size"
790Sstevel@tonic-gate@ EIO_READ		"I/O error: raw read"
800Sstevel@tonic-gate@ EIO_SEEK		"I/O error: seek"
810Sstevel@tonic-gate@ EIO_SYNC		"I/O error: output msync"
820Sstevel@tonic-gate@ EIO_VM		"I/O error: region read"
830Sstevel@tonic-gate@ EIO_WRITE		"I/O error: output write"
840Sstevel@tonic-gate
850Sstevel@tonic-gate
860Sstevel@tonic-gate# MEM	mem	Memory error
870Sstevel@tonic-gate
880Sstevel@tonic-gate@ EMEM_ARMEM		"Memory allocation error: archive member header"
890Sstevel@tonic-gate@ EMEM_ARSTR		"Memory allocation error: archive long file name \
900Sstevel@tonic-gate			 strings"
910Sstevel@tonic-gate@ EMEM_ARSYM		"Memory allocation error: archive symtab"
920Sstevel@tonic-gate@ EMEM_DATA		"Memory allocation error: section data"
930Sstevel@tonic-gate@ EMEM_DNODE		"Memory allocation error: data node"
940Sstevel@tonic-gate@ EMEM_EHDR		"Memory allocation error: ehdr"
950Sstevel@tonic-gate@ EMEM_ELF		"Memory allocation error: elf descriptor"
960Sstevel@tonic-gate@ EMEM_OUT		"Memory allocation error: output file space"
970Sstevel@tonic-gate@ EMEM_PHDR		"Memory allocation error: phdr table"
980Sstevel@tonic-gate@ EMEM_SCN		"Memory allocation error: scn descriptors"
990Sstevel@tonic-gate@ EMEM_SHDR		"Memory allocation error: shdr table"
1000Sstevel@tonic-gate@ EMEM_SNODE		"Memory allocation error: section node"
1010Sstevel@tonic-gate@ EMEM_VM		"Memory allocation error: vm stats"
1020Sstevel@tonic-gate@ EMEM_ERRMSG		"Memory allocation error: during errmsg generation"
1030Sstevel@tonic-gate
1040Sstevel@tonic-gate
1050Sstevel@tonic-gate# REQ	req	Request error
1060Sstevel@tonic-gate
1070Sstevel@tonic-gate@ EREQ_AR		"Request error: not archive"
1080Sstevel@tonic-gate@ EREQ_ARMEMFD		"Request error: archive/member fildes mismatch"
1090Sstevel@tonic-gate@ EREQ_ARRDWR		"Request error: archive/member begin() for writing"
1100Sstevel@tonic-gate@ EREQ_BEGIN		"Request error: begin() ELF_C_..."
1110Sstevel@tonic-gate@ EREQ_CLASS		"Request error: class file/memory mismatch"
1120Sstevel@tonic-gate@ EREQ_CNTLCMD		"Request error: cntl() ELF_C_..."
1130Sstevel@tonic-gate@ EREQ_CNTLWRT		"Request error: cntl() ELF_C_FD... on output file"
1140Sstevel@tonic-gate@ EREQ_DATA		"Request error: data/scn mismatch"
1150Sstevel@tonic-gate@ EREQ_ENCODE		"Request error: unknown data encoding"
1160Sstevel@tonic-gate@ EREQ_FLAG		"Request error: flag() ELF_C_..."
1170Sstevel@tonic-gate@ EREQ_NDX		"Request error: no section at index"
1180Sstevel@tonic-gate@ EREQ_NOFD		"Request error: file descriptor disabled"
1190Sstevel@tonic-gate@ EREQ_RAND		"Request error: offset out of range"
1200Sstevel@tonic-gate@ EREQ_RDWR		"Request error: begin() ELF_C_... mismatch with parent"
1210Sstevel@tonic-gate@ EREQ_SCNNULL		"Request error: can't manipulate null section"
1220Sstevel@tonic-gate@ EREQ_STROFF		"Request error: string offset out of range"
1230Sstevel@tonic-gate@ EREQ_STRSCN		"Request error: no string table"
1240Sstevel@tonic-gate@ EREQ_UPDATE		"Request error: update() ELF_C_..."
1250Sstevel@tonic-gate@ EREQ_UPDWRT		"Request error: update() for write on read-only file"
1260Sstevel@tonic-gate@ EREQ_VER		"Request error: unknown version"
1270Sstevel@tonic-gate@ EREQ_NOWRIMAGE	"Request error: update(WRIMAGE) not performed on parent"
1280Sstevel@tonic-gate
1290Sstevel@tonic-gate@ EREQ_DSZ		"Request error: destination too small"
1300Sstevel@tonic-gate@ EREQ_TYPE		"Request error: unknown ELF_T_..."
1310Sstevel@tonic-gate
1320Sstevel@tonic-gate#  SEQ	seq	Sequence error
1330Sstevel@tonic-gate
1340Sstevel@tonic-gate@ ESEQ_EHDR		"Sequence error: ehdr not created"
1350Sstevel@tonic-gate@ ESEQ_VER		"Sequence error: version not set"
1360Sstevel@tonic-gate
1370Sstevel@tonic-gate
1380Sstevel@tonic-gate@ _END_
1390Sstevel@tonic-gate
1400Sstevel@tonic-gate
1410Sstevel@tonic-gate# The following strings represent reserved names.  Reference to these strings
1420Sstevel@tonic-gate# is via the MSG_ORIG() macro, and thus translations are required.
1430Sstevel@tonic-gate
1440Sstevel@tonic-gate@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
1450Sstevel@tonic-gate
1460Sstevel@tonic-gate
1470Sstevel@tonic-gate# System error format
1480Sstevel@tonic-gate
1490Sstevel@tonic-gate@ MSG_FMT_ERR		"%s: %s"
150