xref: /illumos-gate/usr/src/cmd/sgs/ldd/common/ldd.msg (revision 9174bfaa)
17c478bd9Sstevel@tonic-gate#
25bd55801SAli Bahrami# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
3*9174bfaaSGarrett D'Amore# Copyright 2022 Garrett D'Amore <garrett@damore.org>
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
84899432aSab# Common Development and Distribution License (the "License").
94899432aSab# 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
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate@ _START_
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate# Message file for cmd/sgs/ldd.
297c478bd9Sstevel@tonic-gate
307c478bd9Sstevel@tonic-gate@ MSG_ID_LDD
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate# Argument usage messages.
347c478bd9Sstevel@tonic-gate
35f441771bSRod Evans@ MSG_ARG_USAGE		"usage: %s [-d | -r] [-c] [-D] [-e envar] [-f] [-i] \
36f441771bSRod Evans			 [-L] [-l] [-p] [-s] [-U | -u] [-v] [-w] file(s)\n"
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gate# Environment messages.
397c478bd9Sstevel@tonic-gate
407c478bd9Sstevel@tonic-gate@ MSG_ENV_FAILED	"%s: can't add to environment, putenv(3C) failed\n"
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate# Unsupported file messages.
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate@ MSG_USP_NODYNORSO	"%s: %s: file is not a dynamic executable or \
467c478bd9Sstevel@tonic-gate			 shared object\n"
474899432aSab@ MSG_USP_NOHDR		"%s: %s: file built with ?N (NOHDR) mapfile option\n"
487c478bd9Sstevel@tonic-gate@ MSG_USP_UNKNOWN	"%s: %s: unsupported or unknown file type\n"
497c478bd9Sstevel@tonic-gate@ MSG_USP_ELFINS	"%s: %s: file has insecure interpreter %s\n"
5001355ae8SRichard Lowe@ MSG_USP_NOTEXEC	"%s: %s: is not executable\n"
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gate# ELF messages
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate@ MSG_ELF_LIBELF	"%s: libelf: version not supported: %d"
567c478bd9Sstevel@tonic-gate@ MSG_ELF_BADMAGIC	"%s: %s: bad magic number\n"
575bd55801SAli Bahrami@ MSG_ELF_CLASS		"%s: %s: ELF class: %s: unrecognized\n"
585bd55801SAli Bahrami@ MSG_ELF_KCLASS32	"%s: %s: ELF class: %s: is incompatible with 32-bit \
595bd55801SAli Bahrami			 system\n"
605bd55801SAli Bahrami@ MSG_ELF_MACHTYPE	"%s: %s: ELF machine type: %s: is incompatible with \
615bd55801SAli Bahrami			 system\n"
625bd55801SAli Bahrami@ MSG_ELF_DATA		"%s: %s: ELF byte order: %s: is incompatible with \
635bd55801SAli Bahrami			 system\n"
647c478bd9Sstevel@tonic-gate@ MSG_ELF_MACHFLAGS	"%s: %s: wrong machine flags\n"
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gate@ MSG_ELF_GETEHDR	"%s: %s: elf_getehdr: %s\n"
677c478bd9Sstevel@tonic-gate@ MSG_ELF_GETPHDR	"%s: %s: elf_getphdr: %s\n"
687c478bd9Sstevel@tonic-gate
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gate# System error messages
717c478bd9Sstevel@tonic-gate
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
100f441771bSRod Evans@ MSG_STR_GETOPT	"cDde:fiLlprsUuvw"
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