xref: /illumos-gate/usr/src/cmd/sgs/ldd/common/ldd.msg (revision 4899432a)
17c478bd9Sstevel@tonic-gate#
2*4899432aSab# Copyright 2006 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*4899432aSab# Common Development and Distribution License (the "License").
9*4899432aSab# 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#pragma 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/ldd.
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate@ MSG_ID_LDD
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate# Argument usage messages.
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate@ MSG_ARG_USAGE		"usage: %s [-d | -r] [-c] [-e envar] [-f] [-i] [-L] \
377c478bd9Sstevel@tonic-gate			 [-l] [-s] [-U | -u] [-v] file(s)\n"
387c478bd9Sstevel@tonic-gate
397c478bd9Sstevel@tonic-gate# Environment messages.
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate@ MSG_ENV_FAILED	"%s: can't add to environment, putenv(3C) failed\n"
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate
447c478bd9Sstevel@tonic-gate# Unsupported file messages.
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate@ MSG_USP_NODYNORSO	"%s: %s: file is not a dynamic executable or \
477c478bd9Sstevel@tonic-gate			 shared object\n"
48*4899432aSab@ MSG_USP_NOHDR		"%s: %s: file built with ?N (NOHDR) mapfile option\n"
497c478bd9Sstevel@tonic-gate@ MSG_USP_UNKNOWN	"%s: %s: unsupported or unknown file type\n"
507c478bd9Sstevel@tonic-gate@ MSG_USP_ELFINS	"%s: %s: file has insecure interpreter %s\n"
517c478bd9Sstevel@tonic-gate@ MSG_USP_AOUTINS	"%s: %s: insecure a.out file\n"
527c478bd9Sstevel@tonic-gate@ MSG_USP_NOTEXEC_1	"%s: %s: is not executable\n"
537c478bd9Sstevel@tonic-gate@ MSG_USP_NOTEXEC_2	"warning: %s: %s: is not executable\n"
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate
567c478bd9Sstevel@tonic-gate# ELF messages
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate@ MSG_ELF_LIBELF	"%s: libelf: version not supported: %d"
597c478bd9Sstevel@tonic-gate@ MSG_ELF_CLASSDATA	"%s: %s: has wrong class or data encoding\n"
607c478bd9Sstevel@tonic-gate@ MSG_ELF_BADMAGIC	"%s: %s: bad magic number\n"
617c478bd9Sstevel@tonic-gate@ MSG_ELF_MACHTYPE	"%s: %s: wrong machine type\n"
627c478bd9Sstevel@tonic-gate@ MSG_ELF_MACHFLAGS	"%s: %s: wrong machine flags\n"
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gate@ MSG_ELF_GETEHDR	"%s: %s: elf_getehdr: %s\n"
657c478bd9Sstevel@tonic-gate@ MSG_ELF_GETPHDR	"%s: %s: elf_getphdr: %s\n"
667c478bd9Sstevel@tonic-gate
677c478bd9Sstevel@tonic-gate
687c478bd9Sstevel@tonic-gate# System error messages
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gate@ MSG_SYS_LSEEK		"%s: %s: cannot lseek file: %s\n"
717c478bd9Sstevel@tonic-gate@ MSG_SYS_READ		"%s: %s: cannot read file: %s\n"
727c478bd9Sstevel@tonic-gate@ MSG_SYS_FORK		"%s: cannot fork: %s\n"
737c478bd9Sstevel@tonic-gate@ MSG_SYS_OPEN		"%s: %s: cannot open file: %s\n"
747c478bd9Sstevel@tonic-gate
757c478bd9Sstevel@tonic-gate@ MSG_SYS_MALLOC	"%s: malloc failed\n"
767c478bd9Sstevel@tonic-gate@ MSG_SYS_EXEC		"%s: %s: execution failed "
777c478bd9Sstevel@tonic-gate@ MSG_SYS_EXEC_SIG	"due to signal %d %s\n"
787c478bd9Sstevel@tonic-gate@ MSG_SYS_EXEC_CORE	"(core dumped)"
797c478bd9Sstevel@tonic-gate@ MSG_SYS_EXEC_STAT	"with exit status %d\n"
807c478bd9Sstevel@tonic-gate
817c478bd9Sstevel@tonic-gate@ _END_
827c478bd9Sstevel@tonic-gate
837c478bd9Sstevel@tonic-gate
847c478bd9Sstevel@tonic-gate# The following strings represent reserved words, files, pathnames and symbols.
857c478bd9Sstevel@tonic-gate# Reference to this strings is via the MSG_ORIG() macro, and thus no message
867c478bd9Sstevel@tonic-gate# translation is required.
877c478bd9Sstevel@tonic-gate
887c478bd9Sstevel@tonic-gate@ MSG_STR_EMPTY		""
897c478bd9Sstevel@tonic-gate
907c478bd9Sstevel@tonic-gate@ MSG_PTH_LIB		"/lib"
917c478bd9Sstevel@tonic-gate@ MSG_PTH_USRLIB	"/usr/lib"
927c478bd9Sstevel@tonic-gate@ MSG_PTH_ETCLIB	"/etc/lib"
937c478bd9Sstevel@tonic-gate
947c478bd9Sstevel@tonic-gate@ MSG_LD_PRELOAD_32	"LD_PRELOAD_32"
957c478bd9Sstevel@tonic-gate@ MSG_LD_PRELOAD_64	"LD_PRELOAD_64"
967c478bd9Sstevel@tonic-gate@ MSG_LD_PRELOAD	"LD_PRELOAD"
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gate@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
997c478bd9Sstevel@tonic-gate
1007c478bd9Sstevel@tonic-gate@ MSG_STR_GETOPT	"cde:fiLlrsUuv"
1017c478bd9Sstevel@tonic-gate@ MSG_STR_FMT1		"%s=./%s %s"
1027c478bd9Sstevel@tonic-gate@ MSG_STR_FMT2		"%s=%s %s"
1037c478bd9Sstevel@tonic-gate@ MSG_STR_FMT3		"%s:\n"
104