• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1DIAG(err_cannot_open_input,
2     DiagnosticEngine::Error,
3     "can not open input file `%0': %1",
4     "can not open input file `%0' : %1")
5DIAG(err_cannot_open_output_file,
6     DiagnosticEngine::Fatal,
7     "cannot open output file `%0': %1",
8     "cannot open output file `%0': %1")
9DIAG(warn_cannot_open_search_dir,
10     DiagnosticEngine::Warning,
11     "can not open search directory `-L%0'",
12     "can not open search directory `-L%0'")
13DIAG(err_no_inputs, DiagnosticEngine::Error, "no inputs", "no inputs")
14DIAG(err_empty_input,
15     DiagnosticEngine::Error,
16     "Empty input file `%0' : %1",
17     "Empty input file `%0' : %1")
18DIAG(warn_unrecognized_input_file,
19     DiagnosticEngine::Warning,
20     "cannot recognize the format of file `%0'.\n  object format or given "
21     "target machine (%1) is incompatible.",
22     "cannot recognize the format of file `%0'.\n  object format or given "
23     "target machine (%1) is incompatible.")
24DIAG(err_cannot_find_namespec,
25     DiagnosticEngine::Fatal,
26     "cannot recognize namespec -l%0",
27     "cannot recognize namespec -l%0")
28DIAG(err_cannot_identify_option,
29     DiagnosticEngine::Fatal,
30     "unknown command line argument `%0' at %1",
31     "unknown command line argument `%0' at %1")
32DIAG(err_mixed_shared_static_objects,
33     DiagnosticEngine::Error,
34     "cannot link shared objects with -static option.\nShared object `%0': %1",
35     "cannot link shared objects with -static option.\nShared object `%0': %1")
36DIAG(unrecognized_output_file,
37     DiagnosticEngine::Unreachable,
38     "unsupported output file format: `%0'",
39     "unsupported output file format: `%0'")
40DIAG(unrecognized_output_sectoin,
41     DiagnosticEngine::Unreachable,
42     "Unable to emit section `%0'\nPlease report to `%1'",
43     "Unable to emit section `%0'\nPlease report to `%1'")
44DIAG(duplicated_wrap,
45     DiagnosticEngine::Warning,
46     "wrapped symbol `%0' had been claimed",
47     "wrapped symbol `%0' had been claimed")
48DIAG(rewrap,
49     DiagnosticEngine::Warning,
50     "There are duplicated --wrap `%0' on the command line\nsymbol `%1' had "
51     "been claimed",
52     "There are duplicated --wrap `%0' on the command line]\nsymbol `%1' had "
53     "been claimed.")
54DIAG(err_cannot_read_symbol,
55     DiagnosticEngine::Fatal,
56     "can not read symbol[%0] in file %1",
57     "can not read symbol[%0] in file %1")
58DIAG(err_cannot_read_section,
59     DiagnosticEngine::Fatal,
60     "can not read section `%0'.",
61     "can not read section `%0'.")
62DIAG(err_cannot_read_target_section,
63     DiagnosticEngine::Fatal,
64     "can not read target-dependent section `%0'.",
65     "can not read target-dependent section `%0'.")
66DIAG(err_cannot_read_relocated_section,
67     DiagnosticEngine::Fatal,
68     "can not read the section being relocated in file %0.\ninvalid sh_info: "
69     "%1\nrelocation section: %2",
70     "can not read the section being relocated in file %0.\ninvalid sh_info: "
71     "%1\nrelocation section: %2")
72DIAG(err_unsupported_section,
73     DiagnosticEngine::Fatal,
74     "unsupported section `%0' (type %1)",
75     "unsupported section `%0' (type %1)")
76DIAG(unreachable_invalid_section_idx,
77     DiagnosticEngine::Unreachable,
78     "section[%0] is invalid in file %1",
79     "section[%0] is invalid in file %1")
80DIAG(err_unsupported_whole_archive,
81     DiagnosticEngine::Error,
82     "Target does not support --whole-archive",
83     "Target does not support --whole-archive")
84DIAG(err_unsupported_as_needed,
85     DiagnosticEngine::Error,
86     "Target does not support --as-needed",
87     "Target does not support --as-needed")
88DIAG(err_unsupported_add_needed,
89     DiagnosticEngine::Error,
90     "Target doest not support --add-needed",
91     "Target does not support --add-needed")
92DIAG(err_unsupported_Bdynamic,
93     DiagnosticEngine::Error,
94     "Target does not support --Bdynamic",
95     "Target does not support --Bdynamic")
96DIAG(err_enable_as_needed_on_static_system,
97     DiagnosticEngine::Warning,
98     "can not enable --as-needed on the target which does not support shared "
99     "objects",
100     "can not enable --as-needed on the target which does not support shared "
101     "objects")
102DIAG(err_mix_static_as_needed,
103     DiagnosticEngine::Warning,
104     "cannot mix --static with --as-needed",
105     "cannot mix --static with --as-needed")
106DIAG(err_cannot_change_file_size,
107     DiagnosticEngine::Error,
108     "cannot truncate file `%0' to size %1",
109     "cannot truncate ffile `%0' to size %1")
110DIAG(err_cannot_open_file,
111     DiagnosticEngine::Error,
112     "cannot open file `%0': %1.",
113     "cannot open file `%0': %1.")
114DIAG(err_cannot_close_file,
115     DiagnosticEngine::Error,
116     "cannot close file `%0': %1.",
117     "cannot close file `%0': %1.")
118DIAG(err_cannot_read_file,
119     DiagnosticEngine::Error,
120     "cannot read file %0 from offset %1 to length %2.",
121     "cannot read file %0 from offset %1 to length %2.")
122DIAG(err_cannot_read_small_file,
123     DiagnosticEngine::Fatal,
124     "file %0 is too small to read.\n  file size is %1.\n  read from %2.",
125     "file %0 is too small to read.\n  file size is %1.\n  read from %2.")
126DIAG(err_cannot_mmap_file,
127     DiagnosticEngine::Error,
128     "cannot open memory mapped file %0 from offset %1 to length %2.",
129     "cannot open memoory mpped file %0 from offset %1 to length %2.")
130DIAG(err_cannot_munmap_file,
131     DiagnosticEngine::Error,
132     "cannot remove the mapped memory of file %0.",
133     "cannot remove the mapped memory of file %0.")
134DIAG(err_cannot_write_file,
135     DiagnosticEngine::Error,
136     "cannot write file %0 from offset %1 to length %2.",
137     "cannot write file %0 from offset %1 to length %2.")
138DIAG(warn_illegal_input_section,
139     DiagnosticEngine::Warning,
140     "section `%0' should not appear in input file `%1': %2",
141     "section `%0' should not appear in input file `%1': %2")
142DIAG(err_cannot_trace_file,
143     DiagnosticEngine::Unreachable,
144     "cannot identify the type (%0) of input file `%1'.\n  %2",
145     "cannot identify the type (%0) of input file `%1'.\n  %2")
146DIAG(err_out_of_range_region,
147     DiagnosticEngine::Unreachable,
148     "requested memory region [%0, %1] is out of range.",
149     "requested memory region [%0, %1] is out of range.")
150DIAG(debug_eh_unsupport,
151     DiagnosticEngine::Debug,
152     "unsupported .eh_frame section in input: %0",
153     "unsupported .eh_frame section in input: %0")
154DIAG(note_eh_cie,
155     DiagnosticEngine::Note,
156     "CIE length: %0, aug_string: %1, fde_encodeing: %2",
157     "CIE length: %0, aug_string: %1, fde_encodeing: %2")
158DIAG(note_eh_fde,
159     DiagnosticEngine::Note,
160     "FDE length: %0, offset of PC Begin: %1",
161     "FDE length: %0, offset of PC Begin: %1")
162DIAG(fatal_cannot_init_target,
163     DiagnosticEngine::Fatal,
164     "Cannot initialize mcld::Target for given triple '%0'.\n(Detail: %1)",
165     "Cannot initialize mcld::Target for given triple '%0'.\n(Detail: %1)")
166DIAG(fatal_cannot_init_lineinfo,
167     DiagnosticEngine::Fatal,
168     "Cannot initialize mcld::DiagnosticLineInfo for given triple '%0'",
169     "Cannot initialize mcld::DiagnosticLineInfo for given triple '%0'")
170DIAG(fatal_cannot_init_backend,
171     DiagnosticEngine::Fatal,
172     "Cannot initialize mcld::TargetLDBackend for given triple '%0'.",
173     "Cannot initialize mcld::TargetLDBackend for given triple '%0'.")
174DIAG(fatal_forbid_nest_group,
175     DiagnosticEngine::Fatal,
176     "not matched --start-group and --end-group",
177     "not matched --start-group and --end-group")
178DIAG(fatal_unwritable_output,
179     DiagnosticEngine::Fatal,
180     "unable to write output file %0",
181     "unable to write output file %0")
182DIAG(warn_unsupported_option,
183     DiagnosticEngine::Warning,
184     "%0: unsupported option",
185     "%0: unsupported option")
186DIAG(warn_shared_textrel,
187     DiagnosticEngine::Warning,
188     "Add DT_TEXTREL in a shared object!",
189     "Add DT_TEXTREL in a shared object.")
190DIAG(fatal_illegal_codegen_type,
191     DiagnosticEngine::Fatal,
192     "illegal output format of output %0",
193     "illegal output format of output %0")
194DIAG(err_nmagic_not_static,
195     DiagnosticEngine::Error,
196     "cannot mix -nmagic option with -shared",
197     "cannot mix -nmagic option with -shared")
198DIAG(err_omagic_not_static,
199     DiagnosticEngine::Error,
200     "cannot mix -omagic option with -shared",
201     "cannot mix -omagic option with -shared")
202DIAG(err_invalid_emulation,
203     DiagnosticEngine::Error,
204     "Invalid target emulation: `%0'.",
205     "Invalid target emulation: `%0'.")
206DIAG(err_cannot_find_scriptfile,
207     DiagnosticEngine::Fatal,
208     "cannot open %0 file %1",
209     "cannot open %0 file %1")
210DIAG(err_unsupported_archive,
211     DiagnosticEngine::Error,
212     "Unsupported archive type.",
213     "Unsupported archive type.")
214DIAG(unexpected_frag_type,
215     DiagnosticEngine::Unreachable,
216     "Unexpected fragment type `%0' when constructing FG",
217     "Unexpected fragment type `%0' when constructing FG")
218DIAG(debug_print_gc_sections,
219     DiagnosticEngine::Debug,
220     "removing unused section from '%0' in file '%1'",
221     "removing unused section from '%0' in file '%1'")
222DIAG(eh_missing_text_section,
223     DiagnosticEngine::Fatal,
224     "missing text section for '%0' in file '%1'",
225     "missing text section for '%0' in file '%1'")
226