xref: /illumos-gate/usr/src/cmd/sgs/ldd/common/ldd.msg (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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#pragma ident	"%Z%%M%	%I%	%E% SMI"
26
27
28@ _START_
29
30# Message file for cmd/sgs/ldd.
31
32@ MSG_ID_LDD
33
34
35# Argument usage messages.
36
37@ MSG_ARG_USAGE		"usage: %s [-d | -r] [-c] [-e envar] [-f] [-i] [-L] \
38			 [-l] [-s] [-U | -u] [-v] file(s)\n"
39
40# Environment messages.
41
42@ MSG_ENV_FAILED	"%s: can't add to environment, putenv(3C) failed\n"
43
44
45# Unsupported file messages.
46
47@ MSG_USP_NODYNORSO	"%s: %s: file is not a dynamic executable or \
48			 shared object\n"
49@ MSG_USP_UNKNOWN	"%s: %s: unsupported or unknown file type\n"
50@ MSG_USP_ELFINS	"%s: %s: file has insecure interpreter %s\n"
51@ MSG_USP_AOUTINS	"%s: %s: insecure a.out file\n"
52@ MSG_USP_NOTEXEC_1	"%s: %s: is not executable\n"
53@ MSG_USP_NOTEXEC_2	"warning: %s: %s: is not executable\n"
54
55
56# ELF messages
57
58@ MSG_ELF_LIBELF	"%s: libelf: version not supported: %d"
59@ MSG_ELF_CLASSDATA	"%s: %s: has wrong class or data encoding\n"
60@ MSG_ELF_BADMAGIC	"%s: %s: bad magic number\n"
61@ MSG_ELF_MACHTYPE	"%s: %s: wrong machine type\n"
62@ MSG_ELF_MACHFLAGS	"%s: %s: wrong machine flags\n"
63
64@ MSG_ELF_GETEHDR	"%s: %s: elf_getehdr: %s\n"
65@ MSG_ELF_GETPHDR	"%s: %s: elf_getphdr: %s\n"
66
67
68# System error messages
69
70@ MSG_SYS_LSEEK		"%s: %s: cannot lseek file: %s\n"
71@ MSG_SYS_READ		"%s: %s: cannot read file: %s\n"
72@ MSG_SYS_FORK		"%s: cannot fork: %s\n"
73@ MSG_SYS_OPEN		"%s: %s: cannot open file: %s\n"
74
75@ MSG_SYS_MALLOC	"%s: malloc failed\n"
76@ MSG_SYS_EXEC		"%s: %s: execution failed "
77@ MSG_SYS_EXEC_SIG	"due to signal %d %s\n"
78@ MSG_SYS_EXEC_CORE	"(core dumped)"
79@ MSG_SYS_EXEC_STAT	"with exit status %d\n"
80
81@ _END_
82
83
84# The following strings represent reserved words, files, pathnames and symbols.
85# Reference to this strings is via the MSG_ORIG() macro, and thus no message
86# translation is required.
87
88@ MSG_STR_EMPTY		""
89
90@ MSG_PTH_LIB		"/lib"
91@ MSG_PTH_USRLIB	"/usr/lib"
92@ MSG_PTH_ETCLIB	"/etc/lib"
93
94@ MSG_LD_PRELOAD_32	"LD_PRELOAD_32"
95@ MSG_LD_PRELOAD_64	"LD_PRELOAD_64"
96@ MSG_LD_PRELOAD	"LD_PRELOAD"
97
98@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
99
100@ MSG_STR_GETOPT	"cde:fiLlrsUuv"
101@ MSG_STR_FMT1		"%s=./%s %s"
102@ MSG_STR_FMT2		"%s=%s %s"
103@ MSG_STR_FMT3		"%s:\n"
104