xref: /titanic_52/usr/src/cmd/sgs/ldd/common/ldd.msg (revision 74e20cfe817b82802b16fac8690dadcda76f54f5)
1#
2# Copyright 2006 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 (the "License").
9# You may not use this file except in compliance with the License.
10#
11# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12# or http://www.opensolaris.org/os/licensing.
13# See the License for the specific language governing permissions
14# and limitations under the License.
15#
16# When distributing Covered Code, include this CDDL HEADER in each
17# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18# If applicable, add the following below this CDDL HEADER, with the
19# fields enclosed by brackets "[]" replaced with your own identifying
20# information: Portions Copyright [yyyy] [name of copyright owner]
21#
22# CDDL HEADER END
23#
24#pragma ident	"%Z%%M%	%I%	%E% SMI"
25
26
27@ _START_
28
29# Message file for cmd/sgs/ldd.
30
31@ MSG_ID_LDD
32
33
34# Argument usage messages.
35
36@ MSG_ARG_USAGE		"usage: %s [-d | -r] [-c] [-e envar] [-f] [-i] [-L] \
37			 [-l] [-s] [-U | -u] [-v] file(s)\n"
38
39# Environment messages.
40
41@ MSG_ENV_FAILED	"%s: can't add to environment, putenv(3C) failed\n"
42
43
44# Unsupported file messages.
45
46@ MSG_USP_NODYNORSO	"%s: %s: file is not a dynamic executable or \
47			 shared object\n"
48@ MSG_USP_NOHDR		"%s: %s: file built with ?N (NOHDR) mapfile option\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