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_ZWRAP "\t[-z wrap=symbol], [-wrap=symbol], [--wrap=symbol]\n\
255 \t\t\twrap symbol references\n"
256 @ MSG_ARG_DETAIL_ZVER "\t[-z verbose]\t\
257 generate warnings for suspicious processings\n"
258
259 #
260 # TRANSLATION_NOTE -- End of USAGE message
261 #
262 @ MSG_GRP_INVALNDX "file %s: group section [%u]%s: entry %d: \
263 invalid section index: %d"
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_COMMA ","
735 @ MSG_STR_DYNAMIC "(.dynamic)"
736 @ MSG_STR_ORIGIN "$ORIGIN"
737 @ MSG_STR_MACHINE "$MACHINE"
738 @ MSG_STR_PLATFORM "$PLATFORM"
739 @ MSG_STR_ISALIST "$ISALIST"
740 @ MSG_STR_OSNAME "$OSNAME"
741 @ MSG_STR_OSREL "$OSREL"
742 @ MSG_STR_UU_REAL_U "__real_"
743 @ MSG_STR_UU_WRAP_U "__wrap_"
744 @ MSG_STR_UELF32 "_ELF32"
745 @ MSG_STR_UELF64 "_ELF64"
746 @ MSG_STR_USPARC "_sparc"
747 @ MSG_STR_UX86 "_x86"
748 @ MSG_STR_TRUE "true"
749
750 @ MSG_STR_CDIR_ADD "$add"
751 @ MSG_STR_CDIR_CLEAR "$clear"
752 @ MSG_STR_CDIR_ERROR "$error"
753 @ MSG_STR_CDIR_MFVER "$mapfile_version"
754 @ MSG_STR_CDIR_IF "$if"
755 @ MSG_STR_CDIR_ELIF "$elif"
756 @ MSG_STR_CDIR_ELSE "$else"
757 @ MSG_STR_CDIR_ENDIF "$endif"
758
759 @ MSG_STR_GROUP "GROUP"
760 @ MSG_STR_SUNW_COMDAT "SUNW_COMDAT"
761
762 @ MSG_FMT_ARMEM "%s(%s)"
763 @ MSG_FMT_COLPATH "%s:%s"
764 @ MSG_FMT_SYMNAM "'%s'"
765 @ MSG_FMT_NULLSYMNAM "%s[%d]"
766 @ MSG_FMT_STRCAT "%s%s"
767
768 @ MSG_PTH_RTLD "/usr/lib/ld.so.1"
769
770 @ MSG_SUNW_OST_SGS "SUNW_OST_SGS"
771
772
773 # Section strings
774
775 @ MSG_SCN_BSS ".bss"
776 @ MSG_SCN_DATA ".data"
777 @ MSG_SCN_COMMENT ".comment"
778 @ MSG_SCN_DEBUG ".debug"
779 @ MSG_SCN_DEBUG_INFO ".debug_info"
780 @ MSG_SCN_DYNAMIC ".dynamic"
781 @ MSG_SCN_DYNSYMSORT ".SUNW_dynsymsort"
782 @ MSG_SCN_DYNTLSSORT ".SUNW_dyntlssort"
783 @ MSG_SCN_DYNSTR ".dynstr"
784 @ MSG_SCN_DYNSYM ".dynsym"
785 @ MSG_SCN_DYNSYM_SHNDX ".dynsym_shndx"
786 @ MSG_SCN_LDYNSYM ".SUNW_ldynsym"
787 @ MSG_SCN_LDYNSYM_SHNDX ".SUNW_ldynsym_shndx"
788 @ MSG_SCN_EX_SHARED ".ex_shared"
789 @ MSG_SCN_EX_RANGES ".exception_ranges"
790 @ MSG_SCN_EXCL ".excl"
791 @ MSG_SCN_FINI ".fini"
792 @ MSG_SCN_FINIARRAY ".fini_array"
793 @ MSG_SCN_GOT ".got"
794 @ MSG_SCN_GNU_LINKONCE ".gnu.linkonce."
795 @ MSG_SCN_HASH ".hash"
796 @ MSG_SCN_INDEX ".index"
797 @ MSG_SCN_INIT ".init"
798 @ MSG_SCN_INITARRAY ".init_array"
799 @ MSG_SCN_INTERP ".interp"
800 @ MSG_SCN_LBSS ".lbss"
801 @ MSG_SCN_LDATA ".ldata"
802 @ MSG_SCN_LINE ".line"
803 @ MSG_SCN_LRODATA ".lrodata"
804 @ MSG_SCN_PLT ".plt"
805 @ MSG_SCN_PREINITARRAY ".preinit_array"
806 @ MSG_SCN_REL ".rel"
807 @ MSG_SCN_RELA ".rela"
808 @ MSG_SCN_RODATA ".rodata"
809 @ MSG_SCN_SBSS ".sbss"
810 @ MSG_SCN_SBSS2 ".sbss2"
811 @ MSG_SCN_SDATA ".sdata"
812 @ MSG_SCN_SDATA2 ".sdata2"
813 @ MSG_SCN_SHSTRTAB ".shstrtab"
814 @ MSG_SCN_STAB ".stab"
815 @ MSG_SCN_STABEXCL ".stab.exclstr"
816 @ MSG_SCN_STRTAB ".strtab"
817 @ MSG_SCN_SUNWMOVE ".SUNW_move"
818 @ MSG_SCN_SUNWRELOC ".SUNW_reloc"
819 @ MSG_SCN_SUNWSYMINFO ".SUNW_syminfo"
820 @ MSG_SCN_SUNWVERSION ".SUNW_version"
821 @ MSG_SCN_SUNWVERSYM ".SUNW_versym"
822 @ MSG_SCN_SUNWCAP ".SUNW_cap"
823 @ MSG_SCN_SUNWCAPINFO ".SUNW_capinfo"
824 @ MSG_SCN_SUNWCAPCHAIN ".SUNW_capchain"
825 @ MSG_SCN_SYMTAB ".symtab"
826 @ MSG_SCN_SYMTAB_SHNDX ".symtab_shndx"
827 @ MSG_SCN_TBSS ".tbss"
828 @ MSG_SCN_TDATA ".tdata"
829 @ MSG_SCN_TEXT ".text"
830
831 @ MSG_SYM_FINIARRAY "finiarray"
832 @ MSG_SYM_INITARRAY "initarray"
833 @ MSG_SYM_PREINITARRAY "preinitarray"
834
835 #
836 # GNU section names
837 #
838 @ MSG_SCN_CTORS ".ctors"
839 @ MSG_SCN_DTORS ".dtors"
840 @ MSG_SCN_EHFRAME ".eh_frame"
841 @ MSG_SCN_EHFRAME_HDR ".eh_frame_hdr"
842 @ MSG_SCN_GCC_X_TBL ".gcc_except_table"
843 @ MSG_SCN_JCR ".jcr"
844
845 # Segment names for segments referenced by entrance criteria
846
847 @ MSG_ENT_BSS "bss"
848 @ MSG_ENT_DATA "data"
849 @ MSG_ENT_EXTRA "extra"
850 @ MSG_ENT_LDATA "ldata"
851 @ MSG_ENT_LRODATA "lrodata"
852 @ MSG_ENT_NOTE "note"
853 @ MSG_ENT_TEXT "text"
854
855 # Symbol names
856
857 @ MSG_SYM_START "_start"
858 @ MSG_SYM_MAIN "main"
859
860 @ MSG_SYM_FINI_U "_fini"
861 @ MSG_SYM_INIT_U "_init"
862 @ MSG_SYM_DYNAMIC "DYNAMIC"
863 @ MSG_SYM_DYNAMIC_U "_DYNAMIC"
864 @ MSG_SYM_EDATA "edata"
865 @ MSG_SYM_EDATA_U "_edata"
866 @ MSG_SYM_END "end"
867 @ MSG_SYM_END_U "_end"
868 @ MSG_SYM_ETEXT "etext"
869 @ MSG_SYM_ETEXT_U "_etext"
870 @ MSG_SYM_GOFTBL "GLOBAL_OFFSET_TABLE_"
871 @ MSG_SYM_GOFTBL_U "_GLOBAL_OFFSET_TABLE_"
872 @ MSG_SYM_PLKTBL "PROCEDURE_LINKAGE_TABLE_"
873 @ MSG_SYM_PLKTBL_U "_PROCEDURE_LINKAGE_TABLE_"
874 @ MSG_SYM_TLSGETADDR_U "__tls_get_addr"
875 @ MSG_SYM_TLSGETADDR_UU "___tls_get_addr"
876
877 @ MSG_SYM_L_END "END_"
878 @ MSG_SYM_L_END_U "_END_"
879 @ MSG_SYM_L_START "START_"
880 @ MSG_SYM_L_START_U "_START_"
881
882 @ MSG_SYM_SECBOUND_START "__start_"
883 @ MSG_SYM_SECBOUND_STOP "__stop_"
884
885 # Support functions
886
887 @ MSG_SUP_VERSION "ld_version"
888 @ MSG_SUP_INPUT_DONE "ld_input_done"
889
890 @ MSG_SUP_START_64 "ld_start64"
891 @ MSG_SUP_ATEXIT_64 "ld_atexit64"
892 @ MSG_SUP_OPEN_64 "ld_open64"
893 @ MSG_SUP_FILE_64 "ld_file64"
894 @ MSG_SUP_INSEC_64 "ld_input_section64"
895 @ MSG_SUP_SEC_64 "ld_section64"
896
897 @ MSG_SUP_START "ld_start"
898 @ MSG_SUP_ATEXIT "ld_atexit"
899 @ MSG_SUP_OPEN "ld_open"
900 @ MSG_SUP_FILE "ld_file"
901 @ MSG_SUP_INSEC "ld_input_section"
902 @ MSG_SUP_SEC "ld_section"
903
904 #
905 # Message previously in 'ld'
906 #
907 #
908 @ _START_
909
910 # System error messages
911
912 @ MSG_SYS_STAT "file %s: stat failed: %s"
913 @ MSG_SYS_READ "file %s: read failed: %s"
914 @ MSG_SYS_NOTREG "file %s: is not a regular file"
915
916 # Argument processing messages
917
918 @ MSG_ARG_DY_INCOMP "%s option is incompatible with building a dynamic \
919 executable"
920 @ MSG_MARG_DY_INCOMP "%s is incompatible with building a dynamic \
921 executable"
922 @ MSG_ARG_ST_INCOMP "%s option is incompatible with building a static \
923 object (-dn, -r, --relocatable)"
924 @ MSG_MARG_ST_INCOMP "%s is incompatible with building a static \
925 object (-dn, -r, --relocatable)"
926 @ MSG_MARG_ST_ONLYAVL "%s is only available when building a shared object"
927 @ MSG_ARG_INCOMP "option %s and %s are incompatible"
928 @ MSG_MARG_INCOMP "%s and %s are incompatible"
929 @ MSG_ARG_MTONCE "option %s appears more than once, first setting taken"
930 @ MSG_MARG_MTONCE "%s appears more than once, first setting taken"
931 @ MSG_ARG_ILLEGAL "option %s has illegal argument '%s'"
932 @ MSG_ARG_YP "option -YP and -Y%c may not be specified concurrently"
933 @ MSG_ARG_STRIP "%s specified with %s; only debugging \
934 information stripped"
935 @ MSG_ARG_NOFILES "no files on input command line"
936 @ MSG_ARG_NOFLTR "option %s is only meaningful when building a filter"
937 @ MSG_ARG_NODEFLIB "the default library search path has been suppressed, \
938 but no runpaths have been specified via %s"
939 @ MSG_ARG_NOENTRY "entry point symbol '%s' is undefined"
940 @ MSG_ARG_UNSUPPORTED "option %s is no longer supported; ignored"
941 @ MSG_MARG_ONLY "option %s can only be used with a %s"
942 @ MSG_ARG_UNKNOWN "unrecognized option '-%c'"
943 @ MSG_ARG_LONG_UNKNOWN "unrecognized option '%s'"
944 @ MSG_ARG_USEHELP "use the -z help option for usage information"
945
946
947 @ MSG_ARG_FLAGS "flags processing errors"
948 @ MSG_ARG_FILES "file processing errors. No output written to %s"
949 @ MSG_ARG_SYM_WARN "symbol referencing errors"
950 @ MSG_ARG_SYM_FATAL "symbol referencing errors. No output written to %s"
951 @ MSG_ARG_AR_GRP_OLAP "%s cannot be nested"
952 @ MSG_ARG_AR_GRP_BAD "%s used without corresponding %s"
953
954
955 # Messages used to refer to options where there is more than
956 # one name accepted.
957
958 @ MSG_MARG_AR_GRPS "archive rescan groups \
959 (-z rescan-start, -(, --start-group)"
960 @ MSG_MARG_AR_GRP_END "archive rescan group end option \
961 (-z rescan-end, -), --end-group)"
962 @ MSG_MARG_AR_GRP_START "archive rescan group start option \
963 (-z rescan-start, -(, --start-group)"
964 @ MSG_MARG_ENTRY "entry point option (-e, --entry)"
965 @ MSG_MARG_FILTER_AUX "auxiliary filter option (-f, --auxiliary)"
966 @ MSG_MARG_FILTER "filter option (-F, --filter)"
967 @ MSG_MARG_OUTFILE "output object option (-o, --output)"
968 @ MSG_MARG_REL "relocatable object option (-r, --relocatable)"
969 @ MSG_MARG_RPATH "runpath option (-R, -rpath)"
970 @ MSG_MARG_SO "shared object option (-G, -shared)"
971 @ MSG_MARG_SONAME "soname option (-h, --soname)"
972 @ MSG_MARG_STRIP "strip option (-s, --strip-all)"
973
974 # Entrance criteria messages
975
976 @ MSG_ENT_MAP_FMT_TIL_1 "\t\t%s\n\n"
977 @ MSG_ENT_MAP_TITLE_1 "LINK EDITOR MEMORY MAP"
978
979 #
980 # TRANSLATION_NOTE -- Entry map header
981 #
982 # The next message is a format string for a title. The title is composed of
983 # two lines. In C locale, it would look like:
984 #
985 # output input new
986 # section section displacement size
987 #
988 # The \t characters are used for alignment. (output section), (input section),
989 # and (new displacement) have to be aligned.
990 #
991 @ 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"
992 @ 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"
993 @ MSG_ENT_ITM_OUTPUT "output"
994 @ MSG_ENT_ITM_INPUT "input"
995 @ MSG_ENT_ITM_NEW "new"
996 @ MSG_ENT_ITM_SECTION "section"
997 @ MSG_ENT_ITM_DISPMNT "displacement"
998 @ MSG_ENT_ITM_SIZE "size"
999 @ MSG_ENT_ITM_VIRTUAL "virtual"
1000 @ MSG_ENT_ITM_ADDRESS "address"
1001
1002 @ MSG_ENT_MAP_ENTRY_1 "%-8.8s\t\t\t%08.2llx\t%08.2llx\n"
1003 @ MSG_ENT_MAP_ENTRY_2 "\t\t%-8.8s\t%08.2llx\t%08.2llx %s\n"
1004
1005 #
1006 # TRANSLATION_NOTE -- multiple defined symbol table header
1007 #
1008 # In C locale, an example output is:
1009 #
1010 # MULTIPLY DEFINED SYMBOLS
1011 #
1012 #
1013 #symbol definition used also defined in
1014 #
1015 #variable1 main.o
1016 # ./libfred.so
1017 @ MSG_ENT_MUL_FMT_TIL_0 "\n\n\t\t%s\n\n\n"
1018 @ MSG_ENT_MUL_TIL_0 "MULTIPLY DEFINED SYMBOLS"
1019
1020 #
1021 # TRANSLATION_NOTE -- This is the format string for:
1022 #
1023 #symbol definition used also defined in
1024 #
1025 @ MSG_ENT_MUL_FMT_TIL_1 "%s\t\t\t\t %s %s\n\n"
1026 @ MSG_ENT_MUL_ITM_SYM "symbol"
1027 @ MSG_ENT_MUL_ITM_DEF_0 "definition used"
1028 @ MSG_ENT_MUL_ITM_DEF_1 "also defined in"
1029
1030 #
1031 # TRANSLATION_NOTE -- This is the format string for the second item:
1032 #
1033 @ MSG_ENT_MUL_ENTRY_1 "%-35s %s\n"
1034
1035 #
1036 # TRANSLATION_NOTE -- This is the format string for the third item:
1037 #
1038 @ MSG_ENT_MUL_ENTRY_2 "\t\t\t\t\t\t\t%s\n"
1039
1040 @ MSG_ENT_NOSEC_1 "mapfile: %s segment: section '%s' does not appear \
1041 in mapfile specified input file(s)"
1042 @ MSG_ENT_NOSEC_2 "mapfile: %s segment: section '%s' does not appear \
1043 in any input file"
1044
1045 # Library messages
1046
1047 @ MSG_LIB_NOTFOUND "library -l%s: not found"
1048 @ MSG_LIB_MALFORM "LD_LIBRARY_PATH malformed"
1049 @ MSG_LIB_BADYP "-YP library path malformed"
1050
1051
1052 # Mapfile processing messages
1053
1054 @ MSG_MAP_BADAUTORED "%s: %llu: auto-reduction ('*') can only be used in \
1055 hidden/local, or eliminate scope"
1056 @ MSG_MAP_BADFLAG "%s: %llu: badly formed section flags '%s'"
1057 @ MSG_MAP_BADBNAME "%s: %llu: basename cannot contain path \
1058 separator ('/'): %s"
1059 @ MSG_MAP_BADONAME "%s: %llu: object name cannot contain path \
1060 separator ('/'): %s"
1061 @ MSG_MAP_REDEFATT "%s: %llu: redefining %s attribute for '%s'"
1062 @ MSG_MAP_PREMEOF "%s: %llu: premature EOF"
1063 @ MSG_MAP_ILLCHAR "%s: %llu: illegal character '\\%03o'"
1064 @ MSG_MAP_MALFORM "%s: %llu: malformed entry"
1065 @ MSG_MAP_NONLOAD "%s: %llu: %s not allowed on non-LOAD segments"
1066 @ MSG_MAP_NOSTACK1 "%s: %llu: %s not allowed on STACK segment"
1067 @ MSG_MAP_MOREONCE "%s: %llu: %s set more than once on same line"
1068 @ MSG_MAP_NOTERM "%s: %llu: unterminated quoted string: %s"
1069 @ MSG_MAP_SECINSEG "%s: %llu: section within segment ordering done on \
1070 a non-existent segment '%s'"
1071 @ MSG_MAP_UNEXINHERIT "%s: %llu: unnamed version cannot inherit from other \
1072 versions: %s"
1073 @ MSG_MAP_UNEXTOK "%s: %llu: unexpected occurrence of '%c' token"
1074
1075 @ MSG_MAP_SEGEMPLOAD "%s: %llu: empty segment must be of type LOAD or NULL"
1076 @ MSG_MAP_SEGEMPEXE "%s: %llu: a LOAD empty segment definition is only \
1077 allowed when creating a dynamic executable"
1078 @ MSG_MAP_SEGEMPATT "%s: %llu: a LOAD empty segment must have an address \
1079 and size"
1080 @ MSG_MAP_SEGEMPNOATT "%s: %llu: a NULL empty segment must not have an \
1081 address or size"
1082 @ MSG_MAP_SEGEMPSEC "%s: %llu: empty segment can not have sections \
1083 assigned to it"
1084 @ MSG_MAP_SEGEMNOPERM "%s: %llu: empty segment must not have \
1085 p_flags set: 0x%x"
1086
1087 @ MSG_MAP_CNTADDRORDER "%s: %llu: segment cannot have an explicit address \
1088 and also be in the SEGMENT_ORDER list: %s"
1089 @ MSG_MAP_CNTDISSEG "%s: %llu: segment cannot be disabled: %s"
1090 @ MSG_MAP_DUPNAMENT "%s: %llu: cannot redefine entrance criteria: %s"
1091 @ MSG_MAP_DUPORDSEG "%s: %llu: segment is already in %s list: %s"
1092 @ MSG_MAP_DUP_OS_ORD "%s: %llu: section is already in OS_ORDER list: %s"
1093 @ MSG_MAP_DUP_IS_ORD "%s: %llu: entrance criteria is already in \
1094 IS_ORDER list: %s"
1095 @ MSG_MAP_UNKENT "%s: %llu: unknown entrance criteria \
1096 (ASSIGN_SECTION): %s"
1097 @ MSG_MAP_UNKSEG "%s: %llu: unknown segment: %s"
1098 @ MSG_MAP_UNKSYMDEF "%s: %llu: unknown symbol definition: %s"
1099 @ MSG_MAP_UNKSEGTYP "%s: %llu: unknown internal segment type %d"
1100 @ MSG_MAP_UNKSOTYP "%s: %llu: unknown shared object type: %s"
1101 @ MSG_MAP_UNKSEGATT "%s: %llu: unknown segment attribute: %s"
1102 @ MSG_MAP_UNKSEGFLG "%s: %llu: unknown segment flag: ?%c"
1103 @ MSG_MAP_UNKSECTYP "%s: %llu: unknown section type: %s"
1104
1105 @ MSG_MAP_SEGSIZE "%s: %lld: existing segment size symbols cannot \
1106 be reset: %s"
1107 @ MSG_MAP_SEGADDR "%s: %llu: segment address or length '%s' %s"
1108 @ MSG_MAP_BADCAPVAL "%s: %llu: bad capability value: %s"
1109 @ MSG_MAP_UNKCAPATTR "%s: %llu: unknown capability attribute '%s'"
1110 @ MSG_MAP_EMPTYCAP "%s: %llu: empty capability definition; ignored"
1111
1112 @ MSG_MAP_SYMDEF1 "%s: %llu: symbol '%s' is already defined in file: \
1113 %s: %s"
1114 @ MSG_MAP_SYMDEF2 "%s: %llu: symbol '%s': %s"
1115
1116 @ MSG_MAP_EXPSCOL "%s: %llu: expected a ';'"
1117 @ MSG_MAP_EXPEQU "%s: %llu: expected a '=', ':', '|', or '@'"
1118 @ MSG_MAP_EXPSEGATT "%s: %llu: expected one or more segment attributes \
1119 after an '='"
1120 @ MSG_MAP_EXPSEGNAM "%s: %llu: expected a segment name at the beginning \
1121 of a line"
1122 @ MSG_MAP_EXPSEGTYPE "%s: %llu: %s segment cannot be used with %s \
1123 directive: %s"
1124 @ MSG_MAP_EXPSYM_1 "%s: %llu: expected a symbol name after '@'"
1125 @ MSG_MAP_EXPSYM_2 "%s: %llu: expected a symbol name after '{'"
1126 @ MSG_MAP_EXPSEC "%s: %llu: expected a section name after '|'"
1127 @ MSG_MAP_EXPSO "%s: %llu: expected a shared object definition \
1128 after '-'"
1129 @ MSG_MAP_MULTFILTEE "%s: %llu: multiple filtee definitions are unsupported"
1130 @ MSG_MAP_NOFILTER "%s: %llu: filtee definition required"
1131 @ MSG_MAP_BADSF1 "%s: %llu: unknown software capabilities: 0x%llx; \
1132 ignored"
1133 @ MSG_MAP_INADDR32SF1 "%s: %llu: software capability ADDR32: is ineffective \
1134 when building 32-bit object: ignored"
1135 @ MSG_MAP_NOINTPOSE "%s: %llu: interposition symbols can only be defined \
1136 when building a dynamic executable"
1137 @ MSG_MAP_NOEXVLSZ "%s: %llu: value and size attributes are incompatible \
1138 with extern or parent symbols"
1139 @ MSG_MAP_FLTR_ONLYAVL "%s: %llu: symbol filtering is only available when \
1140 building a shared object"
1141
1142 @ MSG_MAP_SEGSAME "segments '%s' and '%s' have the same assigned \
1143 virtual address"
1144 @ MSG_MAP_EXCLIMIT "exceeds internal limit"
1145 @ MSG_MAP_NOBADFRM "number is badly formed"
1146
1147 @ MSG_MAP_SEGTYP "segment type"
1148 @ MSG_MAP_SEGVADDR "segment virtual address"
1149 @ MSG_MAP_SEGPHYS "segment physical address"
1150 @ MSG_MAP_SEGLEN "segment length"
1151 @ MSG_MAP_SEGFLAG "segment flags"
1152 @ MSG_MAP_SEGALIGN "segment alignment"
1153 @ MSG_MAP_SEGROUND "segment rounding"
1154
1155 @ MSG_MAP_SECTYP "section type"
1156 @ MSG_MAP_SECFLAG "section flags"
1157 @ MSG_MAP_SECNAME "section name"
1158
1159 @ MSG_MAP_SYMVAL "symbol value"
1160 @ MSG_MAP_SYMSIZE "symbol size"
1161
1162 @ MSG_MAP_DIFF_SYMVAL "symbol values differ"
1163 @ MSG_MAP_DIFF_SYMSZ "symbol sizes differ"
1164 @ MSG_MAP_DIFF_SYMTYP "symbol types differ"
1165 @ MSG_MAP_DIFF_SYMNDX "symbol indexes differ"
1166 @ MSG_MAP_DIFF_SYMLCL "symbol scope conflict against local and non-local"
1167 @ MSG_MAP_DIFF_SYMGLOB "symbol scope conflict against singleton/exported"
1168 @ MSG_MAP_DIFF_SYMPROT "symbol scope conflict against protected"
1169 @ MSG_MAP_DIFF_SYMVER "symbol version conflict"
1170 @ MSG_MAP_DIFF_SYMMUL "symbol multiple definition"
1171 @ MSG_MAP_DIFF_SNGLDIR "singleton scope and direct declaration are \
1172 incompatible"
1173 @ MSG_MAP_DIFF_PROTNDIR "protected scope and no-direct declaration \
1174 are incompatible"
1175
1176
1177 @ MSG_MAP_SECORDER "section ordering requested, but no matching section \
1178 found: segment: %s section: %s"
1179
1180
1181 # Mapfile Directives
1182
1183 @ MSG_MAP_EXP_ATTR "%s: %llu: expected attribute name (%s), or \
1184 terminator (';', '}'): %s"
1185 @ MSG_MAP_EXP_CAPMASK "%s: %llu: expected capability name, integer value, or \
1186 terminator (';', '}'): %s"
1187 @ MSG_MAP_EXP_CAPNAME "%s: %llu: expected name, or terminator (';', '}'): %s"
1188 @ MSG_MAP_EXP_CAPID "%s: %llu: expected name, or '{' following %s: %s"
1189 @ MSG_MAP_EXP_CAPHW "%s: %llu: expected hardware capability, or \
1190 terminator (';', '}'): %s"
1191 @ MSG_MAP_EXP_CAPSF "%s: %llu: expected software capability, or \
1192 terminator (';', '}'): %s"
1193 @ MSG_MAP_EXP_EQ "%s: %llu: expected '=' following %s: %s"
1194 @ MSG_MAP_EXP_EQ_ALL "%s: %llu: expected '=', '+=', or '-=' following %s: %s"
1195 @ MSG_MAP_EXP_EQ_PEQ "%s: %llu: expected '=' following %s: %s"
1196 @ MSG_MAP_EXP_DIR "%s: %llu: expected mapfile directive (%s): %s"
1197 @ MSG_MAP_SFLG_EXBANG "%s: %llu: '!' appears without corresponding flag"
1198 @ MSG_MAP_EXP_FILNAM "%s: %llu: expected file name following %s: %s"
1199 @ MSG_MAP_EXP_FILPATH "%s: %llu: expected file path following %s: %s"
1200 @ MSG_MAP_EXP_INT "%s: %llu: expected integer value following %s: %s"
1201 @ MSG_MAP_EXP_LBKT "%s: %llu: expected '{' following %s: %s"
1202 @ MSG_MAP_EXP_OBJNAM "%s: %llu: expected object name following %s: %s"
1203 @ MSG_MAP_SFLG_ONEBANG "%s: %llu: '!' can only be specified once per flag"
1204 @ MSG_MAP_EXP_SECFLAG "%s: %llu: expected section flag (%s), '!', or \
1205 terminator (';', '}'): %s"
1206 @ MSG_MAP_EXP_SECNAM "%s: %llu: expected section name following %s: %s"
1207 @ MSG_MAP_EXP_SEGFLAG "%s: %llu: expected segment flag (%s), or \
1208 terminator (';', '}'): %s"
1209 @ MSG_MAP_EXP_ECNAM "%s: %llu: expected entrance criteria (ASSIGN_SECTION) \
1210 name, or terminator (';', '}'): %s"
1211 @ MSG_MAP_EXP_SEGNAM "%s: %llu: expected segment name following %s: %s"
1212 @ MSG_MAP_EXP_SEM "%s: %llu: expected ';' to terminate %s: %s"
1213 @ MSG_MAP_EXP_SEMLBKT "%s: %llu: expected ';' or '{' following %s: %s"
1214 @ MSG_MAP_EXP_SEMRBKT "%s: %llu: expected ';' or '}' to terminate %s: %s"
1215 @ MSG_MAP_EXP_SHTYPE "%s: %llu: expected section type: %s"
1216 @ MSG_MAP_EXP_SYM "%s: %llu: expected symbol name, symbol scope, \
1217 or '*': %s"
1218 @ MSG_MAP_EXP_SYMEND "%s: %llu: expected inherited version name, or \
1219 terminator (';'): %s"
1220 @ MSG_MAP_EXP_SYMDELIM "%s: %llu: expected one of ':', ';', or '{': %s"
1221 @ MSG_MAP_EXP_SYMFLAG "%s: %llu: expected symbol flag (%s), or \
1222 terminator (';', '}'): %s"
1223 @ MSG_MAP_EXP_SYMNAM "%s: %llu: expected symbol name following %s: %s"
1224 @ MSG_MAP_EXP_SYMSCOPE "%s: %llu: expected symbol scope (%s): %s"
1225 @ MSG_MAP_EXP_SYMTYPE "%s: %llu: expected symbol type (%s): %s"
1226 @ MSG_MAP_EXP_VERSION "%s: %llu: expected version name following %s: %s"
1227 @ MSG_MAP_BADEXTRA "%s: %llu: unexpected text found following %s directive"
1228 @ MSG_MAP_VALUELIMIT "%s: %llu: numeric value exceeds word size: %s"
1229 @ MSG_MAP_MALVALUE "%s: %llu: malformed numeric value: %s"
1230 @ MSG_MAP_BADVALUETAIL "%s: %llu: unexpected characters following numeric \
1231 constant: %s"
1232 @ MSG_MAP_WSNEEDED "%s: %llu: whitespace needed before token: %s"
1233 @ MSG_MAP_BADCHAR "%s: %llu: unexpected text: %s"
1234 @ MSG_MAP_BADKWQUOTE "%s: %llu: mapfile keywords should not be quoted: %s"
1235 @ MSG_MAP_CDIR_NOTBOL "%s: %llu: mapfile control directive not at start of \
1236 line: %s"
1237 @ MSG_MAP_NOATTR "%s: %llu: %s specified no attributes (empty {})"
1238 @ MSG_MAP_NOVALUES "%s: %llu: %s specified without values"
1239 @ MSG_MAP_INTERR "<internal error>"
1240 @ MSG_MAP_ISORDVER "%s: %llu: version 0 mapfile ?O flag and version 1 \
1241 segment IS_ORDER attribute are mutually exclusive: %s"
1242 @ MSG_MAP_SYMATTR "symbol attributes";
1243
1244 # Mapfile Control Directives
1245
1246 @ MSG_MAP_CDIR_BADVDIR "%s: %llu: $mapfile_version directive must specify \
1247 version 2 or higher: %d"
1248 @ MSG_MAP_CDIR_BADVER "%s: %llu: unknown mapfile version: %d"
1249 @ MSG_MAP_CDIR_REPVER "%s: %llu: $mapfile_version must be first directive \
1250 in file"
1251 @ MSG_MAP_CDIR_REQARG "%s: %llu: %s directive requires an argument"
1252 @ MSG_MAP_CDIR_REQNOARG "%s: %llu: %s directive does not accept arguments"
1253 @ MSG_MAP_CDIR_BAD "%s: %llu: unrecognized mapfile control directive"
1254 @ MSG_MAP_CDIR_NOIF "%s: %llu: %s directive used without opening $if"
1255 @ MSG_MAP_CDIR_ELSE "%s: %llu: %s directive preceded by $else on line %d"
1256 @ MSG_MAP_CDIR_NOEND "%s: %llu: EOF encountered without closing $endif \
1257 for $if on line %d"
1258 @ MSG_MAP_CDIR_ERROR "%s: %llu: error: %s"
1259
1260
1261 # Mapfile Conditional Expressions
1262
1263 @ MSG_MAP_CEXP_TOKERR "%s: %llu: syntax error in conditional expression at: %s"
1264 @ MSG_MAP_CEXP_SEMERR "%s: %llu: malformed conditional expression"
1265 @ MSG_MAP_CEXP_BADOPUSE "%s: %llu: invalid operator use in conditional \
1266 expression"
1267 @ MSG_MAP_CEXP_UNBALPAR "%s: %llu: unbalanced parenthesis in conditional \
1268 expression"
1269 @ MSG_MAP_BADCESC "%s: %llu: unrecognized escape in double quoted \
1270 token: \\%c\n"
1271
1272 # Generic error diagnostic labels
1273
1274 @ MSG_STR_NULL "(null)"
1275
1276 @ MSG_DBG_DFLT_FMT "debug: "
1277 @ MSG_DBG_AOUT_FMT "debug: a.out: "
1278 @ MSG_DBG_NAME_FMT "debug: %s: "
1279
1280 # -z assert-deflib strings
1281
1282 @ MSG_ARG_ASSDEFLIB_MALFORMED "library name malformed: %s"
1283 @ MSG_ARG_ASSDEFLIB_FOUND "dynamic library found on default search path \
1284 (%s): lib%s.so"
1285
1286 @ _END_
1287
1288
1289 # Software identification. Note, the SGU strings is historic, and has
1290 # little relevance. It is preserved as applications have used this
1291 # string to identify the Solaris link-editor.
1292
1293 @ MSG_SGS_ID "ld: Software Generation Utilities - \
1294 Solaris Link Editors: "
1295
1296 # The following strings represent reserved words, files, pathnames and symbols.
1297 # Reference to this strings is via the MSG_ORIG() macro, and thus no message
1298 # translation is required.
1299
1300 @ MSG_DBG_FOPEN_MODE "w"
1301
1302 @ MSG_DBG_CLS32_FMT "32: "
1303 @ MSG_DBG_CLS64_FMT "64: "
1304
1305 @ MSG_STR_PATHTOK ";:"
1306 @ MSG_STR_AOUT "a.out"
1307
1308 @ MSG_STR_LIB_A "%s/lib%s.a"
1309 @ MSG_STR_LIB_SO "%s/lib%s.so"
1310 @ MSG_STR_PATH "%s/%s"
1311 @ MSG_STR_STRNL "%s\n"
1312 @ MSG_STR_NL "\n"
1313 @ MSG_STR_CAPGROUPID "CAP_GROUP_%d"
1314
1315 @ MSG_STR_LD_DYNAMIC "dynamic"
1316 @ MSG_STR_SYMBOLIC "symbolic"
1317 @ MSG_STR_ELIMINATE "eliminate"
1318 @ MSG_STR_LOCAL "local"
1319 @ MSG_STR_PROGBITS "progbits"
1320 @ MSG_STR_SYMTAB "symtab"
1321 @ MSG_STR_DYNSYM "dynsym"
1322 @ MSG_STR_REL "rel"
1323 @ MSG_STR_RELA "rela"
1324 @ MSG_STR_STRTAB "strtab"
1325 @ MSG_STR_HASH "hash"
1326 @ MSG_STR_LIB "lib"
1327 @ MSG_STR_NOTE "note"
1328 @ MSG_STR_NOBITS "nobits"
1329 @ MSG_STR_HWCAP_1 "hwcap_1"
1330 @ MSG_STR_SFCAP_1 "sfcap_1"
1331 @ MSG_STR_SOEXT ".so"
1332
1333 @ 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:\
1334 S:VW:Y:?"
1335
1336 # Argument processing strings
1337
1338 @ MSG_ARG_3 "-3"
1339 @ MSG_ARG_6 "-6"
1340 @ MSG_ARG_A "-a"
1341 @ MSG_ARG_B "-b"
1342 @ MSG_ARG_CB "-B"
1343 @ MSG_ARG_BDIRECT "-Bdirect"
1344 @ MSG_ARG_BDYNAMIC "-Bdynamic"
1345 @ MSG_ARG_BELIMINATE "-Beliminate"
1346 @ MSG_ARG_BGROUP "-Bgroup"
1347 @ MSG_ARG_BLOCAL "-Blocal"
1348 @ MSG_ARG_BNODIRECT "-Bnodirect"
1349 @ MSG_ARG_BSYMBOLIC "-Bsymbolic"
1350 @ MSG_ARG_BTRANSLATOR "-Btranslator"
1351 @ MSG_ARG_C "-c"
1352 @ MSG_ARG_D "-d"
1353 @ MSG_ARG_DY "-dy"
1354 @ MSG_ARG_CI "-I"
1355 @ MSG_ARG_CN "-N"
1356 @ MSG_ARG_P "-p"
1357 @ MSG_ARG_CP "-P"
1358 @ MSG_ARG_CQ "-Q"
1359 @ MSG_ARG_CY "-Y"
1360 @ MSG_ARG_CYL "-YL"
1361 @ MSG_ARG_CYP "-YP"
1362 @ MSG_ARG_CYU "-YU"
1363 @ MSG_ARG_Z "-z"
1364 @ MSG_ARG_ZDEFNODEF "-z[defs|nodefs]"
1365 @ MSG_ARG_ZASLR "-zaslr"
1366 @ MSG_ARG_ZGUIDE "-zguidance"
1367 @ MSG_ARG_ZNODEF "-znodefs"
1368 @ MSG_ARG_ZNOINTERP "-znointerp"
1369 @ MSG_ARG_ZRELAXRELOC "-zrelaxreloc"
1370 @ MSG_ARG_ZNORELAXRELOC "-znorelaxreloc"
1371 @ MSG_ARG_ZTEXT "-ztext"
1372 @ MSG_ARG_ZTEXTOFF "-ztextoff"
1373 @ MSG_ARG_ZTEXTWARN "-ztextwarn"
1374 @ MSG_ARG_ZTEXTALL "-z[text|textwarn|textoff]"
1375 @ MSG_ARG_ZLOADFLTR "-zloadfltr"
1376 @ MSG_ARG_ZCOMBRELOC "-zcombreloc"
1377 @ MSG_ARG_ZSYMBOLCAP "-zsymbolcap"
1378 @ MSG_ARG_ZFATWNOFATW "-z[fatal-warnings|nofatalwarnings]"
1379
1380 @ MSG_ARG_ABSEXEC "absexec"
1381 @ MSG_ARG_ALTEXEC64 "altexec64"
1382 @ MSG_ARG_ASLR "aslr"
1383 @ MSG_ARG_NOCOMPSTRTAB "nocompstrtab"
1384 @ MSG_ARG_GROUPPERM "groupperm"
1385 @ MSG_ARG_NOGROUPPERM "nogroupperm"
1386 @ MSG_ARG_LAZYLOAD "lazyload"
1387 @ MSG_ARG_NOLAZYLOAD "nolazyload"
1388 @ MSG_ARG_INTERPOSE "interpose"
1389 @ MSG_ARG_DIRECT "direct"
1390 @ MSG_ARG_NODIRECT "nodirect"
1391 @ MSG_ARG_IGNORE "ignore"
1392 @ MSG_ARG_RECORD "record"
1393 @ MSG_ARG_INITFIRST "initfirst"
1394 @ MSG_ARG_INITARRAY "initarray="
1395 @ MSG_ARG_FINIARRAY "finiarray="
1396 @ MSG_ARG_PREINITARRAY "preinitarray="
1397 @ MSG_ARG_RTLDINFO "rtldinfo="
1398 @ MSG_ARG_DTRACE "dtrace="
1399 @ MSG_ARG_TRANSLATOR "translator"
1400 @ MSG_ARG_NOOPEN "nodlopen"
1401 @ MSG_ARG_NOW "now"
1402 @ MSG_ARG_ORIGIN "origin"
1403 @ MSG_ARG_DEFS "defs"
1404 @ MSG_ARG_NODEFS "nodefs"
1405 @ MSG_ARG_NODUMP "nodump"
1406 @ MSG_ARG_NOVERSION "noversion"
1407 @ MSG_ARG_TEXT "text"
1408 @ MSG_ARG_TEXTOFF "textoff"
1409 @ MSG_ARG_TEXTWARN "textwarn"
1410 @ MSG_ARG_MULDEFS "muldefs"
1411 @ MSG_ARG_NODELETE "nodelete"
1412 @ MSG_ARG_NOINTERP "nointerp"
1413 @ MSG_ARG_NOPARTIAL "nopartial"
1414 @ MSG_ARG_NORELOC "noreloc"
1415 @ MSG_ARG_REDLOCSYM "redlocsym"
1416 @ MSG_ARG_VERBOSE "verbose"
1417 @ MSG_ARG_WEAKEXT "weakextract"
1418 @ MSG_ARG_LOADFLTR "loadfltr"
1419 @ MSG_ARG_ALLEXTRT "allextract"
1420 @ MSG_ARG_DFLEXTRT "defaultextract"
1421 @ MSG_ARG_COMBRELOC "combreloc"
1422 @ MSG_ARG_NOCOMBRELOC "nocombreloc"
1423 @ MSG_ARG_NODEFAULTLIB "nodefaultlib"
1424 @ MSG_ARG_ENDFILTEE "endfiltee"
1425 @ MSG_ARG_LD32 "ld32="
1426 @ MSG_ARG_LD64 "ld64="
1427 @ MSG_ARG_RESCAN "rescan"
1428 @ MSG_ARG_RESCAN_NOW "rescan-now"
1429 @ MSG_ARG_RESCAN_START "rescan-start"
1430 @ MSG_ARG_RESCAN_END "rescan-end"
1431 @ MSG_ARG_GUIDE "guidance"
1432 @ MSG_ARG_NOLDYNSYM "noldynsym"
1433 @ MSG_ARG_RELAXRELOC "relaxreloc"
1434 @ MSG_ARG_NORELAXRELOC "norelaxreloc"
1435 @ MSG_ARG_NOSIGHANDLER "nosighandler"
1436 @ MSG_ARG_GLOBAUDIT "globalaudit"
1437 @ MSG_ARG_TARGET "target="
1438 @ MSG_ARG_WRAP "wrap="
1439 @ MSG_ARG_FATWARN "fatal-warnings"
1440 @ MSG_ARG_NOFATWARN "nofatal-warnings"
1441 @ MSG_ARG_HELP "help"
1442 @ MSG_ARG_GROUP "group"
1443 @ MSG_ARG_REDUCE "reduce"
1444 @ MSG_ARG_STATIC "static"
1445 @ MSG_ARG_SYMBOLCAP "symbolcap"
1446 @ MSG_ARG_DEFERRED "deferred"
1447 @ MSG_ARG_NODEFERRED "nodeferred"
1448 @ MSG_ARG_ASSDEFLIB "assert-deflib"
1449
1450 @ MSG_ARG_LCOM "L,"
1451 @ MSG_ARG_PCOM "P,"
1452 @ MSG_ARG_UCOM "U,"
1453
1454 @ MSG_ARG_T_RPATH "rpath"
1455 @ MSG_ARG_T_SHARED "shared"
1456 @ MSG_ARG_T_SONAME "soname"
1457 @ MSG_ARG_T_WL "l,-"
1458
1459 @ MSG_ARG_T_AUXFLTR "-auxiliary"
1460 @ MSG_ARG_T_MULDEFS "-allow-multiple-definition"
1461 @ MSG_ARG_T_INTERP "-dynamic-linker"
1462 @ MSG_ARG_T_ENDGROUP "-end-group"
1463 @ MSG_ARG_T_ENTRY "-entry"
1464 @ MSG_ARG_T_STDFLTR "-filter"
1465 @ MSG_ARG_T_FATWARN "-fatal-warnings"
1466 @ MSG_ARG_T_NOFATWARN "-no-fatal-warnings"
1467 @ MSG_ARG_T_HELP "-help"
1468 @ MSG_ARG_T_LIBRARY "-library"
1469 @ MSG_ARG_T_LIBPATH "-library-path"
1470 @ MSG_ARG_T_NOUNDEF "-no-undefined"
1471 @ MSG_ARG_T_NOWHOLEARC "-no-whole-archive"
1472 @ MSG_ARG_T_OUTPUT "-output"
1473 @ MSG_ARG_T_RELOCATABLE "-relocatable"
1474 @ MSG_ARG_T_STARTGROUP "-start-group"
1475 @ MSG_ARG_T_STRIP "-strip-all"
1476 @ MSG_ARG_T_UNDEF "-undefined"
1477 @ MSG_ARG_T_VERSION "-version"
1478 @ MSG_ARG_T_WHOLEARC "-whole-archive"
1479 @ MSG_ARG_T_WRAP "-wrap"
1480 @ MSG_ARG_T_OPAR "("
1481 @ MSG_ARG_T_CPAR ")"
1482
1483 @ MSG_ARG_ENABLED "enabled"
1484 @ MSG_ARG_DISABLED "disabled"
1485 @ MSG_ARG_ENABLE "enable"
1486 @ MSG_ARG_DISABLE "disable"
1487
1488 # -z guidance=item strings
1489 @ MSG_ARG_GUIDE_DELIM ",: \t"
1490 @ MSG_ARG_GUIDE_NO_ALL "noall"
1491 @ MSG_ARG_GUIDE_NO_DEFS "nodefs"
1492 @ MSG_ARG_GUIDE_NO_DIRECT "nodirect"
1493 @ MSG_ARG_GUIDE_NO_LAZYLOAD "nolazyload"
1494 @ MSG_ARG_GUIDE_NO_MAPFILE "nomapfile"
1495 @ MSG_ARG_GUIDE_NO_TEXT "notext"
1496 @ MSG_ARG_GUIDE_NO_UNUSED "nounused"
1497
1498 # Environment variable strings
1499
1500 @ MSG_LD_RUN_PATH "LD_RUN_PATH"
1501 @ MSG_LD_LIBPATH_32 "LD_LIBRARY_PATH_32"
1502 @ MSG_LD_LIBPATH_64 "LD_LIBRARY_PATH_64"
1503 @ MSG_LD_LIBPATH "LD_LIBRARY_PATH"
1504
1505 @ MSG_LD_NOVERSION_32 "LD_NOVERSION_32"
1506 @ MSG_LD_NOVERSION_64 "LD_NOVERSION_64"
1507 @ MSG_LD_NOVERSION "LD_NOVERSION"
1508
1509 @ MSG_SGS_SUPPORT_32 "SGS_SUPPORT_32"
1510 @ MSG_SGS_SUPPORT_64 "SGS_SUPPORT_64"
1511 @ MSG_SGS_SUPPORT "SGS_SUPPORT"
1512
1513
1514 # Symbol names
1515
1516 @ MSG_SYM_LIBVER_U "_lib_version"
1517
1518
1519 # Mapfile tokens
1520
1521 @ MSG_MAP_LOAD "load"
1522 @ MSG_MAP_NOTE "note"
1523 @ MSG_MAP_NULL "null"
1524 @ MSG_MAP_STACK "stack"
1525 @ MSG_MAP_ADDVERS "addvers"
1526 @ MSG_MAP_FUNCTION "function"
1527 @ MSG_MAP_DATA "data"
1528 @ MSG_MAP_COMMON "common"
1529 @ MSG_MAP_PARENT "parent"
1530 @ MSG_MAP_EXTERN "extern"
1531 @ MSG_MAP_DIRECT "direct"
1532 @ MSG_MAP_NODIRECT "nodirect"
1533 @ MSG_MAP_FILTER "filter"
1534 @ MSG_MAP_AUXILIARY "auxiliary"
1535 @ MSG_MAP_OVERRIDE "override"
1536 @ MSG_MAP_INTERPOSE "interpose"
1537 @ MSG_MAP_DYNSORT "dynsort"
1538 @ MSG_MAP_NODYNSORT "nodynsort"
1539
1540 @ MSG_MAPKW_ALIGN "ALIGN"
1541 @ MSG_MAPKW_ALLOC "ALLOC"
1542 @ MSG_MAPKW_ALLOW "ALLOW"
1543 @ MSG_MAPKW_AMD64_LARGE "AMD64_LARGE"
1544 @ MSG_MAPKW_ASSIGN_SECTION "ASSIGN_SECTION"
1545 @ MSG_MAPKW_AUX "AUXILIARY"
1546 @ MSG_MAPKW_CAPABILITY "CAPABILITY"
1547 @ MSG_MAPKW_COMMON "COMMON"
1548 @ MSG_MAPKW_DATA "DATA"
1549 @ MSG_MAPKW_DEFAULT "DEFAULT"
1550 @ MSG_MAPKW_DEPEND_VERSIONS "DEPEND_VERSIONS"
1551 @ MSG_MAPKW_DIRECT "DIRECT"
1552 @ MSG_MAPKW_DISABLE "DISABLE"
1553 @ MSG_MAPKW_DYNSORT "DYNSORT"
1554 @ MSG_MAPKW_ELIMINATE "ELIMINATE"
1555 @ MSG_MAPKW_EXECUTE "EXECUTE"
1556 @ MSG_MAPKW_EXPORTED "EXPORTED"
1557 @ MSG_MAPKW_EXTERN "EXTERN"
1558 @ MSG_MAPKW_FILTER "FILTER"
1559 @ MSG_MAPKW_FILE_BASENAME "FILE_BASENAME"
1560 @ MSG_MAPKW_FILE_PATH "FILE_PATH"
1561 @ MSG_MAPKW_FILE_OBJNAME "FILE_OBJNAME"
1562 @ MSG_MAPKW_FUNCTION "FUNCTION"
1563 @ MSG_MAPKW_FLAGS "FLAGS"
1564 @ MSG_MAPKW_GLOBAL "GLOBAL"
1565 @ MSG_MAPKW_INTERPOSE "INTERPOSE"
1566 @ MSG_MAPKW_HIDDEN "HIDDEN"
1567 @ MSG_MAPKW_HDR_NOALLOC "HDR_NOALLOC"
1568 @ MSG_MAPKW_HW "HW"
1569 @ MSG_MAPKW_HW_1 "HW_1"
1570 @ MSG_MAPKW_HW_2 "HW_2"
1571 @ MSG_MAPKW_IS_NAME "IS_NAME"
1572 @ MSG_MAPKW_IS_ORDER "IS_ORDER"
1573 @ MSG_MAPKW_LOAD_SEGMENT "LOAD_SEGMENT"
1574 @ MSG_MAPKW_LOCAL "LOCAL"
1575 @ MSG_MAPKW_MACHINE "MACHINE"
1576 @ MSG_MAPKW_MAX_SIZE "MAX_SIZE"
1577 @ MSG_MAPKW_NOHDR "NOHDR"
1578 @ MSG_MAPKW_NODIRECT "NODIRECT"
1579 @ MSG_MAPKW_NODYNSORT "NODYNSORT"
1580 @ MSG_MAPKW_NOTE_SEGMENT "NOTE_SEGMENT"
1581 @ MSG_MAPKW_NULL_SEGMENT "NULL_SEGMENT"
1582 @ MSG_MAPKW_OS_ORDER "OS_ORDER"
1583 @ MSG_MAPKW_PADDR "PADDR"
1584 @ MSG_MAPKW_PARENT "PARENT"
1585 @ MSG_MAPKW_PHDR_ADD_NULL "PHDR_ADD_NULL"
1586 @ MSG_MAPKW_PLATFORM "PLATFORM"
1587 @ MSG_MAPKW_PROTECTED "PROTECTED"
1588 @ MSG_MAPKW_READ "READ"
1589 @ MSG_MAPKW_ROUND "ROUND"
1590 @ MSG_MAPKW_REQUIRE "REQUIRE"
1591 @ MSG_MAPKW_SEGMENT_ORDER "SEGMENT_ORDER"
1592 @ MSG_MAPKW_SF "SF"
1593 @ MSG_MAPKW_SF_1 "SF_1"
1594 @ MSG_MAPKW_SINGLETON "SINGLETON"
1595 @ MSG_MAPKW_SIZE "SIZE"
1596 @ MSG_MAPKW_SIZE_SYMBOL "SIZE_SYMBOL"
1597 @ MSG_MAPKW_STACK "STACK"
1598 @ MSG_MAPKW_SYMBOL_SCOPE "SYMBOL_SCOPE"
1599 @ MSG_MAPKW_SYMBOL_VERSION "SYMBOL_VERSION"
1600 @ MSG_MAPKW_SYMBOLIC "SYMBOLIC"
1601 @ MSG_MAPKW_TYPE "TYPE"
1602 @ MSG_MAPKW_VADDR "VADDR"
1603 @ MSG_MAPKW_VALUE "VALUE"
1604 @ MSG_MAPKW_WRITE "WRITE"
1605
1606
1607 @ MSG_STR_DTRACE "PT_SUNWDTRACE"