xref: /illumos-gate/usr/src/cmd/sgs/ldd/common/ldd.msg (revision d48be21240dfd051b689384ce2b23479d757f2d8)
1#
2# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
3# Copyright 2022 Garrett D'Amore <garrett@damore.org>
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
25
26@ _START_
27
28# Message file for cmd/sgs/ldd.
29
30@ MSG_ID_LDD
31
32
33# Argument usage messages.
34
35@ MSG_ARG_USAGE		"usage: %s [-d | -r] [-c] [-D] [-e envar] [-f] [-i] \
36			 [-L] [-l] [-p] [-s] [-U | -u] [-v] [-w] file(s)\n"
37
38# Environment messages.
39
40@ MSG_ENV_FAILED	"%s: can't add to environment, putenv(3C) failed\n"
41
42
43# Unsupported file messages.
44
45@ MSG_USP_NODYNORSO	"%s: %s: file is not a dynamic executable or \
46			 shared object\n"
47@ MSG_USP_NOHDR		"%s: %s: file built with ?N (NOHDR) mapfile option\n"
48@ MSG_USP_UNKNOWN	"%s: %s: unsupported or unknown file type\n"
49@ MSG_USP_ELFINS	"%s: %s: file has insecure interpreter %s\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_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	"cDde:fiLlprsUuvw"
101@ MSG_STR_FMT1		"%s=./%s %s"
102@ MSG_STR_FMT2		"%s=%s %s"
103@ MSG_STR_FMT3		"%s:\n"
104