xref: /illumos-gate/usr/src/cmd/sgs/libld/common/libld.msg (revision 8a2b682e57a046b828f37bcde1776f131ef4629f)
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 (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26#
27# Copyright (c) 2012, Joyent, Inc.  All rights reserved.
28# Copyright 2017 RackTop Systems.
29#
30
31@ _START_
32
33# Message file for cmd/sgs/libld.
34
35@ MSG_ID_LIBLD
36
37#
38# TRANSLATION_NOTE -- Beginning of USAGE message
39#	The following messages are the usage messages for the ld command.
40#	Tab characters (\t) are used to align the messages.
41#
42#	Each usage message starts with \t, and if the message has more than one
43#		line, the following messages are aligned by 3 tab characters.
44#		When you see \n\t\t\t, the first \n is used to change the line,
45#		and following 3 tab characters are used to align the line.
46#
47#	Each usage message option is surrounded by [ and ].  Then the
48#	description of the option follows. The descriptions should be aligned,
49#	so tab characters are padded as needed after the closing bracket ].
50#
51#	How to align the messages are up to the translators and the
52#	localization engineers.
53#
54#	In C locale, the first 3 messages would look like the following:
55#
56#	usage: ld [-6:abc:.....] file(s)
57#		[-a]		create an absolute file
58#		[-b]		do not do special PIC relocations in a.out
59#		[-c file]	record configuration 'file'
60#
61@ MSG_ARG_USAGE		"usage: ld [-%s] file(s)\n"
62@ MSG_ARG_DETAIL_3	"\t[-32]\t\tenforce a 32-bit link-edit\n"
63@ MSG_ARG_DETAIL_6	"\t[-64]\t\tenforce a 64-bit link-edit\n"
64@ MSG_ARG_DETAIL_A	"\t[-a]\t\tcreate an absolute file\n"
65@ MSG_ARG_DETAIL_B	"\t[-b]\t\tdo not do special PIC relocations in a.out\n"
66@ MSG_ARG_DETAIL_CBDR	"\t[-B direct | nodirect]\n\
67			 \t\t\testablish direct bindings, or inhibit direct \
68			 binding\n\
69			 \t\t\tto, the object being created\n"
70@ MSG_ARG_DETAIL_CBDY	"\t[-B dynamic | static]\n\
71			 \t\t\tsearch for shared libraries|archives\n"
72@ MSG_ARG_DETAIL_CBE	"\t[-B eliminate]\teliminate unqualified global \
73			 symbols from the\n\t\t\tsymbol table\n"
74@ MSG_ARG_DETAIL_CBG	"\t[-B group]\trelocate object from within group\n"
75@ MSG_ARG_DETAIL_CBL	"\t[-B local]\treduce unqualified global symbols to \
76			 local\n"
77@ MSG_ARG_DETAIL_CBR	"\t[-B reduce]\tprocess symbol reductions\n"
78@ MSG_ARG_DETAIL_CBS	"\t[-B symbolic]\tbind external references to \
79			 definitions when creating\n\
80			 \t\t\tshared objects\n"
81@ MSG_ARG_DETAIL_C	"\t[-c name]\trecord configuration file 'name'\n"
82@ MSG_ARG_DETAIL_CC	"\t[-C]\t\tdemangle C++ symbol name diagnostics\n"
83@ MSG_ARG_DETAIL_D	"\t[-d y | n]\toperate in dynamic|static mode\n"
84@ MSG_ARG_DETAIL_CD	"\t[-D token,...]\tprint diagnostic messages\n"
85@ MSG_ARG_DETAIL_E	"\t[-e epsym], [--entry epsym]\n\
86			 \t\t\tuse 'epsym' as entry point address\n"
87@ MSG_ARG_DETAIL_F	"\t[-f name], [--auxiliary name]\n\
88			 \t\t\tspecify library for which this file is an \
89			 auxiliary\n\t\t\tfilter\n"
90@ MSG_ARG_DETAIL_CF	"\t[-F name], [--filter name]\n\
91			 \t\t\tspecify library for which this file is a filter\n"
92@ MSG_ARG_DETAIL_CG	"\t[-G], [-shared]\n\
93			 \t\t\tcreate a shared object\n"
94@ MSG_ARG_DETAIL_H	"\t[-h name], [--soname name]\n\
95			 \t\t\tuse 'name' as internal shared object identifier\n"
96@ MSG_ARG_DETAIL_I	"\t[-i]\t\tignore LD_LIBRARY_PATH setting\n"
97@ MSG_ARG_DETAIL_CI	"\t[-I name]\tuse 'name' as path of interpreter\n"
98@ MSG_ARG_DETAIL_L	"\t[-l x], [--library x]\n\
99			 \t\t\tsearch for libx.so or libx.a\n"
100@ MSG_ARG_DETAIL_CL	"\t[-L path], [--library-path path]\n\
101			 \t\t\tsearch for libraries in directory 'path'\n"
102@ MSG_ARG_DETAIL_M	"\t[-m]\t\tprint memory map\n"
103@ MSG_ARG_DETAIL_CM	"\t[-M mapfile]\tuse processing directives contained \
104			 in 'mapfile'\n"
105@ MSG_ARG_DETAIL_CN	"\t[-N string]\tcreate a dynamic dependency for \
106			 'string'\n"
107@ MSG_ARG_DETAIL_O	"\t[-o outfile], [--output outfile]\n\
108			 \t\t\tname the output file 'outfile'\n"
109@ MSG_ARG_DETAIL_P	"\t[-p auditlib]\tidentify audit library to accompany \
110			 this object\n"
111@ MSG_ARG_DETAIL_CP	"\t[-P auditlib]\tidentify audit library for \
112			 processing the dependencies\n\
113			 \t\t\tof this object\n"
114@ MSG_ARG_DETAIL_CQ	"\t[-Q y | n]\tdo|do not place version information in \
115			 output file\n"
116@ MSG_ARG_DETAIL_R	"\t[-r], [--relocatable]\n\
117			 \t\t\tcreate a relocatable object\n"
118@ MSG_ARG_DETAIL_CR	"\t[-R path], [-rpath path]\n\
119			 \t\t\tspecify a library search path to be used at run \
120			 time\n"
121@ MSG_ARG_DETAIL_S	"\t[-s], [--strip-all]\n\
122			 \t\t\tstrip any symbol and debugging information\n"
123@ MSG_ARG_DETAIL_CS	"\t[-S supportlib]\n\
124			 \t\t\tspecify a link-edit support library\n"
125@ MSG_ARG_DETAIL_T	"\t[-t]\t\tdo not warn of multiply-defined symbols \
126			 that have\n\t\t\tdifferent sizes or alignments\n"
127@ MSG_ARG_DETAIL_U	"\t[-u symname], [--undefined symname]\n\
128			 \t\t\tcreate an undefined symbol 'symname'\n"
129@ MSG_ARG_DETAIL_CV	"\t[-V], [--version]\n\
130			 \t\t\tprint version information\n"
131@ MSG_ARG_DETAIL_CY	"\t[-Y P,dirlist]\tuse 'dirlist' as a default path \
132			 when searching for\n\
133			 \t\t\tlibraries\n"
134@ MSG_ARG_DETAIL_ZA	"\t[-z absexec]\twhen building an executable absolute \
135			 symbols\n \
136			 \t\t\treferenced in dynamic objects are promoted to\n \
137			 \t\t\tthe executable\n"
138@ MSG_ARG_DETAIL_ZAE	"\t[-z allextract | defaultextract | weakextract],\n\
139			 \t[--whole-archive | --no-whole-archive]\n\
140			 \t\t\textract all member files, only members that \
141			 resolve\n\
142			 \t\t\tundefined or tentative symbols, or \
143			 allow extraction of\n\
144			 \t\t\tarchive members to resolve weak references from \
145			 \n\t\t\t\archive files\n"
146@ MSG_ARG_DETAIL_ZAL	"\t[-z altexec64]\texecute the 64-bit link-editor\n"
147@ MSG_ARG_DETAIL_ZADLIB	"\t[-z assert-deflib]\n\
148			\t\t\tenables warnings for linking with libraries in \
149			the \n\t\t\tdefault search path\n\
150			\t[-z assert-deflib=libname]\n\
151			\t\t\tenables warnings for linking with libraries in \
152			the \n\t\t\tdefault search path, but 'libname' is exempt\n"
153@ MSG_ARG_DETAIL_ZC	"\t[-z combreloc | nocombreloc]\n\
154			 \t\t\tcombine|do not combine multiple relocation \
155			 sections\n"
156@ MSG_ARG_DETAIL_ZNC	"\t[-z nocompstrtab]\n\t\t\tdisable compression of \
157			 string tables\n"
158@ MSG_ARG_DETAIL_ZDEF	"\t[-z deferred | nodeferred]\n\
159			 \t\t\tenable|disable deferred identification of \
160			 shared object\n\t\t\tdependencies\n"
161@ MSG_ARG_DETAIL_ZDFS	"\t[-z defs], [--no-undefined]\n\
162			 \t\t\tdisallow undefined symbol references\n"
163@ MSG_ARG_DETAIL_ZDRS	"\t[-z direct | nodirect]\n\
164			 \t\t\tenable|disable direct binding to shared object\n\
165			 \t\t\tdependencies\n"
166@ MSG_ARG_DETAIL_ZE	"\t[-z endfiltee]\tmarks a filtee such that it will \
167			 terminate a filters\n\t\t\tsearch\n"
168@ MSG_ARG_DETAIL_ZFATW	"\t[-z fatal-warnings | nofatal-warnings],\n\
169			 \t[--fatal-warnings | --no-fatal-warnings]\n\
170			 \t\tenable|disable treatment of warnings as fatal\n"
171@ MSG_ARG_DETAIL_ZFA	"\t[-z finiarray=function]\n\
172			 \t\t\tname of function to be appended to the \
173			 .fini_array\n"
174@ MSG_ARG_DETAIL_ZGP	"\t[-z groupperm | nogroupperm]\n\
175			 \t\t\tenable|disable setting of group permissions\n\
176			 \t\t\ton dynamic dependencies\n"
177@ MSG_ARG_DETAIL_ZGUIDE	"\t[-z guidance | -z guidance=item1,item2,...]\n\
178			 \t\t\tenable guidance warnings. items: \
179			 noall, nodefs,\n\
180			 \t\t\tnodirect, nolazyload, nomapfile, notext, \
181			 nounused\n"
182@ MSG_ARG_DETAIL_ZH	"\t[-z help], [--help]\n\
183			 \t\t\tprint this usage message\n"
184@ MSG_ARG_DETAIL_ZIG	"\t[-z ignore | record]\n\
185			 \t\t\tignore|record unused dynamic dependencies\n"
186@ MSG_ARG_DETAIL_ZINA	"\t[-z initarray=function]\n\
187			 \t\t\tname of function to be appended to the \
188			 .init_array\n"
189@ MSG_ARG_DETAIL_ZINI	"\t[-z initfirst]\tmark object to indicate that its \
190			 .init section should\n\
191			 \t\t\tbe executed before the .init section of any \
192			 other\n\t\t\tobjects\n"
193@ MSG_ARG_DETAIL_ZINT	"\t[-z interpose]\
194			 \tdynamic object is to be an 'interposer' on direct\n\
195			 \t\t\tbindings\n"
196@ MSG_ARG_DETAIL_ZLAZY	"\t[-z lazyload | nolazyload]\n\
197			 \t\t\tenable|disable delayed loading of shared \
198			 object\n\t\t\tdependencies\n"
199@ MSG_ARG_DETAIL_ZLD32	"\t[-z ld32=arg1,arg2,...]\n\
200			 \t\t\tdefine arguments applicable to the \
201			 32-bit class of ld(1)\n"
202@ MSG_ARG_DETAIL_ZLD64	"\t[-z ld64=arg1,arg2,...]\n\
203			 \t\t\tdefine arguments applicable to the \
204			 64-bit class of ld(1)\n"
205@ MSG_ARG_DETAIL_ZLO	"\t[-z loadfltr]\tmark filter as requiring immediate \
206			 loading of its\n\
207			 \t\t\tfiltees at runtime\n"
208@ MSG_ARG_DETAIL_ZM	"\t[-z muldefs], [--allow-multiple-definition]\n\
209			 \t\t\tallow multiply-defined symbols\n"
210@ MSG_ARG_DETAIL_ZNDFS	"\t[-z nodefs]\tallow undefined symbol references\n"
211@ MSG_ARG_DETAIL_ZNDEF	"\t[-z nodefaultlib]\n\
212			 \t\t\tmark object to ignore any default library \
213			 search path\n"
214@ MSG_ARG_DETAIL_ZNDEL	"\t[-z nodelete]\tmark object as non-deletable\n"
215@ MSG_ARG_DETAIL_ZNDLO	"\t[-z nodlopen]\tmark object as non-dlopen()'able\n"
216@ MSG_ARG_DETAIL_ZNDU	"\t[-z nodump]\tmark object as non-dldump()'able\n"
217@ MSG_ARG_DETAIL_ZNLD	"\t[-z noldynsym]\tdo not add a .SUNW_ldynsym section\n"
218@ MSG_ARG_DETAIL_ZNPA	"\t[-z nopartial]\texpand any partially initialized \
219			 symbols\n"
220@ MSG_ARG_DETAIL_ZNV	"\t[-z noversion]\tdo not record any version sections\n"
221@ MSG_ARG_DETAIL_ZNOW	"\t[-z now]\tmark object as requiring non-lazy \
222			 binding\n"
223@ MSG_ARG_DETAIL_ZO	"\t[-z origin]\tmark object as requiring $ORIGIN \
224			 processing\n"
225@ MSG_ARG_DETAIL_ZPIA	"\t[-z preinitarray=function]\n\
226			 \t\t\tname of function to be appended to the \
227			 .preinit_array\n"
228@ MSG_ARG_DETAIL_ZRL	"\t[-z redlocsym]\treduce local syms in .symtab to \
229			 a minimum\n"
230@ MSG_ARG_DETAIL_ZRREL	"\t[-z relaxreloc]\trelax rules used for relocations \
231			 against COMDAT sections\n"
232@ MSG_ARG_DETAIL_ZRS	"\t[-z rescan]\tafter processing all arguments, rescan \
233			 archive list\n\
234			 \t\t\tuntil no further member extraction occurs\n"
235@ MSG_ARG_DETAIL_ZRSN	"\t[-z rescan-now]\timmediately rescan archive list \
236			 until\n\
237			 \t\t\tno further member extraction occurs\n"
238@ MSG_ARG_DETAIL_ZRSGRP	"\t[-z rescan-start archives... -z rescan-end],\n\
239			 \t[--start-group archives... --end-group], \
240			 [-( archives... -)]\n\
241			 \t\t\trescan specified archive group upon reaching\n\
242			 \t\t\tthe end of the group, until no further\n\
243			 \t\t\tmember extraction occurs\n"
244@ MSG_ARG_DETAIL_ZSCAP	"\t[-z symbolcap]\tconvert object capabilities to \
245			 symbol capabilities\n"
246@ MSG_ARG_DETAIL_ZTARG	"\t[-z target=platform]\n\
247			 \t\t\ttarget machine for cross linking\n"
248@ MSG_ARG_DETAIL_ZT	"\t[-z text]\tdisallow output relocations against \
249			 text\n"
250@ MSG_ARG_DETAIL_ZTO	"\t[-z textoff]\tallow output relocations against \
251			 text\n"
252@ MSG_ARG_DETAIL_ZTW	"\t[-z textwarn]\twarn if there are relocations \
253			 against text\n"
254@ MSG_ARG_DETAIL_ZTY	"\t[-z type=type]\tspecify the type of object \
255			 (exec, kmod, reloc, shared)\n"
256@ MSG_ARG_DETAIL_ZWRAP	"\t[-z wrap=symbol], [-wrap=symbol], [--wrap=symbol]\n\
257			 \t\t\twrap symbol references\n"
258@ MSG_ARG_DETAIL_ZVER	"\t[-z verbose]\t\
259			 generate warnings for suspicious processings\n"
260
261#
262# TRANSLATION_NOTE -- End of USAGE message
263#
264@ MSG_GRP_INVALNDX	"file %s: group section [%u]%s: entry %d: \
265			 invalid section index: %d"
266
267# Relocation processing messages (some of these are required to satisfy
268# do_reloc(), which is common code used by cmd/sgs/rtld - make sure both
269# message files remain consistent).
270
271@ MSG_REL_NOFIT		"relocation error: %s: file %s: symbol %s: \
272			 value 0x%llx does not fit"
273@ MSG_REL_NONALIGN	"relocation error: %s: file %s: symbol %s: \
274			 offset 0x%llx is non-aligned"
275@ MSG_REL_NULL		"relocation error: file %s: section [%u]%s: \
276			 skipping null relocation record"
277@ MSG_REL_NOTSUP	"relocation error: %s: file %s: section [%u]%s: \
278			 relocation not currently supported"
279@ MSG_REL_PICREDLOC	"relocation error: %s: file %s symbol %s: \
280			 -z redlocsym may not be used for pic code"
281@ MSG_REL_TLSLE		"relocation error: %s: file %s: symbol %s: \
282			 relocation illegal when building a shared object"
283@ MSG_REL_TLSBND	"relocation error: %s: file %s: symbol %s: \
284			 bound to: %s: relocation illegal when not bound \
285			 to object being created"
286@ MSG_REL_TLSSTAT	"relocation error: %s: file %s: symbol %s: \
287			 relocation illegal when building a static object"
288@ MSG_REL_TLSBADSYM	"relocation error: %s: file %s: symbol %s: \
289			 bad symbol type %s: symbol type must be TLS"
290@ MSG_REL_BADTLS	"relocation error: %s: file %s: symbol %s: \
291			 relocation illegal for TLS symbol"
292@ MSG_REL_BADGOTBASED	"relocation error: %s: file %s: symbol %s: a GOT \
293			 relative relocation must reference a local symbol"
294@ MSG_REL_UNKNWSYM	"relocation error: %s: file %s: section [%u]%s: \
295			 attempt to relocate with respect to unknown \
296			 symbol %s: offset 0x%llx, symbol index %d"
297@ MSG_REL_UNSUPSZ	"relocation error: %s: file %s: symbol %s: \
298			 offset size (%d bytes) is not supported"
299@ MSG_REL_INVALOFFSET	"relocation error: %s: file %s section [%u]%s: \
300			 invalid offset symbol '%s': offset 0x%llx"
301@ MSG_REL_INVALRELT	"relocation error: file %s: section [%u]%s: \
302			 invalid relocation type: 0x%x"
303@ MSG_REL_EMPTYSEC	"relocation error: %s: file %s: symbol %s: \
304			 attempted against empty section [%u]%s"
305@ MSG_REL_EXTERNSYM	"relocation error: %s: file %s: symbol %s: \
306			 external symbolic relocation against non-allocatable \
307			 section %s; cannot be processed at runtime: \
308			 relocation ignored"
309@ MSG_REL_UNEXPREL	"relocation error: %s: file %s: symbol %s: \
310			 unexpected relocation; generic processing performed"
311@ MSG_REL_UNEXPSYM	"relocation error: %s: file %s: symbol %s: \
312			 unexpected symbol referenced from file %s"
313@ MSG_REL_SYMDISC	"relocation error: %s: file %s: section [%u]%s: \
314			 symbol %s: symbol has been discarded with discarded \
315			 section: [%u]%s"
316@ MSG_REL_NOSYMBOL	"relocation error: %s: file %s: section: [%u]%s: \
317			 offset: 0x%llx: relocation requires reference symbol"
318@ MSG_REL_DISPREL1	"relocation error: %s: file %s: symbol %s: \
319			 displacement relocation applied to the symbol \
320			 %s at 0x%llx: symbol %s is a copy relocated symbol"
321@ MSG_REL_UNSUPSIZE	"relocation error: %s: file %s: section [%u]%s: \
322			 relocation against section symbol unsupported"
323
324@ MSG_REL_DISPREL2	"relocation warning: %s: file %s: symbol %s: \
325			 may contain displacement relocation"
326@ MSG_REL_DISPREL3	"relocation warning: %s: file %s: symbol %s: \
327			 displacement relocation applied to the symbol \
328			 %s: at 0x%llx: displacement relocation will not be \
329			 visible in output image"
330@ MSG_REL_DISPREL4	"relocation warning: %s: file %s: symbol %s: \
331			 displacement relocation to be applied to the symbol \
332			 %s: at 0x%llx: displacement relocation will be \
333			 visible in output image"
334@ MSG_REL_COPY		"relocation warning: %s: file %s: symbol %s: \
335			 relocation bound to a symbol with STV_PROTECTED \
336			 visibility"
337@ MSG_RELINVSEC		"relocation warning: %s: file %s: section: [%u]%s: \
338			 against suspicious section [%u]%s; relocation ignored"
339@ MSG_REL_TLSIE		"relocation warning: %s: file %s: symbol %s: \
340			 relocation has restricted use when building a shared \
341			 object"
342
343@ MSG_REL_SLOPCDATNONAM	"relocation warning: %s: file %s: section [%u]%s: \
344			 relocation against discarded COMDAT section [%u]%s: \
345			 redirected to file %s"
346@ MSG_REL_SLOPCDATNAM	"relocation warning: %s: file %s: section [%u]%s: \
347			 symbol %s: relocation against discarded COMDAT \
348			 section [%u]%s: redirected to file %s"
349@ MSG_REL_SLOPCDATNOSYM	"relocation warning: %s: file %s: section [%u]%s: \
350			 symbol %s: relocation against discarded COMDAT \
351			 section [%u]%s: symbol not found, relocation ignored"
352
353@ MSG_REL_NOREG		"relocation error: REGISTER relocation not supported \
354			 on target architecture"
355
356#
357# TRANSLATION_NOTE
358#	The following 7 messages are the message to print the
359#	following example messages.
360#
361#Text relocation remains		      referenced
362#    against symbol		    offset	in file
363#str				     0x14	main.o
364#printf				     0x1c	main.o
365#
366#	The first two lines are the header, and the next msgid
367#	is the format string for the header.
368#	Tabs and spaces are used for alignment.
369#	The first and third %s are for: "Text relocation remains against symbol"
370#	The second %s and fourth %s are for: "referenced in file"
371#	The third %s is for: "offset"
372#
373@ MSG_REL_REMAIN_FMT_1	"%-40s\t%s\n    %s\t\t    %s\t%s"
374#
375# TRANSLATION_NOTE
376#	The next two msdid make a sentence. So translate:
377#		"Text relocation remain against symbol"
378#	And separate them into two msgstr considering the proper
379#	alignment.
380@ MSG_REL_RMN_ITM_11	"Text relocation remains"
381@ MSG_REL_RMN_ITM_12	"against symbol"
382@ MSG_REL_RMN_ITM_13	"warning: Text relocation remains"
383
384@ MSG_REL_RMN_ITM_2	"offset"
385
386#
387# TRANSLATION_NOTE
388#	The next two msdid make a sentence. So translate:
389#		"referenced in file"
390#	And separate them into two msgstr considering the proper
391#	alignment.
392@ MSG_REL_RMN_ITM_31	"referenced"
393@ MSG_REL_RMN_ITM_32	"in file"
394@ MSG_REL_REMAIN_2	"%-35s 0x%-8llx\t%s"
395@ MSG_REL_REMAIN_3	"relocations remain against allocatable but \
396			 non-writable sections"
397
398# Files processing messages
399
400@ MSG_FIL_MULINC_1	"file %s: attempted multiple inclusion of file"
401@ MSG_FIL_MULINC_2	"file %s: linked to %s: attempted multiple inclusion \
402			 of file"
403@ MSG_FIL_SOINSTAT	"input of shared object '%s' in static mode"
404@ MSG_FIL_INVALSEC	"file %s: section [%u]%s has invalid type %s"
405@ MSG_FIL_NOTFOUND	"file %s: required by %s, not found"
406@ MSG_FIL_MALSTR	"file %s: section [%u]%s: malformed string table, \
407			 initial or final byte"
408@ MSG_FIL_PTHTOLONG	"'%s/%s' pathname too long"
409@ MSG_FIL_EXCLUDE	"file %s: section [%u]%s contains both SHF_EXCLUDE and \
410			 SHF_ALLOC flags: SHF_EXCLUDE ignored"
411@ MSG_FIL_INTERRUPT	"file %s: creation interrupted: %s"
412@ MSG_FIL_INVRELOC1	"file %s: section [%u]%s: relocations can not be \
413			 applied against section [%u]%s"
414@ MSG_FIL_INVSHINFO	"file %s: section [%u]%s: has invalid sh_info: %lld"
415@ MSG_FIL_INVSHLINK	"file %s: section [%u]%s: has invalid sh_link: %lld"
416@ MSG_FIL_INVSHENTSIZE	"file %s: section [%u]%s: has invalid sh_entsize: %lld"
417@ MSG_FIL_NOSTRTABLE	"file %s: section [%u]%s: symbol[%d]: specifies string \
418			 table offset 0x%llx: no string table is available"
419@ MSG_FIL_EXCSTRTABLE	"file %s: section [%u]%s: symbol[%d]: specifies string \
420			 table offset 0x%llx: exceeds string table %s: \
421			 size 0x%llx"
422@ MSG_FIL_NONAMESYM	"file %s: section [%u]%s: symbol[%d]: global symbol has \
423			 no name"
424@ MSG_FIL_UNKCAP	"file %s: section [%u]%s: unknown capability tag: %d"
425@ MSG_FIL_BADSF1	"file %s: section [%u]%s: unknown software \
426			 capabilities: 0x%llx; ignored"
427@ MSG_FIL_INADDR32SF1	"file %s: section [%u]%s: software capability ADDR32: is \
428			 ineffective when building 32-bit object; ignored"
429@ MSG_FIL_EXADDR32SF1	"file %s: section [%u]%s: software capability ADDR32: \
430			 requires executable be built with ADDR32 capability"
431
432@ MSG_FIL_BADORDREF	"file %s: section [%u]%s: contains illegal reference \
433			 to discarded section: [%u]%s"
434
435# Recording name conflicts
436
437@ MSG_REC_OPTCNFLT	"recording name conflict: file '%s' and %s provide \
438			 identical dependency names: %s"
439@ MSG_REC_OBJCNFLT	"recording name conflict: file '%s' and file '%s' \
440			 provide identical dependency names: %s  %s"
441@ MSG_REC_CNFLTHINT	"(possible multiple inclusion of the same file)"
442
443# System call messages
444
445@ MSG_SYS_OPEN		"file %s: open failed: %s"
446@ MSG_SYS_UNLINK	"file %s: unlink failed: %s"
447@ MSG_SYS_MMAPANON	"mmap anon failed: %s"
448@ MSG_SYS_MALLOC	"malloc failed: %s"
449
450
451# Messages related to platform support
452
453@ MSG_TARG_UNSUPPORTED	"unsupported ELF machine type: %s"
454
455
456# ELF processing messages
457
458@ MSG_ELF_LIBELF	"libelf: version not supported: %d"
459
460@ MSG_ELF_ARMEM		"file %s: unable to locate archive member;\n\t\
461			 offset=%x, symbol=%s"
462
463@ MSG_ELF_ARSYM		"file %s ignored: unable to locate archive symbol table"
464
465@ MSG_ELF_VERSYM	"file %s: version symbol section entry mismatch:\n\t\
466			 (section [%u]%s entries=%d; section [%u]%s entries=%d)"
467
468@ MSG_ELF_NOGROUPSECT	"file %s: section [%u]%s: SHF_GROUP flag set, but no \
469			 corresponding SHT_GROUP section found"
470
471# Section processing errors
472
473@ MSG_SCN_NONALLOC	"%s: non-allocatable section '%s' directed to a \
474			 loadable segment: %s"
475
476@ MSG_SCN_MULTICOMDAT	"file %s: section [%u]%s: cannot be susceptible to multiple \
477			 COMDAT mechanisms: %s"
478
479@ MSG_SCN_DWFOVRFLW	"%s: section %s: encoded DWARF data exceeds \
480			 section size"
481@ MSG_SCN_DWFBADENC	"%s: section %s: invalid DWARF encoding: %#x"
482
483# Symbol processing errors
484
485@ MSG_SYM_NOSECDEF	"symbol '%s' in file %s has no section definition"
486@ MSG_SYM_INVSEC	"symbol '%s' in file %s associated with invalid \
487			 section[%lld]"
488@ MSG_SYM_TLS		"symbol '%s' in file %s (STT_TLS), is defined \
489			 in a non-SHF_TLS section"
490@ MSG_SYM_BADADDR	"symbol '%s' in file %s: section [%u]%s: size %#llx: \
491			 symbol (address %#llx, size %#llx) lies outside \
492			 of containing section"
493@ MSG_SYM_BADADDR_ROTXT	"symbol '%s' in file %s: readonly text section \
494			 [%u]%s: size %#llx: symbol (address %#llx, \
495			 size %#llx) lies outside of containing section"
496@ MSG_SYM_MULDEF	"symbol '%s' is multiply-defined:"
497@ MSG_SYM_CONFVIS	"symbol '%s' has conflicting visibilities:"
498@ MSG_SYM_DIFFTYPE	"symbol '%s' has differing types:"
499@ MSG_SYM_DIFFATTR	"symbol '%s' has differing %s:\n\
500			 \t(file %s value=0x%llx; file %s value=0x%llx);"
501@ MSG_SYM_FILETYPES	"\t(file %s type=%s; file %s type=%s);"
502@ MSG_SYM_VISTYPES	"\t(file %s visibility=%s; file %s visibility=%s);"
503@ MSG_SYM_DEFTAKEN	"\t%s definition taken"
504@ MSG_SYM_DEFUPDATE	"\t%s definition taken and updated with larger size"
505@ MSG_SYM_LARGER	"\tlargest value applied"
506@ MSG_SYM_TENTERR	"\ttentative symbol cannot override defined symbol \
507			 of smaller size"
508
509@ MSG_SYM_INVSHNDX	"symbol %s has invalid section index; \
510			 ignored:\n\t(file %s value=%s);"
511@ MSG_SYM_NONGLOB	"global symbol %s has non-global binding:\n\
512			 \t(file %s value=%s);"
513@ MSG_SYM_RESERVE	"reserved symbol '%s' already defined in file %s"
514@ MSG_SYM_NOTNULL	"undefined symbol '%s' with non-zero value encountered \
515			 from file %s"
516@ MSG_SYM_DUPSORTADDR	"section %s: symbol '%s' and symbol '%s' have the \
517			 same address: %#llx: remove duplicate with \
518			 NOSORTSYM mapfile directive"
519
520@ MSG_PSYM_INVMINFO1	"file %s: section [%u]%s: entry[%d] has invalid m_info: \
521			 0x%llx for symbol index"
522@ MSG_PSYM_INVMINFO2	"file %s: section [%u]%s: entry[%d] has invalid m_info: \
523			 0x%llx for size"
524@ MSG_PSYM_INVMREPEAT	"file %s: section [%u]%s: entry[%d] has invalid m_repeat: \
525			 0x%llx"
526@ MSG_PSYM_CANNOTEXPND	"file %s: section [%u]%s: entry[%d] can not be expanded: \
527			 associated symbol size is unknown %s"
528@ MSG_PSYM_NOSTATIC	"and partial initialization cannot be deferred to \
529			 a static object"
530@ MSG_MOVE_OVERLAP	"file %s: section [%u]%s: symbol '%s' overlapping move \
531			 initialization: start=0x%llx, length=0x%llx: \
532			 start=0x%llx, length=0x%llx"
533@ MSG_PSYM_EXPREASON1	"output file is static object"
534@ MSG_PSYM_EXPREASON2	"-z nopartial option in effect"
535@ MSG_PSYM_EXPREASON3	"move infrastructure size is greater than move data"
536
537#
538# Support library failures
539#
540@ MSG_SUP_NOLOAD	"dlopen() of support library (%s) failed with \
541			 error: %s"
542@ MSG_SUP_BADVERSION	"initialization of support library (%s) failed with \
543			 bad version.  supported: %d returned: %d"
544
545
546#
547# TRANSLATION_NOTE
548#	The following 7 messages are the message to print the
549#	following example messages.
550#
551#Undefined			first referenced
552# symbol			    in file
553#inquire                            halt_hold.o
554#
555@ MSG_SYM_FMT_UNDEF	"%s\t\t\t%s\
556			 \n %s  \t\t\t    %s"
557
558#
559# TRANSLATION_NOTE
560#	The next two msdid make a sentence. So translate:
561#		"Undefined symbol"
562#	And separate them into two msgstr considering the proper
563#	alignment.
564@ MSG_SYM_UNDEF_ITM_11	"Undefined"
565@ MSG_SYM_UNDEF_ITM_12	"symbol"
566#
567# TRANSLATION_NOTE
568#	The next two msdid make a sentence. So translate:
569#		"first referenced in file"
570#	And separate them into two msgstr considering the proper
571#	alignment.
572@ MSG_SYM_UNDEF_ITM_21	"first referenced"
573@ MSG_SYM_UNDEF_ITM_22	"in file"
574#
575
576@ MSG_SYM_UND_UNDEF	"%-35s %s"
577@ MSG_SYM_UND_NOVER	"%-35s %s  (symbol has no version assigned)"
578@ MSG_SYM_UND_IMPL	"%-35s %s  (symbol belongs to implicit dependency %s)"
579@ MSG_SYM_UND_NOTA	"%-35s %s  (symbol belongs to unavailable version %s \
580			 (%s))"
581@ MSG_SYM_UND_BNDLOCAL	"%-35s %s  (symbol scope specifies local binding)"
582
583@ MSG_SYM_ENTRY		"entry point"
584@ MSG_SYM_UNDEF		"%s symbol '%s' is undefined"
585@ MSG_SYM_EXTERN	"%s symbol '%s' is undefined  (symbol belongs to \
586			 dependency %s)"
587@ MSG_SYM_NOCRT		"symbol '%s' not found, but %s section exists - \
588			 possible link-edit without using the compiler driver"
589
590# Output file update messages
591
592@ MSG_UPD_NOREADSEG	"No read-only segments found.  Setting '_etext' to 0"
593@ MSG_UPD_NORDWRSEG	"No read-write segments found.  Setting '_edata' to 0"
594@ MSG_UPD_NOSEG		"Setting 'end' and '_end' to 0"
595
596@ MSG_UPD_SEGOVERLAP	"%s: segment address overlap;\n\
597			 \tprevious segment ending at address 0x%llx overlaps\n\
598			 \tuser defined segment '%s' starting at address 0x%llx"
599@ MSG_UPD_LARGSIZE	"%s: segment %s calculated size 0x%llx\n\
600			 \tis larger than user-defined size 0x%llx"
601
602@ MSG_UPD_NOBITS	"NOBITS section found before end of initialized data"
603@ MSG_SEG_FIRNOTLOAD	"First segment has type %s, PT_LOAD required: %s"
604@ MSG_UPD_MULEHFRAME	"file %s; section [%u]%s and file %s; section [%u]%s \
605			 have incompatibile attributes and cannot \
606			 be merged into a single output section"
607
608
609# Version processing messages
610
611@ MSG_VER_HIGHER	"file %s: version revision %d is higher than \
612			 expected %d"
613@ MSG_VER_NOEXIST	"file %s: version '%s' does not exist:\n\
614			 \trequired by file %s"
615@ MSG_VER_UNDEF		"version '%s' undefined, referenced by version '%s':\n\
616			 \trequired by file %s"
617@ MSG_VER_UNAVAIL	"file %s: version '%s' is unavailable:\n\
618			 \trequired by file %s"
619@ MSG_VER_DEFINED	"version symbol '%s' already defined in file %s"
620@ MSG_VER_INVALNDX	"version symbol '%s' from file %s has an invalid \
621			 version index (%d)"
622@ MSG_VER_ADDVERS	"unused $ADDVERS specification from file '%s' \
623			 for object '%s'\nversion(s):"
624@ MSG_VER_ADDVER	"\t%s"
625@ MSG_VER_CYCLIC	"following versions generate cyclic dependency:"
626
627# Capabilities messages
628
629@ MSG_CAP_MULDEF	"capabilities symbol '%s' has multiply-defined members:"
630@ MSG_CAP_MULDEFSYMS	"\t(file %s symbol '%s'; file %s symbol '%s');"
631@ MSG_CAP_REDUNDANT	"file %s: section [%u]%s: symbol capabilities \
632			 redundant, as object capabilities are more restrictive"
633@ MSG_CAP_NOSYMSFOUND	"no global symbols have been found that are associated \
634			 with capabilities identified relocatable objects: \
635			 -z symbolcap has no effect"
636
637@ MSG_CAPINFO_INVALSYM	"file %s: capabilities info section [%u]%s: index %d: \
638			 family member symbol '%s': invalid"
639@ MSG_CAPINFO_INVALLEAD	"file %s: capabilities info section [%u]%s: index %d: \
640			 family lead symbol '%s': invalid symbol index %d"
641
642# Basic strings
643
644@ MSG_STR_ALIGNMENTS	"alignments"
645@ MSG_STR_COMMAND	"(command line)"
646@ MSG_STR_TLSREL	"(internal TLS relocation requirement)"
647@ MSG_STR_SIZES		"sizes"
648@ MSG_STR_UNKNOWN       "<unknown>"
649@ MSG_STR_SECTION	"%s (section)"
650@ MSG_STR_SECTION_MSTR	"%s (merged string section)"
651
652#
653# TRANSLATION_NOTE
654#	The elf_ function name represents a man page reference and should not
655#	be translated.
656@ MSG_ELF_BEGIN		"file %s: elf_begin"
657@ MSG_ELF_CNTL		"file %s: elf_cntl"
658@ MSG_ELF_GETARHDR	"file %s: elf_getarhdr"
659@ MSG_ELF_GETARSYM	"file %s: elf_getarsym"
660@ MSG_ELF_GETDATA	"file %s: elf_getdata"
661@ MSG_ELF_GETEHDR	"file %s: elf_getehdr"
662@ MSG_ELF_GETPHDR	"file %s: elf_getphdr"
663@ MSG_ELF_GETSCN	"file %s: elf_getscn: scnndx: %d"
664@ MSG_ELF_GETSHDR	"file %s: elf_getshdr"
665@ MSG_ELF_MEMORY	"file %s: elf_memory"
666@ MSG_ELF_NDXSCN	"file %s: elf_ndxscn"
667@ MSG_ELF_NEWDATA	"file %s: elf_newdata"
668@ MSG_ELF_NEWEHDR	"file %s: elf_newehdr"
669@ MSG_ELF_NEWSCN	"file %s: elf_newscn"
670@ MSG_ELF_NEWPHDR	"file %s: elf_newphdr"
671@ MSG_ELF_STRPTR	"file %s: elf_strptr"
672@ MSG_ELF_UPDATE	"file %s: elf_update"
673@ MSG_ELF_SWAP_WRIMAGE	"file %s: _elf_swap_wrimage"
674
675
676@ MSG_REJ_MACH		"file %s: wrong ELF machine type: %s"
677@ MSG_REJ_CLASS		"file %s: wrong ELF class: %s"
678@ MSG_REJ_DATA		"file %s: wrong ELF data format: %s"
679@ MSG_REJ_TYPE		"file %s: bad ELF type: %s"
680@ MSG_REJ_BADFLAG	"file %s: bad ELF flags value: %s"
681@ MSG_REJ_MISFLAG	"file %s: mismatched ELF flags value: %s"
682@ MSG_REJ_VERSION	"file %s: mismatched ELF/lib version: %s"
683@ MSG_REJ_HAL		"file %s: HAL R1 extensions required"
684@ MSG_REJ_US3		"file %s: Sun UltraSPARC III extensions required"
685@ MSG_REJ_STR		"file %s: %s"
686@ MSG_REJ_UNKFILE	"file %s: unknown file type"
687@ MSG_REJ_UNKCAP	"file=%s; unknown capability: %d"
688@ MSG_REJ_HWCAP_1	"file %s: hardware capability (CA_SUNW_HW_1) \
689			 unsupported: %s"
690@ MSG_REJ_SFCAP_1	"file %s: software capability (CA_SUNW_SF_1) \
691			 unsupported: %s"
692@ MSG_REJ_MACHCAP	"file %s: machine capability (CA_SUNW_MACH) \
693			 unsupported: %s"
694@ MSG_REJ_PLATCAP	"file %s: platform capability (CA_SUNW_PLAT) \
695			 unsupported: %s"
696@ MSG_REJ_HWCAP_2	"file %s: hardware capability (CA_SUNW_HW_2) \
697			 unsupported: %s"
698@ MSG_REJ_ARCHIVE	"file %s: invalid archive use"
699@ MSG_REJ_KMOD		"file %s: kernel modules can't be link-edit input"
700
701# Guidance messages
702@ MSG_GUIDE_SUMMARY	"see ld(1) -z guidance for more information"
703@ MSG_GUIDE_DEFS	"-z defs option recommended for shared objects"
704@ MSG_GUIDE_DIRECT	"-B direct or -z direct option recommended before \
705			 first dependency"
706@ MSG_GUIDE_LAZYLOAD	"-z lazyload option recommended before \
707			 first dependency"
708@ MSG_GUIDE_MAPFILE	"version 2 mapfile syntax recommended: %s"
709@ MSG_GUIDE_TEXT	"position independent (PIC) code recommended for \
710			 shared objects"
711@ MSG_GUIDE_UNUSED	"removal of unused dependency recommended: %s"
712@ MSG_GUIDE_KMOD	"use -z type=kmod, not -r -dy"
713
714@ _END_
715
716
717# The following strings represent reserved names.  Reference to these strings
718# is via the MSG_ORIG() macro, and thus translations are not required.
719
720@ MSG_STR_EOF		"<eof>"
721@ MSG_STR_ERROR		"<error>"
722@ MSG_STR_EMPTY		""
723@ MSG_QSTR_BANG		"'!'"
724@ MSG_STR_COLON		":"
725@ MSG_QSTR_COLON	"':'"
726@ MSG_QSTR_SEMICOLON	"';'"
727@ MSG_QSTR_EQUAL	"'='"
728@ MSG_QSTR_PLUSEQ	"'+='"
729@ MSG_QSTR_MINUSEQ	"'-='"
730@ MSG_QSTR_ATSIGN	"'@'"
731@ MSG_QSTR_DASH		"'-'"
732@ MSG_QSTR_LEFTBKT	"'{'"
733@ MSG_QSTR_RIGHTBKT	"'}'"
734@ MSG_QSTR_PIPE		"'|'"
735@ MSG_QSTR_STAR		"'*'"
736@ MSG_STR_DOT		"."
737@ MSG_STR_SLASH		"/"
738@ MSG_STR_COMMA		","
739@ MSG_STR_DYNAMIC	"(.dynamic)"
740@ MSG_STR_ORIGIN	"$ORIGIN"
741@ MSG_STR_MACHINE	"$MACHINE"
742@ MSG_STR_PLATFORM	"$PLATFORM"
743@ MSG_STR_ISALIST	"$ISALIST"
744@ MSG_STR_OSNAME	"$OSNAME"
745@ MSG_STR_OSREL		"$OSREL"
746@ MSG_STR_UU_REAL_U	"__real_"
747@ MSG_STR_UU_WRAP_U	"__wrap_"
748@ MSG_STR_UELF32	"_ELF32"
749@ MSG_STR_UELF64	"_ELF64"
750@ MSG_STR_USPARC	"_sparc"
751@ MSG_STR_UX86		"_x86"
752@ MSG_STR_TRUE		"true"
753
754@ MSG_STR_CDIR_ADD	"$add"
755@ MSG_STR_CDIR_CLEAR	"$clear"
756@ MSG_STR_CDIR_ERROR	"$error"
757@ MSG_STR_CDIR_MFVER	"$mapfile_version"
758@ MSG_STR_CDIR_IF	"$if"
759@ MSG_STR_CDIR_ELIF	"$elif"
760@ MSG_STR_CDIR_ELSE	"$else"
761@ MSG_STR_CDIR_ENDIF	"$endif"
762
763@ MSG_STR_GROUP		"GROUP"
764@ MSG_STR_SUNW_COMDAT	"SUNW_COMDAT"
765
766@ MSG_FMT_ARMEM		"%s(%s)"
767@ MSG_FMT_COLPATH	"%s:%s"
768@ MSG_FMT_SYMNAM	"'%s'"
769@ MSG_FMT_NULLSYMNAM	"%s[%d]"
770@ MSG_FMT_STRCAT	"%s%s"
771
772@ MSG_PTH_RTLD		"/usr/lib/ld.so.1"
773
774@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
775
776
777# Section strings
778
779@ MSG_SCN_BSS		".bss"
780@ MSG_SCN_DATA		".data"
781@ MSG_SCN_COMMENT	".comment"
782@ MSG_SCN_DEBUG		".debug"
783@ MSG_SCN_DEBUG_INFO	".debug_info"
784@ MSG_SCN_DYNAMIC	".dynamic"
785@ MSG_SCN_DYNSYMSORT	".SUNW_dynsymsort"
786@ MSG_SCN_DYNTLSSORT	".SUNW_dyntlssort"
787@ MSG_SCN_DYNSTR	".dynstr"
788@ MSG_SCN_DYNSYM	".dynsym"
789@ MSG_SCN_DYNSYM_SHNDX	".dynsym_shndx"
790@ MSG_SCN_LDYNSYM	".SUNW_ldynsym"
791@ MSG_SCN_LDYNSYM_SHNDX	".SUNW_ldynsym_shndx"
792@ MSG_SCN_EX_SHARED	".ex_shared"
793@ MSG_SCN_EX_RANGES	".exception_ranges"
794@ MSG_SCN_EXCL		".excl"
795@ MSG_SCN_FINI		".fini"
796@ MSG_SCN_FINIARRAY	".fini_array"
797@ MSG_SCN_GOT		".got"
798@ MSG_SCN_GNU_LINKONCE	".gnu.linkonce."
799@ MSG_SCN_HASH		".hash"
800@ MSG_SCN_INDEX		".index"
801@ MSG_SCN_INIT		".init"
802@ MSG_SCN_INITARRAY	".init_array"
803@ MSG_SCN_INTERP	".interp"
804@ MSG_SCN_LBSS		".lbss"
805@ MSG_SCN_LDATA		".ldata"
806@ MSG_SCN_LINE		".line"
807@ MSG_SCN_LRODATA	".lrodata"
808@ MSG_SCN_PLT		".plt"
809@ MSG_SCN_PREINITARRAY	".preinit_array"
810@ MSG_SCN_REL		".rel"
811@ MSG_SCN_RELA		".rela"
812@ MSG_SCN_RODATA	".rodata"
813@ MSG_SCN_SBSS		".sbss"
814@ MSG_SCN_SBSS2		".sbss2"
815@ MSG_SCN_SDATA		".sdata"
816@ MSG_SCN_SDATA2	".sdata2"
817@ MSG_SCN_SHSTRTAB	".shstrtab"
818@ MSG_SCN_STAB		".stab"
819@ MSG_SCN_STABEXCL	".stab.exclstr"
820@ MSG_SCN_STRTAB	".strtab"
821@ MSG_SCN_SUNWMOVE	".SUNW_move"
822@ MSG_SCN_SUNWRELOC	".SUNW_reloc"
823@ MSG_SCN_SUNWSYMINFO	".SUNW_syminfo"
824@ MSG_SCN_SUNWVERSION	".SUNW_version"
825@ MSG_SCN_SUNWVERSYM	".SUNW_versym"
826@ MSG_SCN_SUNWCAP	".SUNW_cap"
827@ MSG_SCN_SUNWCAPINFO	".SUNW_capinfo"
828@ MSG_SCN_SUNWCAPCHAIN	".SUNW_capchain"
829@ MSG_SCN_SYMTAB	".symtab"
830@ MSG_SCN_SYMTAB_SHNDX	".symtab_shndx"
831@ MSG_SCN_TBSS		".tbss"
832@ MSG_SCN_TDATA		".tdata"
833@ MSG_SCN_TEXT		".text"
834
835@ MSG_SYM_FINIARRAY	"finiarray"
836@ MSG_SYM_INITARRAY	"initarray"
837@ MSG_SYM_PREINITARRAY	"preinitarray"
838
839#
840# GNU section names
841#
842@ MSG_SCN_CTORS		".ctors"
843@ MSG_SCN_DTORS		".dtors"
844@ MSG_SCN_EHFRAME	".eh_frame"
845@ MSG_SCN_EHFRAME_HDR	".eh_frame_hdr"
846@ MSG_SCN_GCC_X_TBL	".gcc_except_table"
847@ MSG_SCN_JCR		".jcr"
848
849# Segment names for segments referenced by entrance criteria
850
851@ MSG_ENT_BSS		"bss"
852@ MSG_ENT_DATA		"data"
853@ MSG_ENT_EXTRA		"extra"
854@ MSG_ENT_LDATA		"ldata"
855@ MSG_ENT_LRODATA	"lrodata"
856@ MSG_ENT_NOTE		"note"
857@ MSG_ENT_TEXT		"text"
858
859# Symbol names
860
861@ MSG_SYM_START		"_start"
862@ MSG_SYM_MAIN		"main"
863
864@ MSG_SYM_FINI_U	"_fini"
865@ MSG_SYM_INIT_U	"_init"
866@ MSG_SYM_DYNAMIC	"DYNAMIC"
867@ MSG_SYM_DYNAMIC_U	"_DYNAMIC"
868@ MSG_SYM_EDATA		"edata"
869@ MSG_SYM_EDATA_U	"_edata"
870@ MSG_SYM_END		"end"
871@ MSG_SYM_END_U		"_end"
872@ MSG_SYM_ETEXT		"etext"
873@ MSG_SYM_ETEXT_U	"_etext"
874@ MSG_SYM_GOFTBL	"GLOBAL_OFFSET_TABLE_"
875@ MSG_SYM_GOFTBL_U	"_GLOBAL_OFFSET_TABLE_"
876@ MSG_SYM_PLKTBL	"PROCEDURE_LINKAGE_TABLE_"
877@ MSG_SYM_PLKTBL_U	"_PROCEDURE_LINKAGE_TABLE_"
878@ MSG_SYM_TLSGETADDR_U	"__tls_get_addr"
879@ MSG_SYM_TLSGETADDR_UU	"___tls_get_addr"
880
881@ MSG_SYM_L_END		"END_"
882@ MSG_SYM_L_END_U	"_END_"
883@ MSG_SYM_L_START	"START_"
884@ MSG_SYM_L_START_U	"_START_"
885
886@ MSG_SYM_SECBOUND_START "__start_"
887@ MSG_SYM_SECBOUND_STOP "__stop_"
888
889# Support functions
890
891@ MSG_SUP_VERSION	"ld_version"
892@ MSG_SUP_INPUT_DONE	"ld_input_done"
893
894@ MSG_SUP_START_64	"ld_start64"
895@ MSG_SUP_ATEXIT_64	"ld_atexit64"
896@ MSG_SUP_OPEN_64	"ld_open64"
897@ MSG_SUP_FILE_64	"ld_file64"
898@ MSG_SUP_INSEC_64	"ld_input_section64"
899@ MSG_SUP_SEC_64	"ld_section64"
900
901@ MSG_SUP_START		"ld_start"
902@ MSG_SUP_ATEXIT	"ld_atexit"
903@ MSG_SUP_OPEN		"ld_open"
904@ MSG_SUP_FILE		"ld_file"
905@ MSG_SUP_INSEC		"ld_input_section"
906@ MSG_SUP_SEC		"ld_section"
907
908#
909# Message previously in 'ld'
910#
911#
912@ _START_
913
914# System error messages
915
916@ MSG_SYS_STAT		"file %s: stat failed: %s"
917@ MSG_SYS_READ		"file %s: read failed: %s"
918@ MSG_SYS_NOTREG	"file %s: is not a regular file"
919
920# Argument processing messages
921
922@ MSG_ARG_DY_INCOMP	"%s option is incompatible with building a dynamic \
923			 executable"
924@ MSG_MARG_DY_INCOMP	"%s is incompatible with building a dynamic \
925			 executable"
926@ MSG_ARG_ST_INCOMP	"%s option is incompatible with building a static \
927			 object (-dn, -r, --relocatable)"
928@ MSG_MARG_ST_INCOMP	"%s is incompatible with building a static \
929			 object (-dn, -r, --relocatable)"
930@ MSG_MARG_ST_ONLYAVL	"%s is only available when building a shared object"
931@ MSG_ARG_INCOMP	"option %s and %s are incompatible"
932@ MSG_MARG_INCOMP	"%s and %s are incompatible"
933@ MSG_ARG_MTONCE	"option %s appears more than once, first setting taken"
934@ MSG_MARG_MTONCE	"%s appears more than once, first setting taken"
935@ MSG_ARG_ILLEGAL	"option %s has illegal argument '%s'"
936@ MSG_ARG_YP		"option -YP and -Y%c may not be specified concurrently"
937@ MSG_ARG_STRIP		"%s specified with %s; only debugging \
938			 information stripped"
939@ MSG_ARG_NOFILES	"no files on input command line"
940@ MSG_ARG_NOFLTR	"option %s is only meaningful when building a filter"
941@ MSG_ARG_NODEFLIB	"the default library search path has been suppressed, \
942			 but no runpaths have been specified via %s"
943@ MSG_ARG_NOENTRY	"entry point symbol '%s' is undefined"
944@ MSG_ARG_UNSUPPORTED	"option %s is no longer supported; ignored"
945@ MSG_MARG_ONLY		"option %s can only be used with a %s"
946@ MSG_ARG_UNKNOWN	"unrecognized option '-%c'"
947@ MSG_ARG_LONG_UNKNOWN	"unrecognized option '%s'"
948@ MSG_ARG_USEHELP	"use the -z help option for usage information"
949
950
951@ MSG_ARG_FLAGS		"flags processing errors"
952@ MSG_ARG_FILES		"file processing errors. No output written to %s"
953@ MSG_ARG_SYM_WARN	"symbol referencing errors"
954@ MSG_ARG_SYM_FATAL	"symbol referencing errors. No output written to %s"
955@ MSG_ARG_AR_GRP_OLAP	"%s cannot be nested"
956@ MSG_ARG_AR_GRP_BAD	"%s used without corresponding %s"
957
958
959# Messages used to refer to options where there is more than
960# one name accepted.
961
962@ MSG_MARG_AR_GRPS	"archive rescan groups \
963			 (-z rescan-start, -(, --start-group)"
964@ MSG_MARG_AR_GRP_END	"archive rescan group end option \
965			 (-z rescan-end, -), --end-group)"
966@ MSG_MARG_AR_GRP_START	"archive rescan group start option \
967			 (-z rescan-start, -(, --start-group)"
968@ MSG_MARG_ENTRY	"entry point option (-e, --entry)"
969@ MSG_MARG_FILTER_AUX	"auxiliary filter option (-f, --auxiliary)"
970@ MSG_MARG_FILTER	"filter option (-F, --filter)"
971@ MSG_MARG_OUTFILE	"output object option (-o, --output)"
972@ MSG_MARG_REL		"relocatable object option (-r, --relocatable, \
973			-z type=reloc)"
974@ MSG_MARG_RPATH	"runpath option (-R, -rpath)"
975@ MSG_MARG_SO		"shared object option (-G, -shared, -z type=shared)"
976@ MSG_MARG_SONAME	"soname option (-h, --soname)"
977@ MSG_MARG_STRIP	"strip option (-s, --strip-all)"
978@ MSG_MARG_TYPE_KMOD	"-z type=kmod"
979
980# Entrance criteria messages
981
982@ MSG_ENT_MAP_FMT_TIL_1	"\t\t%s\n\n"
983@ MSG_ENT_MAP_TITLE_1	"LINK EDITOR MEMORY MAP"
984
985#
986# TRANSLATION_NOTE -- Entry map header
987#
988# The next message is a format string for a title. The title is composed of
989# two lines. In C locale, it would look like:
990#
991#	output		input		new
992#	section		section		displacement	size
993#
994# The \t characters are used for alignment.  (output section), (input section),
995# and (new displacement) have to be aligned.
996#
997@ MSG_ENT_MAP_FMT_TIL_2	"\n%s\t\t%s\t\t%s\n%s\t\t%s\t\t%s\t%s\n\n"
998@ MSG_ENT_MAP_FMT_TIL_3	"\n%s\t\t%s\t\t%s\n%s\t\t%s\t\t%s\t\t%s\n\n"
999@ MSG_ENT_ITM_OUTPUT	"output"
1000@ MSG_ENT_ITM_INPUT	"input"
1001@ MSG_ENT_ITM_NEW	"new"
1002@ MSG_ENT_ITM_SECTION	"section"
1003@ MSG_ENT_ITM_DISPMNT	"displacement"
1004@ MSG_ENT_ITM_SIZE	"size"
1005@ MSG_ENT_ITM_VIRTUAL	"virtual"
1006@ MSG_ENT_ITM_ADDRESS	"address"
1007
1008@ MSG_ENT_MAP_ENTRY_1	"%-8.8s\t\t\t%08.2llx\t%08.2llx\n"
1009@ MSG_ENT_MAP_ENTRY_2	"\t\t%-8.8s\t%08.2llx\t%08.2llx %s\n"
1010
1011#
1012# TRANSLATION_NOTE -- multiple defined symbol table header
1013#
1014# In C locale, an example output is:
1015#
1016#		MULTIPLY DEFINED SYMBOLS
1017#
1018#
1019#symbol				  definition used     also defined in
1020#
1021#variable1                           main.o
1022#							./libfred.so
1023@ MSG_ENT_MUL_FMT_TIL_0	"\n\n\t\t%s\n\n\n"
1024@ MSG_ENT_MUL_TIL_0	"MULTIPLY DEFINED SYMBOLS"
1025
1026#
1027# TRANSLATION_NOTE -- This is the format string for:
1028#
1029#symbol				  definition used     also defined in
1030#
1031@ MSG_ENT_MUL_FMT_TIL_1	"%s\t\t\t\t  %s     %s\n\n"
1032@ MSG_ENT_MUL_ITM_SYM	"symbol"
1033@ MSG_ENT_MUL_ITM_DEF_0	"definition used"
1034@ MSG_ENT_MUL_ITM_DEF_1	"also defined in"
1035
1036#
1037# TRANSLATION_NOTE -- This is the format string for the second item:
1038#
1039@ MSG_ENT_MUL_ENTRY_1	"%-35s %s\n"
1040
1041#
1042# TRANSLATION_NOTE -- This is the format string for the third item:
1043#
1044@ MSG_ENT_MUL_ENTRY_2	"\t\t\t\t\t\t\t%s\n"
1045
1046@ MSG_ENT_NOSEC_1	"mapfile: %s segment: section '%s' does not appear \
1047			 in mapfile specified input file(s)"
1048@ MSG_ENT_NOSEC_2	"mapfile: %s segment: section '%s' does not appear \
1049			 in any input file"
1050
1051# Library messages
1052
1053@ MSG_LIB_NOTFOUND	"library -l%s: not found"
1054@ MSG_LIB_MALFORM	"LD_LIBRARY_PATH malformed"
1055@ MSG_LIB_BADYP		"-YP library path malformed"
1056
1057
1058# Mapfile processing messages
1059
1060@ MSG_MAP_BADAUTORED	"%s: %llu: auto-reduction ('*') can only be used in \
1061			 hidden/local, or eliminate scope"
1062@ MSG_MAP_BADFLAG	"%s: %llu: badly formed section flags '%s'"
1063@ MSG_MAP_BADBNAME	"%s: %llu: basename cannot contain path \
1064			 separator ('/'): %s"
1065@ MSG_MAP_BADONAME	"%s: %llu: object name cannot contain path \
1066			 separator ('/'): %s"
1067@ MSG_MAP_REDEFATT	"%s: %llu: redefining %s attribute for '%s'"
1068@ MSG_MAP_PREMEOF	"%s: %llu: premature EOF"
1069@ MSG_MAP_ILLCHAR	"%s: %llu: illegal character '\\%03o'"
1070@ MSG_MAP_MALFORM	"%s: %llu: malformed entry"
1071@ MSG_MAP_NONLOAD	"%s: %llu: %s not allowed on non-LOAD segments"
1072@ MSG_MAP_NOSTACK1	"%s: %llu: %s not allowed on STACK segment"
1073@ MSG_MAP_MOREONCE	"%s: %llu: %s set more than once on same line"
1074@ MSG_MAP_NOTERM	"%s: %llu: unterminated quoted string: %s"
1075@ MSG_MAP_SECINSEG	"%s: %llu: section within segment ordering done on \
1076			 a non-existent segment '%s'"
1077@ MSG_MAP_UNEXINHERIT	"%s: %llu: unnamed version cannot inherit from other \
1078			 versions: %s"
1079@ MSG_MAP_UNEXTOK	"%s: %llu: unexpected occurrence of '%c' token"
1080
1081@ MSG_MAP_SEGEMPLOAD	"%s: %llu: empty segment must be of type LOAD or NULL"
1082@ MSG_MAP_SEGEMPEXE	"%s: %llu: a LOAD empty segment definition is only \
1083			 allowed when creating a dynamic executable"
1084@ MSG_MAP_SEGEMPATT	"%s: %llu: a LOAD empty segment must have an address \
1085			 and size"
1086@ MSG_MAP_SEGEMPNOATT	"%s: %llu: a NULL empty segment must not have an \
1087			 address or size"
1088@ MSG_MAP_SEGEMPSEC	"%s: %llu: empty segment can not have sections \
1089			 assigned to it"
1090@ MSG_MAP_SEGEMNOPERM	"%s: %llu: empty segment must not have \
1091			 p_flags set: 0x%x"
1092
1093@ MSG_MAP_CNTADDRORDER	"%s: %llu: segment cannot have an explicit address \
1094			 and also be in the SEGMENT_ORDER list: %s"
1095@ MSG_MAP_CNTDISSEG	"%s: %llu: segment cannot be disabled: %s"
1096@ MSG_MAP_DUPNAMENT	"%s: %llu: cannot redefine entrance criteria: %s"
1097@ MSG_MAP_DUPORDSEG	"%s: %llu: segment is already in %s list: %s"
1098@ MSG_MAP_DUP_OS_ORD	"%s: %llu: section is already in OS_ORDER list: %s"
1099@ MSG_MAP_DUP_IS_ORD	"%s: %llu: entrance criteria is already in \
1100			 IS_ORDER list: %s"
1101@ MSG_MAP_UNKENT	"%s: %llu: unknown entrance criteria \
1102			 (ASSIGN_SECTION): %s"
1103@ MSG_MAP_UNKSEG	"%s: %llu: unknown segment: %s"
1104@ MSG_MAP_UNKSYMDEF	"%s: %llu: unknown symbol definition: %s"
1105@ MSG_MAP_UNKSEGTYP	"%s: %llu: unknown internal segment type %d"
1106@ MSG_MAP_UNKSOTYP	"%s: %llu: unknown shared object type: %s"
1107@ MSG_MAP_UNKSEGATT	"%s: %llu: unknown segment attribute: %s"
1108@ MSG_MAP_UNKSEGFLG	"%s: %llu: unknown segment flag: ?%c"
1109@ MSG_MAP_UNKSECTYP	"%s: %llu: unknown section type: %s"
1110
1111@ MSG_MAP_SEGSIZE	"%s: %lld: existing segment size symbols cannot \
1112			 be reset: %s"
1113@ MSG_MAP_SEGADDR	"%s: %llu: segment address or length '%s' %s"
1114@ MSG_MAP_BADCAPVAL	"%s: %llu: bad capability value: %s"
1115@ MSG_MAP_UNKCAPATTR	"%s: %llu: unknown capability attribute '%s'"
1116@ MSG_MAP_EMPTYCAP	"%s: %llu: empty capability definition; ignored"
1117
1118@ MSG_MAP_SYMDEF1	"%s: %llu: symbol '%s' is already defined in file: \
1119			 %s: %s"
1120@ MSG_MAP_SYMDEF2	"%s: %llu: symbol '%s': %s"
1121
1122@ MSG_MAP_EXPSCOL	"%s: %llu: expected a ';'"
1123@ MSG_MAP_EXPEQU	"%s: %llu: expected a '=', ':', '|', or '@'"
1124@ MSG_MAP_EXPSEGATT	"%s: %llu: expected one or more segment attributes \
1125			 after an '='"
1126@ MSG_MAP_EXPSEGNAM	"%s: %llu: expected a segment name at the beginning \
1127			 of a line"
1128@ MSG_MAP_EXPSEGTYPE	"%s: %llu: %s segment cannot be used with %s \
1129			 directive: %s"
1130@ MSG_MAP_EXPSYM_1	"%s: %llu: expected a symbol name after '@'"
1131@ MSG_MAP_EXPSYM_2	"%s: %llu: expected a symbol name after '{'"
1132@ MSG_MAP_EXPSEC	"%s: %llu: expected a section name after '|'"
1133@ MSG_MAP_EXPSO		"%s: %llu: expected a shared object definition \
1134			 after '-'"
1135@ MSG_MAP_MULTFILTEE	"%s: %llu: multiple filtee definitions are unsupported"
1136@ MSG_MAP_NOFILTER	"%s: %llu: filtee definition required"
1137@ MSG_MAP_BADSF1	"%s: %llu: unknown software capabilities: 0x%llx; \
1138			 ignored"
1139@ MSG_MAP_INADDR32SF1	"%s: %llu: software capability ADDR32: is ineffective \
1140			 when building 32-bit object: ignored"
1141@ MSG_MAP_NOINTPOSE	"%s: %llu: interposition symbols can only be defined \
1142			 when building a dynamic executable"
1143@ MSG_MAP_NOEXVLSZ	"%s: %llu: value and size attributes are incompatible \
1144			 with extern or parent symbols"
1145@ MSG_MAP_FLTR_ONLYAVL	"%s: %llu: symbol filtering is only available when \
1146			 building a shared object"
1147
1148@ MSG_MAP_SEGSAME	"segments '%s' and '%s' have the same assigned \
1149			 virtual address"
1150@ MSG_MAP_EXCLIMIT	"exceeds internal limit"
1151@ MSG_MAP_NOBADFRM	"number is badly formed"
1152
1153@ MSG_MAP_SEGTYP	"segment type"
1154@ MSG_MAP_SEGVADDR	"segment virtual address"
1155@ MSG_MAP_SEGPHYS	"segment physical address"
1156@ MSG_MAP_SEGLEN	"segment length"
1157@ MSG_MAP_SEGFLAG	"segment flags"
1158@ MSG_MAP_SEGALIGN	"segment alignment"
1159@ MSG_MAP_SEGROUND	"segment rounding"
1160
1161@ MSG_MAP_SECTYP	"section type"
1162@ MSG_MAP_SECFLAG	"section flags"
1163@ MSG_MAP_SECNAME	"section name"
1164
1165@ MSG_MAP_SYMVAL	"symbol value"
1166@ MSG_MAP_SYMSIZE	"symbol size"
1167
1168@ MSG_MAP_DIFF_SYMVAL	"symbol values differ"
1169@ MSG_MAP_DIFF_SYMSZ	"symbol sizes differ"
1170@ MSG_MAP_DIFF_SYMTYP	"symbol types differ"
1171@ MSG_MAP_DIFF_SYMNDX	"symbol indexes differ"
1172@ MSG_MAP_DIFF_SYMLCL	"symbol scope conflict against local and non-local"
1173@ MSG_MAP_DIFF_SYMGLOB	"symbol scope conflict against singleton/exported"
1174@ MSG_MAP_DIFF_SYMPROT	"symbol scope conflict against protected"
1175@ MSG_MAP_DIFF_SYMVER	"symbol version conflict"
1176@ MSG_MAP_DIFF_SYMMUL	"symbol multiple definition"
1177@ MSG_MAP_DIFF_SNGLDIR	"singleton scope and direct declaration are \
1178			 incompatible"
1179@ MSG_MAP_DIFF_PROTNDIR	"protected scope and no-direct declaration \
1180			 are incompatible"
1181
1182
1183@ MSG_MAP_SECORDER	"section ordering requested, but no matching section \
1184			 found: segment: %s section: %s"
1185
1186
1187# Mapfile Directives
1188
1189@ MSG_MAP_EXP_ATTR	"%s: %llu: expected attribute name (%s), or \
1190			 terminator (';', '}'): %s"
1191@ MSG_MAP_EXP_CAPMASK	"%s: %llu: expected capability name, integer value, or \
1192			 terminator (';', '}'): %s"
1193@ MSG_MAP_EXP_CAPNAME	"%s: %llu: expected name, or terminator (';', '}'): %s"
1194@ MSG_MAP_EXP_CAPID	"%s: %llu: expected name, or '{' following %s: %s"
1195@ MSG_MAP_EXP_CAPHW	"%s: %llu: expected hardware capability, or \
1196			 terminator (';', '}'): %s"
1197@ MSG_MAP_EXP_CAPSF	"%s: %llu: expected software capability, or \
1198			 terminator (';', '}'): %s"
1199@ MSG_MAP_EXP_EQ	"%s: %llu: expected '=' following %s: %s"
1200@ MSG_MAP_EXP_EQ_ALL	"%s: %llu: expected '=', '+=', or '-=' following %s: %s"
1201@ MSG_MAP_EXP_EQ_PEQ	"%s: %llu: expected '=' following %s: %s"
1202@ MSG_MAP_EXP_DIR	"%s: %llu: expected mapfile directive (%s): %s"
1203@ MSG_MAP_SFLG_EXBANG	"%s: %llu: '!' appears without corresponding flag"
1204@ MSG_MAP_EXP_FILNAM	"%s: %llu: expected file name following %s: %s"
1205@ MSG_MAP_EXP_FILPATH	"%s: %llu: expected file path following %s: %s"
1206@ MSG_MAP_EXP_INT	"%s: %llu: expected integer value following %s: %s"
1207@ MSG_MAP_EXP_LBKT	"%s: %llu: expected '{' following %s: %s"
1208@ MSG_MAP_EXP_OBJNAM	"%s: %llu: expected object name following %s: %s"
1209@ MSG_MAP_SFLG_ONEBANG	"%s: %llu: '!' can only be specified once per flag"
1210@ MSG_MAP_EXP_SECFLAG	"%s: %llu: expected section flag (%s), '!', or \
1211			 terminator (';', '}'): %s"
1212@ MSG_MAP_EXP_SECNAM	"%s: %llu: expected section name following %s: %s"
1213@ MSG_MAP_EXP_SEGFLAG	"%s: %llu: expected segment flag (%s), or \
1214			 terminator (';', '}'): %s"
1215@ MSG_MAP_EXP_ECNAM	"%s: %llu: expected entrance criteria (ASSIGN_SECTION) \
1216			 name, or terminator (';', '}'): %s"
1217@ MSG_MAP_EXP_SEGNAM	"%s: %llu: expected segment name following %s: %s"
1218@ MSG_MAP_EXP_SEM	"%s: %llu: expected ';' to terminate %s: %s"
1219@ MSG_MAP_EXP_SEMLBKT	"%s: %llu: expected ';' or '{' following %s: %s"
1220@ MSG_MAP_EXP_SEMRBKT	"%s: %llu: expected ';' or '}' to terminate %s: %s"
1221@ MSG_MAP_EXP_SHTYPE	"%s: %llu: expected section type: %s"
1222@ MSG_MAP_EXP_SYM	"%s: %llu: expected symbol name, symbol scope, \
1223			 or '*': %s"
1224@ MSG_MAP_EXP_SYMEND	"%s: %llu: expected inherited version name, or \
1225			 terminator (';'): %s"
1226@ MSG_MAP_EXP_SYMDELIM	"%s: %llu: expected one of ':', ';', or '{': %s"
1227@ MSG_MAP_EXP_SYMFLAG	"%s: %llu: expected symbol flag (%s), or \
1228			 terminator (';', '}'): %s"
1229@ MSG_MAP_EXP_SYMNAM	"%s: %llu: expected symbol name following %s: %s"
1230@ MSG_MAP_EXP_SYMSCOPE	"%s: %llu: expected symbol scope (%s): %s"
1231@ MSG_MAP_EXP_SYMTYPE	"%s: %llu: expected symbol type (%s): %s"
1232@ MSG_MAP_EXP_VERSION	"%s: %llu: expected version name following %s: %s"
1233@ MSG_MAP_BADEXTRA	"%s: %llu: unexpected text found following %s directive"
1234@ MSG_MAP_VALUELIMIT	"%s: %llu: numeric value exceeds word size: %s"
1235@ MSG_MAP_MALVALUE	"%s: %llu: malformed numeric value: %s"
1236@ MSG_MAP_BADVALUETAIL	"%s: %llu: unexpected characters following numeric \
1237			 constant: %s"
1238@ MSG_MAP_WSNEEDED	"%s: %llu: whitespace needed before token: %s"
1239@ MSG_MAP_BADCHAR	"%s: %llu: unexpected text: %s"
1240@ MSG_MAP_BADKWQUOTE	"%s: %llu: mapfile keywords should not be quoted: %s"
1241@ MSG_MAP_CDIR_NOTBOL	"%s: %llu: mapfile control directive not at start of \
1242			 line: %s"
1243@ MSG_MAP_NOATTR	"%s: %llu: %s specified no attributes (empty {})"
1244@ MSG_MAP_NOVALUES	"%s: %llu: %s specified without values"
1245@ MSG_MAP_INTERR	"<internal error>"
1246@ MSG_MAP_ISORDVER	"%s: %llu: version 0 mapfile ?O flag and version 1 \
1247			 segment IS_ORDER attribute are mutually exclusive: %s"
1248@ MSG_MAP_SYMATTR	"symbol attributes";
1249
1250# Mapfile Control Directives
1251
1252@ MSG_MAP_CDIR_BADVDIR	"%s: %llu: $mapfile_version directive must specify \
1253			 version 2 or higher: %d"
1254@ MSG_MAP_CDIR_BADVER	"%s: %llu: unknown mapfile version: %d"
1255@ MSG_MAP_CDIR_REPVER	"%s: %llu: $mapfile_version must be first directive \
1256			 in file"
1257@ MSG_MAP_CDIR_REQARG	"%s: %llu: %s directive requires an argument"
1258@ MSG_MAP_CDIR_REQNOARG	"%s: %llu: %s directive does not accept arguments"
1259@ MSG_MAP_CDIR_BAD	"%s: %llu: unrecognized mapfile control directive"
1260@ MSG_MAP_CDIR_NOIF	"%s: %llu: %s directive used without opening $if"
1261@ MSG_MAP_CDIR_ELSE	"%s: %llu: %s directive preceded by $else on line %d"
1262@ MSG_MAP_CDIR_NOEND	"%s: %llu: EOF encountered without closing $endif \
1263			 for $if on line %d"
1264@ MSG_MAP_CDIR_ERROR	"%s: %llu: error: %s"
1265
1266
1267# Mapfile Conditional Expressions
1268
1269@ MSG_MAP_CEXP_TOKERR	"%s: %llu: syntax error in conditional expression at: %s"
1270@ MSG_MAP_CEXP_SEMERR	"%s: %llu: malformed conditional expression"
1271@ MSG_MAP_CEXP_BADOPUSE	"%s: %llu: invalid operator use in conditional \
1272			 expression"
1273@ MSG_MAP_CEXP_UNBALPAR	"%s: %llu: unbalanced parenthesis in conditional \
1274			 expression"
1275@ MSG_MAP_BADCESC	"%s: %llu: unrecognized escape in double quoted \
1276			 token: \\%c\n"
1277
1278# Generic error diagnostic labels
1279
1280@ MSG_STR_NULL		"(null)"
1281
1282@ MSG_DBG_DFLT_FMT	"debug: "
1283@ MSG_DBG_AOUT_FMT	"debug: a.out: "
1284@ MSG_DBG_NAME_FMT	"debug: %s: "
1285
1286# -z assert-deflib strings
1287
1288@ MSG_ARG_ASSDEFLIB_MALFORMED	"library name malformed: %s"
1289@ MSG_ARG_ASSDEFLIB_FOUND	"dynamic library found on default search path \
1290				(%s): lib%s.so"
1291
1292@ _END_
1293
1294
1295# Software identification.  Note, the SGU strings is historic, and has
1296# little relevance.  It is preserved as applications have used this
1297# string to identify the Solaris link-editor.
1298
1299@ MSG_SGS_ID		"ld: Software Generation Utilities - \
1300			 Solaris Link Editors: "
1301
1302# The following strings represent reserved words, files, pathnames and symbols.
1303# Reference to this strings is via the MSG_ORIG() macro, and thus no message
1304# translation is required.
1305
1306@ MSG_DBG_FOPEN_MODE	"w"
1307
1308@ MSG_DBG_CLS32_FMT	"32: "
1309@ MSG_DBG_CLS64_FMT	"64: "
1310
1311@ MSG_STR_PATHTOK	";:"
1312@ MSG_STR_AOUT		"a.out"
1313
1314@ MSG_STR_LIB_A		"%s/lib%s.a"
1315@ MSG_STR_LIB_SO	"%s/lib%s.so"
1316@ MSG_STR_PATH		"%s/%s"
1317@ MSG_STR_STRNL		"%s\n"
1318@ MSG_STR_NL		"\n"
1319@ MSG_STR_CAPGROUPID	"CAP_GROUP_%d"
1320
1321@ MSG_STR_LD_DYNAMIC	"dynamic"
1322@ MSG_STR_SYMBOLIC	"symbolic"
1323@ MSG_STR_ELIMINATE	"eliminate"
1324@ MSG_STR_LOCAL		"local"
1325@ MSG_STR_PROGBITS	"progbits"
1326@ MSG_STR_SYMTAB	"symtab"
1327@ MSG_STR_DYNSYM	"dynsym"
1328@ MSG_STR_REL		"rel"
1329@ MSG_STR_RELA		"rela"
1330@ MSG_STR_STRTAB	"strtab"
1331@ MSG_STR_HASH		"hash"
1332@ MSG_STR_LIB		"lib"
1333@ MSG_STR_NOTE		"note"
1334@ MSG_STR_NOBITS	"nobits"
1335@ MSG_STR_HWCAP_1	"hwcap_1"
1336@ MSG_STR_SFCAP_1	"sfcap_1"
1337@ MSG_STR_SOEXT		".so"
1338
1339@ MSG_STR_OPTIONS	"3:6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:\
1340			 S:VW:Y:?"
1341
1342# Argument processing strings
1343
1344@ MSG_ARG_3		"-3"
1345@ MSG_ARG_6		"-6"
1346@ MSG_ARG_A		"-a"
1347@ MSG_ARG_B		"-b"
1348@ MSG_ARG_CB		"-B"
1349@ MSG_ARG_BDIRECT	"-Bdirect"
1350@ MSG_ARG_BDYNAMIC	"-Bdynamic"
1351@ MSG_ARG_BELIMINATE	"-Beliminate"
1352@ MSG_ARG_BGROUP	"-Bgroup"
1353@ MSG_ARG_BLOCAL	"-Blocal"
1354@ MSG_ARG_BNODIRECT	"-Bnodirect"
1355@ MSG_ARG_BSYMBOLIC	"-Bsymbolic"
1356@ MSG_ARG_BTRANSLATOR	"-Btranslator"
1357@ MSG_ARG_C		"-c"
1358@ MSG_ARG_D		"-d"
1359@ MSG_ARG_DY		"-dy"
1360@ MSG_ARG_CI		"-I"
1361@ MSG_ARG_CN		"-N"
1362@ MSG_ARG_P		"-p"
1363@ MSG_ARG_CP		"-P"
1364@ MSG_ARG_CQ		"-Q"
1365@ MSG_ARG_CY		"-Y"
1366@ MSG_ARG_CYL		"-YL"
1367@ MSG_ARG_CYP		"-YP"
1368@ MSG_ARG_CYU		"-YU"
1369@ MSG_ARG_Z		"-z"
1370@ MSG_ARG_ZDEFNODEF	"-z[defs|nodefs]"
1371@ MSG_ARG_ZASLR		"-zaslr"
1372@ MSG_ARG_ZGUIDE	"-zguidance"
1373@ MSG_ARG_ZNODEF	"-znodefs"
1374@ MSG_ARG_ZNOINTERP	"-znointerp"
1375@ MSG_ARG_ZRELAXRELOC	"-zrelaxreloc"
1376@ MSG_ARG_ZNORELAXRELOC	"-znorelaxreloc"
1377@ MSG_ARG_ZTEXT		"-ztext"
1378@ MSG_ARG_ZTEXTOFF	"-ztextoff"
1379@ MSG_ARG_ZTEXTWARN	"-ztextwarn"
1380@ MSG_ARG_ZTEXTALL	"-z[text|textwarn|textoff]"
1381@ MSG_ARG_ZLOADFLTR	"-zloadfltr"
1382@ MSG_ARG_ZCOMBRELOC	"-zcombreloc"
1383@ MSG_ARG_ZSYMBOLCAP	"-zsymbolcap"
1384@ MSG_ARG_ZFATWNOFATW	"-z[fatal-warnings|nofatalwarnings]"
1385
1386@ MSG_ARG_ABSEXEC	"absexec"
1387@ MSG_ARG_ALTEXEC64	"altexec64"
1388@ MSG_ARG_ASLR		"aslr"
1389@ MSG_ARG_NOCOMPSTRTAB	"nocompstrtab"
1390@ MSG_ARG_GROUPPERM	"groupperm"
1391@ MSG_ARG_NOGROUPPERM	"nogroupperm"
1392@ MSG_ARG_LAZYLOAD	"lazyload"
1393@ MSG_ARG_NOLAZYLOAD	"nolazyload"
1394@ MSG_ARG_INTERPOSE	"interpose"
1395@ MSG_ARG_DIRECT	"direct"
1396@ MSG_ARG_NODIRECT	"nodirect"
1397@ MSG_ARG_IGNORE	"ignore"
1398@ MSG_ARG_RECORD	"record"
1399@ MSG_ARG_INITFIRST	"initfirst"
1400@ MSG_ARG_INITARRAY	"initarray="
1401@ MSG_ARG_FINIARRAY	"finiarray="
1402@ MSG_ARG_PREINITARRAY	"preinitarray="
1403@ MSG_ARG_RTLDINFO	"rtldinfo="
1404@ MSG_ARG_DTRACE	"dtrace="
1405@ MSG_ARG_TRANSLATOR	"translator"
1406@ MSG_ARG_NOOPEN	"nodlopen"
1407@ MSG_ARG_NOW		"now"
1408@ MSG_ARG_ORIGIN	"origin"
1409@ MSG_ARG_DEFS		"defs"
1410@ MSG_ARG_NODEFS	"nodefs"
1411@ MSG_ARG_NODUMP	"nodump"
1412@ MSG_ARG_NOVERSION	"noversion"
1413@ MSG_ARG_TEXT		"text"
1414@ MSG_ARG_TEXTOFF	"textoff"
1415@ MSG_ARG_TEXTWARN	"textwarn"
1416@ MSG_ARG_MULDEFS	"muldefs"
1417@ MSG_ARG_NODELETE	"nodelete"
1418@ MSG_ARG_NOINTERP	"nointerp"
1419@ MSG_ARG_NOPARTIAL	"nopartial"
1420@ MSG_ARG_NORELOC	"noreloc"
1421@ MSG_ARG_REDLOCSYM	"redlocsym"
1422@ MSG_ARG_VERBOSE	"verbose"
1423@ MSG_ARG_WEAKEXT	"weakextract"
1424@ MSG_ARG_LOADFLTR	"loadfltr"
1425@ MSG_ARG_ALLEXTRT	"allextract"
1426@ MSG_ARG_DFLEXTRT	"defaultextract"
1427@ MSG_ARG_COMBRELOC	"combreloc"
1428@ MSG_ARG_NOCOMBRELOC	"nocombreloc"
1429@ MSG_ARG_NODEFAULTLIB	"nodefaultlib"
1430@ MSG_ARG_ENDFILTEE	"endfiltee"
1431@ MSG_ARG_LD32		"ld32="
1432@ MSG_ARG_LD64		"ld64="
1433@ MSG_ARG_RESCAN	"rescan"
1434@ MSG_ARG_RESCAN_NOW	"rescan-now"
1435@ MSG_ARG_RESCAN_START	"rescan-start"
1436@ MSG_ARG_RESCAN_END	"rescan-end"
1437@ MSG_ARG_GUIDE		"guidance"
1438@ MSG_ARG_NOLDYNSYM	"noldynsym"
1439@ MSG_ARG_RELAXRELOC	"relaxreloc"
1440@ MSG_ARG_NORELAXRELOC	"norelaxreloc"
1441@ MSG_ARG_NOSIGHANDLER	"nosighandler"
1442@ MSG_ARG_GLOBAUDIT	"globalaudit"
1443@ MSG_ARG_TARGET	"target="
1444@ MSG_ARG_WRAP		"wrap="
1445@ MSG_ARG_FATWARN	"fatal-warnings"
1446@ MSG_ARG_NOFATWARN	"nofatal-warnings"
1447@ MSG_ARG_HELP		"help"
1448@ MSG_ARG_GROUP		"group"
1449@ MSG_ARG_REDUCE	"reduce"
1450@ MSG_ARG_STATIC	"static"
1451@ MSG_ARG_SYMBOLCAP	"symbolcap"
1452@ MSG_ARG_DEFERRED	"deferred"
1453@ MSG_ARG_NODEFERRED	"nodeferred"
1454@ MSG_ARG_ASSDEFLIB	"assert-deflib"
1455@ MSG_ARG_TYPE		"type"
1456
1457@ MSG_ARG_LCOM		"L,"
1458@ MSG_ARG_PCOM		"P,"
1459@ MSG_ARG_UCOM		"U,"
1460
1461@ MSG_ARG_T_RPATH	"rpath"
1462@ MSG_ARG_T_SHARED	"shared"
1463@ MSG_ARG_T_SONAME	"soname"
1464@ MSG_ARG_T_WL		"l,-"
1465
1466@ MSG_ARG_T_AUXFLTR	"-auxiliary"
1467@ MSG_ARG_T_MULDEFS	"-allow-multiple-definition"
1468@ MSG_ARG_T_INTERP	"-dynamic-linker"
1469@ MSG_ARG_T_ENDGROUP	"-end-group"
1470@ MSG_ARG_T_ENTRY	"-entry"
1471@ MSG_ARG_T_STDFLTR	"-filter"
1472@ MSG_ARG_T_FATWARN	"-fatal-warnings"
1473@ MSG_ARG_T_NOFATWARN	"-no-fatal-warnings"
1474@ MSG_ARG_T_HELP	"-help"
1475@ MSG_ARG_T_LIBRARY	"-library"
1476@ MSG_ARG_T_LIBPATH	"-library-path"
1477@ MSG_ARG_T_NOUNDEF	"-no-undefined"
1478@ MSG_ARG_T_NOWHOLEARC	"-no-whole-archive"
1479@ MSG_ARG_T_OUTPUT	"-output"
1480@ MSG_ARG_T_RELOCATABLE	"-relocatable"
1481@ MSG_ARG_T_STARTGROUP	"-start-group"
1482@ MSG_ARG_T_STRIP	"-strip-all"
1483@ MSG_ARG_T_UNDEF	"-undefined"
1484@ MSG_ARG_T_VERSION	"-version"
1485@ MSG_ARG_T_WHOLEARC	"-whole-archive"
1486@ MSG_ARG_T_WRAP	"-wrap"
1487@ MSG_ARG_T_OPAR	"("
1488@ MSG_ARG_T_CPAR	")"
1489
1490@ MSG_ARG_ENABLED	"enabled"
1491@ MSG_ARG_DISABLED	"disabled"
1492@ MSG_ARG_ENABLE	"enable"
1493@ MSG_ARG_DISABLE	"disable"
1494
1495# -z guidance=item strings
1496@ MSG_ARG_GUIDE_DELIM		",: \t"
1497@ MSG_ARG_GUIDE_NO_ALL		"noall"
1498@ MSG_ARG_GUIDE_NO_DEFS		"nodefs"
1499@ MSG_ARG_GUIDE_NO_DIRECT	"nodirect"
1500@ MSG_ARG_GUIDE_NO_LAZYLOAD	"nolazyload"
1501@ MSG_ARG_GUIDE_NO_MAPFILE	"nomapfile"
1502@ MSG_ARG_GUIDE_NO_TEXT		"notext"
1503@ MSG_ARG_GUIDE_NO_UNUSED	"nounused"
1504
1505# -z type= strings
1506@ MSG_ARG_TYPE_RELOC	"reloc"
1507@ MSG_ARG_TYPE_EXEC	"exec"
1508@ MSG_ARG_TYPE_SHARED	"shared"
1509@ MSG_ARG_TYPE_KMOD	"kmod"
1510
1511# Environment variable strings
1512
1513@ MSG_LD_RUN_PATH	"LD_RUN_PATH"
1514@ MSG_LD_LIBPATH_32	"LD_LIBRARY_PATH_32"
1515@ MSG_LD_LIBPATH_64	"LD_LIBRARY_PATH_64"
1516@ MSG_LD_LIBPATH	"LD_LIBRARY_PATH"
1517
1518@ MSG_LD_NOVERSION_32	"LD_NOVERSION_32"
1519@ MSG_LD_NOVERSION_64	"LD_NOVERSION_64"
1520@ MSG_LD_NOVERSION	"LD_NOVERSION"
1521
1522@ MSG_SGS_SUPPORT_32	"SGS_SUPPORT_32"
1523@ MSG_SGS_SUPPORT_64	"SGS_SUPPORT_64"
1524@ MSG_SGS_SUPPORT	"SGS_SUPPORT"
1525
1526
1527# Symbol names
1528
1529@ MSG_SYM_LIBVER_U	"_lib_version"
1530
1531
1532# Mapfile tokens
1533
1534@ MSG_MAP_LOAD		"load"
1535@ MSG_MAP_NOTE		"note"
1536@ MSG_MAP_NULL		"null"
1537@ MSG_MAP_STACK		"stack"
1538@ MSG_MAP_ADDVERS	"addvers"
1539@ MSG_MAP_FUNCTION	"function"
1540@ MSG_MAP_DATA		"data"
1541@ MSG_MAP_COMMON	"common"
1542@ MSG_MAP_PARENT	"parent"
1543@ MSG_MAP_EXTERN	"extern"
1544@ MSG_MAP_DIRECT	"direct"
1545@ MSG_MAP_NODIRECT	"nodirect"
1546@ MSG_MAP_FILTER	"filter"
1547@ MSG_MAP_AUXILIARY	"auxiliary"
1548@ MSG_MAP_OVERRIDE	"override"
1549@ MSG_MAP_INTERPOSE	"interpose"
1550@ MSG_MAP_DYNSORT	"dynsort"
1551@ MSG_MAP_NODYNSORT	"nodynsort"
1552
1553@ MSG_MAPKW_ALIGN		"ALIGN"
1554@ MSG_MAPKW_ALLOC		"ALLOC"
1555@ MSG_MAPKW_ALLOW		"ALLOW"
1556@ MSG_MAPKW_AMD64_LARGE		"AMD64_LARGE"
1557@ MSG_MAPKW_ASSIGN_SECTION	"ASSIGN_SECTION"
1558@ MSG_MAPKW_AUX			"AUXILIARY"
1559@ MSG_MAPKW_CAPABILITY		"CAPABILITY"
1560@ MSG_MAPKW_COMMON		"COMMON"
1561@ MSG_MAPKW_DATA		"DATA"
1562@ MSG_MAPKW_DEFAULT		"DEFAULT"
1563@ MSG_MAPKW_DEPEND_VERSIONS	"DEPEND_VERSIONS"
1564@ MSG_MAPKW_DIRECT		"DIRECT"
1565@ MSG_MAPKW_DISABLE		"DISABLE"
1566@ MSG_MAPKW_DYNSORT		"DYNSORT"
1567@ MSG_MAPKW_ELIMINATE		"ELIMINATE"
1568@ MSG_MAPKW_EXECUTE		"EXECUTE"
1569@ MSG_MAPKW_EXPORTED		"EXPORTED"
1570@ MSG_MAPKW_EXTERN		"EXTERN"
1571@ MSG_MAPKW_FILTER		"FILTER"
1572@ MSG_MAPKW_FILE_BASENAME	"FILE_BASENAME"
1573@ MSG_MAPKW_FILE_PATH		"FILE_PATH"
1574@ MSG_MAPKW_FILE_OBJNAME	"FILE_OBJNAME"
1575@ MSG_MAPKW_FUNCTION		"FUNCTION"
1576@ MSG_MAPKW_FLAGS		"FLAGS"
1577@ MSG_MAPKW_GLOBAL		"GLOBAL"
1578@ MSG_MAPKW_INTERPOSE		"INTERPOSE"
1579@ MSG_MAPKW_HIDDEN		"HIDDEN"
1580@ MSG_MAPKW_HDR_NOALLOC		"HDR_NOALLOC"
1581@ MSG_MAPKW_HW			"HW"
1582@ MSG_MAPKW_HW_1		"HW_1"
1583@ MSG_MAPKW_HW_2		"HW_2"
1584@ MSG_MAPKW_IS_NAME		"IS_NAME"
1585@ MSG_MAPKW_IS_ORDER		"IS_ORDER"
1586@ MSG_MAPKW_LOAD_SEGMENT	"LOAD_SEGMENT"
1587@ MSG_MAPKW_LOCAL		"LOCAL"
1588@ MSG_MAPKW_MACHINE		"MACHINE"
1589@ MSG_MAPKW_MAX_SIZE		"MAX_SIZE"
1590@ MSG_MAPKW_NOHDR		"NOHDR"
1591@ MSG_MAPKW_NODIRECT		"NODIRECT"
1592@ MSG_MAPKW_NODYNSORT		"NODYNSORT"
1593@ MSG_MAPKW_NOTE_SEGMENT	"NOTE_SEGMENT"
1594@ MSG_MAPKW_NULL_SEGMENT	"NULL_SEGMENT"
1595@ MSG_MAPKW_OS_ORDER		"OS_ORDER"
1596@ MSG_MAPKW_PADDR		"PADDR"
1597@ MSG_MAPKW_PARENT		"PARENT"
1598@ MSG_MAPKW_PHDR_ADD_NULL	"PHDR_ADD_NULL"
1599@ MSG_MAPKW_PLATFORM		"PLATFORM"
1600@ MSG_MAPKW_PROTECTED		"PROTECTED"
1601@ MSG_MAPKW_READ		"READ"
1602@ MSG_MAPKW_ROUND		"ROUND"
1603@ MSG_MAPKW_REQUIRE		"REQUIRE"
1604@ MSG_MAPKW_SEGMENT_ORDER	"SEGMENT_ORDER"
1605@ MSG_MAPKW_SF			"SF"
1606@ MSG_MAPKW_SF_1		"SF_1"
1607@ MSG_MAPKW_SINGLETON		"SINGLETON"
1608@ MSG_MAPKW_SIZE		"SIZE"
1609@ MSG_MAPKW_SIZE_SYMBOL		"SIZE_SYMBOL"
1610@ MSG_MAPKW_STACK		"STACK"
1611@ MSG_MAPKW_SYMBOL_SCOPE	"SYMBOL_SCOPE"
1612@ MSG_MAPKW_SYMBOL_VERSION	"SYMBOL_VERSION"
1613@ MSG_MAPKW_SYMBOLIC		"SYMBOLIC"
1614@ MSG_MAPKW_TYPE		"TYPE"
1615@ MSG_MAPKW_VADDR		"VADDR"
1616@ MSG_MAPKW_VALUE		"VALUE"
1617@ MSG_MAPKW_WRITE		"WRITE"
1618
1619
1620@ MSG_STR_DTRACE	"PT_SUNWDTRACE"
1621