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