xref: /titanic_41/usr/src/cmd/sgs/elfwrap/common/elfwrap.msg (revision 5fbb41393be5d63f75952b1d72d4df2642d22557)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29@ _START_
30
31# Message file for cmd/sgs/elfwrap.
32
33@ MSG_ID_ELFWRAP
34
35# Usage Messages
36
37@ MSG_USAGE_BRIEF	"usage: %s [-64] [-o file] [-z target=platform] \
38			 data, ...\n"
39
40@ MSG_ARG_BADTARG	"%s: unknown target platform: %s\n"
41@ MSG_ARG_ILLEGAL	"%s: option %s has illegal argument `%s'\n"
42
43@ MSG_ERR_LIBELF	"%s: libelf: version not supported: %d\n"
44
45@ MSG_ERR_ALLOC		"%s: %s: can't allocate memory: %s\n"
46@ MSG_ERR_FSTAT		"%s: %s: can't fstat: %s\n"
47@ MSG_ERR_MMAP		"%s: %s: can't mmap: %s\n"
48@ MSG_ERR_OPEN		"%s: %s: can't open: %s\n"
49
50@ MSG_WARN_ZERO		"%s: %s: has zero length - ignoring\n"
51
52@ MSG_ELF_BEGIN		"%s: elf_begin failed: %s\n"
53@ MSG_ELF_GETEHDR	"%s: elf_getehdr failed: %s\n"
54@ MSG_ELF_NEWEHDR	"%s: elf_newehdr failed: %s\n"
55@ MSG_ELF_SWAP_WRIMAGE	"%s: elf_swap_wrimage failed: %s\n"
56@ MSG_ELF_UPDATE	"%s: elf_update failed: %s\n"
57
58@ MSG_ELF_GETDATA	"%s: %s: elf_getdata failed: %s\n"
59@ MSG_ELF_GETSCN	"%s: %s: elf_getscn failed: %s\n"
60@ MSG_ELF_GETSHDR	"%s: %s: elf_getshdr failed: %s\n"
61@ MSG_ELF_NEWDATA	"%s: %s: elf_newdata failed: %s\n"
62@ MSG_ELF_NEWSCN	"%s: %s: elf_newscn failed: %s\n"
63
64@ _END_
65
66# The following strings represent reserved words, files, path names and symbols.
67# Reference to this strings is via the MSG_ORIG() macro, and thus no message
68# translation is required.
69
70@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
71
72@ MSG_ARG_6		"-6"
73@ MSG_ARG_OPTIONS	"6:o:z:"
74@ MSG_ARG_TARGET	"target="
75@ MSG_ARG_Z		"-z"
76
77@ MSG_TARG_SPARC	"sparc"
78@ MSG_TARG_X86		"x86"
79
80@ MSG_STR_AWRAPO	"a.wrap.o"
81@ MSG_STR_EMPTY		""
82@ MSG_STR_START		"_start"
83@ MSG_STR_END		"_end"
84@ MSG_STR_DOT		"."
85
86@ MSG_SCN_SYMTAB	".symtab"
87@ MSG_SCN_STRTAB	".strtab"
88@ MSG_SCN_SHSTRTAB	".shstrtab"
89