17c478bd9Sstevel@tonic-gate#
2*df14233eSab# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
37c478bd9Sstevel@tonic-gate# Use is subject to license terms.
47c478bd9Sstevel@tonic-gate#
57c478bd9Sstevel@tonic-gate# CDDL HEADER START
67c478bd9Sstevel@tonic-gate#
77c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
8*df14233eSab# Common Development and Distribution License (the "License").
9*df14233eSab# You may not use this file except in compliance with the License.
107c478bd9Sstevel@tonic-gate#
117c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
127c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
137c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
147c478bd9Sstevel@tonic-gate# and limitations under the License.
157c478bd9Sstevel@tonic-gate#
167c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
177c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
187c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
197c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
207c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
217c478bd9Sstevel@tonic-gate#
227c478bd9Sstevel@tonic-gate# CDDL HEADER END
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate@ _START_
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate# Message file for cmd/sgs/libelf.
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate@ MSG_ID_LIBELF
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate# Null Error
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate@ EINF_NULLERROR	"Elf error 0"
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gate
397c478bd9Sstevel@tonic-gate# BUG	bug	Internal error
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate@ EBUG_COOKSTAT		"Internal error: cook status"
427c478bd9Sstevel@tonic-gate@ EBUG_COOKTYPE		"Internal error: cook data type"
437c478bd9Sstevel@tonic-gate@ EBUG_SCNLIST		"Internal error: broken section list"
447c478bd9Sstevel@tonic-gate@ EBUG_THRDKEY		"Internal error: thr_keycreate() failed. \
457c478bd9Sstevel@tonic-gate			 Unable to allocate error buffer"
467c478bd9Sstevel@tonic-gate@ EBUG_THRDSET		"Internal error: thr_setspecific failed. \
477c478bd9Sstevel@tonic-gate			 Unable to create TSD for error message."
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gate# FMT	fmt	Format error
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate@ EFMT_ARFMAG		"Format error: archive fmag"
537c478bd9Sstevel@tonic-gate@ EFMT_ARHDRSZ		"Format error: archive header truncated"
547c478bd9Sstevel@tonic-gate@ EFMT_ARMEMSZ		"Format error: archive member truncated"
557c478bd9Sstevel@tonic-gate@ EFMT_ARSYM		"Format error: archive symtab truncated"
567c478bd9Sstevel@tonic-gate@ EFMT_ARSYMSTR		"Format error: archive symtab strings"
577c478bd9Sstevel@tonic-gate@ EFMT_ARSYMSZ		"Format error: archive symtab size"
587c478bd9Sstevel@tonic-gate@ EFMT_DATA		"Format error: data region truncated"
597c478bd9Sstevel@tonic-gate@ EFMT_EHDRSZ		"Format error: ehdr size"
607c478bd9Sstevel@tonic-gate@ EFMT_ENTSZ		"Format error: shdr entry size"
617c478bd9Sstevel@tonic-gate@ EFMT_PHDRSZ		"Format error: phdr entry size"
627c478bd9Sstevel@tonic-gate@ EFMT_PHTAB		"Format error: phdr table truncated"
637c478bd9Sstevel@tonic-gate@ EFMT_SCNSZ		"Format error: section sh_size too small for data"
647c478bd9Sstevel@tonic-gate@ EFMT_SHDRSZ		"Format error: shdr entry size"
657c478bd9Sstevel@tonic-gate@ EFMT_SHTAB		"Format error: shdr table truncated"
667c478bd9Sstevel@tonic-gate@ EFMT_VER2		"Format error: ehdr EI_VERSION/e_version mismatch"
677c478bd9Sstevel@tonic-gate@ EFMT_VM		"Format error: reference outside file"
68*df14233eSab@ EFMT_FBIG_CLASS32	"Format error: file size exceeds 4GB 32-bit limit"
69*df14233eSab@ EFMT_FBIG_LARGEFILE	"Format error: file size exceeds 2GB limit of 32-bit \
70*df14233eSab			 linker. 64-bit linker is recommended."
717c478bd9Sstevel@tonic-gate
727c478bd9Sstevel@tonic-gate@ EFMT_ARSTRNM		"Format error: archive strtab name"
737c478bd9Sstevel@tonic-gate@ EFMT_ARUNKNM		"Format error: archive special name unknown"
747c478bd9Sstevel@tonic-gate
757c478bd9Sstevel@tonic-gate# IO	io	I/O error
767c478bd9Sstevel@tonic-gate
777c478bd9Sstevel@tonic-gate@ EIO_FBIG		"I/O error: file too big for memory"
787c478bd9Sstevel@tonic-gate@ EIO_FSZ		"I/O error: get file size"
797c478bd9Sstevel@tonic-gate@ EIO_READ		"I/O error: raw read"
807c478bd9Sstevel@tonic-gate@ EIO_SEEK		"I/O error: seek"
817c478bd9Sstevel@tonic-gate@ EIO_SYNC		"I/O error: output msync"
827c478bd9Sstevel@tonic-gate@ EIO_VM		"I/O error: region read"
837c478bd9Sstevel@tonic-gate@ EIO_WRITE		"I/O error: output write"
847c478bd9Sstevel@tonic-gate
857c478bd9Sstevel@tonic-gate
867c478bd9Sstevel@tonic-gate# MEM	mem	Memory error
877c478bd9Sstevel@tonic-gate
887c478bd9Sstevel@tonic-gate@ EMEM_ARMEM		"Memory allocation error: archive member header"
897c478bd9Sstevel@tonic-gate@ EMEM_ARSTR		"Memory allocation error: archive long file name \
907c478bd9Sstevel@tonic-gate			 strings"
917c478bd9Sstevel@tonic-gate@ EMEM_ARSYM		"Memory allocation error: archive symtab"
927c478bd9Sstevel@tonic-gate@ EMEM_DATA		"Memory allocation error: section data"
937c478bd9Sstevel@tonic-gate@ EMEM_DNODE		"Memory allocation error: data node"
947c478bd9Sstevel@tonic-gate@ EMEM_EHDR		"Memory allocation error: ehdr"
957c478bd9Sstevel@tonic-gate@ EMEM_ELF		"Memory allocation error: elf descriptor"
967c478bd9Sstevel@tonic-gate@ EMEM_OUT		"Memory allocation error: output file space"
977c478bd9Sstevel@tonic-gate@ EMEM_PHDR		"Memory allocation error: phdr table"
987c478bd9Sstevel@tonic-gate@ EMEM_SCN		"Memory allocation error: scn descriptors"
997c478bd9Sstevel@tonic-gate@ EMEM_SHDR		"Memory allocation error: shdr table"
1007c478bd9Sstevel@tonic-gate@ EMEM_SNODE		"Memory allocation error: section node"
1017c478bd9Sstevel@tonic-gate@ EMEM_VM		"Memory allocation error: vm stats"
1027c478bd9Sstevel@tonic-gate@ EMEM_ERRMSG		"Memory allocation error: during errmsg generation"
1037c478bd9Sstevel@tonic-gate
1047c478bd9Sstevel@tonic-gate
1057c478bd9Sstevel@tonic-gate# REQ	req	Request error
1067c478bd9Sstevel@tonic-gate
1077c478bd9Sstevel@tonic-gate@ EREQ_AR		"Request error: not archive"
1087c478bd9Sstevel@tonic-gate@ EREQ_ARMEMFD		"Request error: archive/member fildes mismatch"
1097c478bd9Sstevel@tonic-gate@ EREQ_ARRDWR		"Request error: archive/member begin() for writing"
1107c478bd9Sstevel@tonic-gate@ EREQ_BEGIN		"Request error: begin() ELF_C_..."
1117c478bd9Sstevel@tonic-gate@ EREQ_CLASS		"Request error: class file/memory mismatch"
1127c478bd9Sstevel@tonic-gate@ EREQ_CNTLCMD		"Request error: cntl() ELF_C_..."
1137c478bd9Sstevel@tonic-gate@ EREQ_CNTLWRT		"Request error: cntl() ELF_C_FD... on output file"
1147c478bd9Sstevel@tonic-gate@ EREQ_DATA		"Request error: data/scn mismatch"
1157c478bd9Sstevel@tonic-gate@ EREQ_ENCODE		"Request error: unknown data encoding"
1167c478bd9Sstevel@tonic-gate@ EREQ_FLAG		"Request error: flag() ELF_C_..."
1177c478bd9Sstevel@tonic-gate@ EREQ_NDX		"Request error: no section at index"
1187c478bd9Sstevel@tonic-gate@ EREQ_NOFD		"Request error: file descriptor disabled"
1197c478bd9Sstevel@tonic-gate@ EREQ_RAND		"Request error: offset out of range"
1207c478bd9Sstevel@tonic-gate@ EREQ_RDWR		"Request error: begin() ELF_C_... mismatch with parent"
1217c478bd9Sstevel@tonic-gate@ EREQ_SCNNULL		"Request error: can't manipulate null section"
1227c478bd9Sstevel@tonic-gate@ EREQ_STROFF		"Request error: string offset out of range"
1237c478bd9Sstevel@tonic-gate@ EREQ_STRSCN		"Request error: no string table"
1247c478bd9Sstevel@tonic-gate@ EREQ_UPDATE		"Request error: update() ELF_C_..."
1257c478bd9Sstevel@tonic-gate@ EREQ_UPDWRT		"Request error: update() for write on read-only file"
1267c478bd9Sstevel@tonic-gate@ EREQ_VER		"Request error: unknown version"
1277c478bd9Sstevel@tonic-gate@ EREQ_NOWRIMAGE	"Request error: update(WRIMAGE) not performed on parent"
1287c478bd9Sstevel@tonic-gate
1297c478bd9Sstevel@tonic-gate@ EREQ_DSZ		"Request error: destination too small"
1307c478bd9Sstevel@tonic-gate@ EREQ_TYPE		"Request error: unknown ELF_T_..."
1317c478bd9Sstevel@tonic-gate
1327c478bd9Sstevel@tonic-gate#  SEQ	seq	Sequence error
1337c478bd9Sstevel@tonic-gate
1347c478bd9Sstevel@tonic-gate@ ESEQ_EHDR		"Sequence error: ehdr not created"
1357c478bd9Sstevel@tonic-gate@ ESEQ_VER		"Sequence error: version not set"
1367c478bd9Sstevel@tonic-gate
1377c478bd9Sstevel@tonic-gate
1387c478bd9Sstevel@tonic-gate@ _END_
1397c478bd9Sstevel@tonic-gate
1407c478bd9Sstevel@tonic-gate
1417c478bd9Sstevel@tonic-gate# The following strings represent reserved names.  Reference to these strings
1427c478bd9Sstevel@tonic-gate# is via the MSG_ORIG() macro, and thus translations are required.
1437c478bd9Sstevel@tonic-gate
1447c478bd9Sstevel@tonic-gate@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
1457c478bd9Sstevel@tonic-gate
1467c478bd9Sstevel@tonic-gate
1477c478bd9Sstevel@tonic-gate# System error format
1487c478bd9Sstevel@tonic-gate
1497c478bd9Sstevel@tonic-gate@ MSG_FMT_ERR		"%s: %s"
150