xref: /illumos-gate/usr/src/cmd/sgs/ldd/common/ldd.msg (revision c538cdc56b01e46a42335d3f8d315c44ecf91ac9)
1#
2# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
3#
4# CDDL HEADER START
5#
6# The contents of this file are subject to the terms of the
7# Common Development and Distribution License (the "License").
8# You may not use this file except in compliance with the License.
9#
10# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11# or http://www.opensolaris.org/os/licensing.
12# See the License for the specific language governing permissions
13# and limitations under the License.
14#
15# When distributing Covered Code, include this CDDL HEADER in each
16# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17# If applicable, add the following below this CDDL HEADER, with the
18# fields enclosed by brackets "[]" replaced with your own identifying
19# information: Portions Copyright [yyyy] [name of copyright owner]
20#
21# CDDL HEADER END
22#
23
24
25@ _START_
26
27# Message file for cmd/sgs/ldd.
28
29@ MSG_ID_LDD
30
31
32# Argument usage messages.
33
34@ MSG_ARG_USAGE		"usage: %s [-d | -r] [-c] [-D] [-e envar] [-f] [-i] \
35			 [-L] [-l] [-p] [-s] [-U | -u] [-v] [-w] file(s)\n"
36
37# Environment messages.
38
39@ MSG_ENV_FAILED	"%s: can't add to environment, putenv(3C) failed\n"
40
41
42# Unsupported file messages.
43
44@ MSG_USP_NODYNORSO	"%s: %s: file is not a dynamic executable or \
45			 shared object\n"
46@ MSG_USP_NOHDR		"%s: %s: file built with ?N (NOHDR) mapfile option\n"
47@ MSG_USP_UNKNOWN	"%s: %s: unsupported or unknown file type\n"
48@ MSG_USP_ELFINS	"%s: %s: file has insecure interpreter %s\n"
49@ MSG_USP_AOUTINS	"%s: %s: insecure a.out file\n"
50@ MSG_USP_NOTEXEC	"%s: %s: is not executable\n"
51
52
53# ELF messages
54
55@ MSG_ELF_LIBELF	"%s: libelf: version not supported: %d"
56@ MSG_ELF_BADMAGIC	"%s: %s: bad magic number\n"
57@ MSG_ELF_CLASS		"%s: %s: ELF class: %s: unrecognized\n"
58@ MSG_ELF_KCLASS32	"%s: %s: ELF class: %s: is incompatible with 32-bit \
59			 system\n"
60@ MSG_ELF_MACHTYPE	"%s: %s: ELF machine type: %s: is incompatible with \
61			 system\n"
62@ MSG_ELF_DATA		"%s: %s: ELF byte order: %s: is incompatible with \
63			 system\n"
64@ MSG_ELF_MACHFLAGS	"%s: %s: wrong machine flags\n"
65
66@ MSG_ELF_GETEHDR	"%s: %s: elf_getehdr: %s\n"
67@ MSG_ELF_GETPHDR	"%s: %s: elf_getphdr: %s\n"
68
69
70# System error messages
71
72@ MSG_SYS_LSEEK		"%s: %s: cannot lseek file: %s\n"
73@ MSG_SYS_READ		"%s: %s: cannot read file: %s\n"
74@ MSG_SYS_FORK		"%s: cannot fork: %s\n"
75@ MSG_SYS_OPEN		"%s: %s: cannot open file: %s\n"
76
77@ MSG_SYS_MALLOC	"%s: malloc failed\n"
78@ MSG_SYS_EXEC		"%s: %s: execution failed "
79@ MSG_SYS_EXEC_SIG	"due to signal %d %s\n"
80@ MSG_SYS_EXEC_CORE	"(core dumped)"
81@ MSG_SYS_EXEC_STAT	"with exit status %d\n"
82
83@ _END_
84
85
86# The following strings represent reserved words, files, pathnames and symbols.
87# Reference to this strings is via the MSG_ORIG() macro, and thus no message
88# translation is required.
89
90@ MSG_STR_EMPTY		""
91
92@ MSG_PTH_LIB		"/lib"
93@ MSG_PTH_USRLIB	"/usr/lib"
94@ MSG_PTH_ETCLIB	"/etc/lib"
95
96@ MSG_LD_PRELOAD_32	"LD_PRELOAD_32"
97@ MSG_LD_PRELOAD_64	"LD_PRELOAD_64"
98@ MSG_LD_PRELOAD	"LD_PRELOAD"
99
100@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
101
102@ MSG_STR_GETOPT	"cDde:fiLlprsUuvw"
103@ MSG_STR_FMT1		"%s=./%s %s"
104@ MSG_STR_FMT2		"%s=%s %s"
105@ MSG_STR_FMT3		"%s:\n"
106