]>
Commit | Line | Data |
---|---|---|
3e7db517 GA |
1 | 2022-05-04 Martin Liska <mliska@suse.cz> |
2 | ||
3 | * lto-plugin.c (struct plugin_objfile): Use bool for offset | |
4 | field. | |
5 | (exec_lto_wrapper): Assign true/false to bool variables. | |
6 | (process_offload_section): Likewise. | |
7 | (claim_file_handler): Likewise. | |
8 | (onload): Likewise. | |
9 | ||
a2287813 GA |
10 | 2022-03-22 Jakub Jelinek <jakub@redhat.com> |
11 | ||
12 | PR lto/102426 | |
13 | * configure.ac (LTO_PLUGIN_USE_SYMVER, LTO_PLUGIN_USE_SYMVER_GNU, | |
14 | LTO_PLUGIN_USE_SYMVER_SUN): New test for symbol versioning support. | |
15 | * Makefile.am (version_arg, version_dep): Set conditionally based | |
16 | on LTO_PLUGIN_USE_SYMVER*. | |
17 | (liblto_plugin_la_LDFLAGS): Use $(version_arg) instead of | |
18 | -export-symbols-regex onload. | |
19 | (liblto_plugin_la_DEPENDENCIES): Depend on $(version_dep). | |
20 | * lto-plugin.map: New file. | |
21 | * configure: Regenerated. | |
22 | * Makefile.in: Regenerated. | |
23 | ||
b00f9761 GA |
24 | 2022-03-11 Tobias Burnus <tobias@codesourcery.com> |
25 | ||
26 | * lto-plugin.c (all_symbols_read_handler): With -save-temps, use | |
27 | link_output_name for -foffload-objects's file name, if available. | |
28 | ||
12d4552e GA |
29 | 2022-03-01 Martin Liska <mliska@suse.cz> |
30 | ||
31 | * lto-plugin.c (process_offload_section): Use a linker as many | |
32 | comments are connected to gold linker. | |
33 | (process_option): Likewise. | |
34 | ||
ea6ef320 GA |
35 | 2021-12-02 Rasmus Villemoes <rasmus.villemoes@prevas.dk> |
36 | ||
37 | * lto-plugin.c: Fix -linker-output-auto-notlo-rel -> | |
38 | -linker-output-auto-nolto-rel typo. | |
39 | (process_option): Adjust accordingly, accepting both old and | |
40 | new spelling. | |
41 | ||
07985c47 GA |
42 | 2021-09-13 Andrew Pinski <apinski@marvell.com> |
43 | ||
44 | PR lto/49664 | |
45 | * Makefile.am: Export only onload. | |
46 | * Makefile.in: Regenerate. | |
47 | ||
90708f87 GA |
48 | 2021-06-25 Richard Biener <rguenther@suse.de> |
49 | ||
50 | * lto-plugin.c (ltrans_objects): New global. | |
51 | (all_symbols_read_handler): If -ltrans-objects was specified, | |
52 | add the output files from the specified file directly. | |
53 | (process_option): Handle -ltrans-objects. | |
54 | ||
aa891c56 GA |
55 | 2021-05-10 Martin Liska <mliska@suse.cz> |
56 | ||
57 | * lto-plugin.c (LTO_SEGMENT_NAME): Remove. | |
58 | (LTO_SYMTAB_PREFIX): Likewise. | |
59 | (LTO_SYMTAB_PREFIX_LEN): Likewise. | |
60 | (LTO_SYMTAB_EXT_PREFIX): Likewise. | |
61 | (LTO_SYMTAB_EXT_PREFIX_LEN): Likewise. | |
62 | (LTO_LTO_PREFIX): Likewise. | |
63 | (LTO_LTO_PREFIX_LEN): Likewise. | |
64 | (OFFLOAD_SECTION): Likewise. | |
65 | (OFFLOAD_SECTION_LEN): Likewise. | |
66 | (startswith): New function. | |
67 | (all_symbols_read_handler): Use it. | |
68 | (process_symtab): Likewise. | |
69 | (process_symtab_extension): Likewise. | |
70 | (process_offload_section): Likewise. | |
71 | (process_option): Likewise. | |
72 | ||
e690396d GA |
73 | 2021-05-03 H.J. Lu <hjl.tools@gmail.com> |
74 | ||
75 | PR bootstrap/99703 | |
76 | * configure: Regenerated. | |
77 | ||
c1ef0c92 GA |
78 | 2021-04-21 Martin Liska <mliska@suse.cz> |
79 | ||
80 | * lto-plugin.c (exec_lto_wrapper): Make a temp variable. | |
81 | ||
651b8a50 GA |
82 | 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> |
83 | ||
84 | * configure: Re-generate. | |
85 | ||
a9625c50 GA |
86 | 2020-11-29 John David Anglin <danglin@gcc.gnu.org> |
87 | ||
88 | * configure: Regenerate. | |
89 | ||
360258da GA |
90 | 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com> |
91 | ||
92 | * Makefile.am: Avoid using sanitizer. | |
93 | * Makefile.in: Regenerate. | |
94 | ||
fdcc0283 GA |
95 | 2020-09-10 Jonathan Yong <10walls@gmail.com> |
96 | ||
97 | * Makefile.am: drop versioning from libtool completely. | |
98 | * Makefile.in: regenerate. | |
99 | ||
80f86e78 GA |
100 | 2020-09-09 Nick Clifton <nickc@redhat.com> |
101 | ||
102 | * lto-plugin.c (struct plugin_symtab): Add last_sym field. | |
103 | (parse_symtab_extension): Only read as many entries as are | |
104 | available in the buffer. Store the data read into the symbol | |
105 | table indexed from last_sym. Increment last_sym. | |
106 | ||
d48cca8f GA |
107 | 2020-07-30 H.J. Lu <hjl.tools@gmail.com> |
108 | ||
109 | PR bootstrap/96202 | |
110 | * configure: Regenerated. | |
111 | ||
885ef72f GA |
112 | 2020-05-29 H.J. Lu <hjl.tools@gmail.com> |
113 | ||
114 | PR bootstrap/95413 | |
115 | * configure: Regenerated. | |
116 | ||
c3a4169b GA |
117 | 2020-05-26 Alexandre Oliva <oliva@adacore.com> |
118 | ||
119 | * lto-plugin.c (skip_in_suffix): New. | |
120 | (exec_lto_wrapper): Use skip_in_suffix and concat to build | |
121 | non-temporary output names. | |
122 | (onload): Look for -dumpdir in COLLECT_GCC_OPTIONS, and | |
123 | override link_output_name with it. | |
124 | ||
d17cdc17 L |
125 | 2020-05-12 H.J. Lu <hongjiu.lu@intel.com> |
126 | ||
127 | PR bootstrap/94998 | |
128 | * configure: Regenerated. | |
129 | ||
5269b246 EB |
130 | 2020-05-05 Eric Botcazou <ebotcazou@adacore.com> |
131 | ||
132 | * lto-plugin.c: Document -linker-output-auto-notlo-rel option. | |
133 | (linker_output_set): Change type to bool. | |
134 | (linker_output_known): Likewise. | |
135 | (linker_output_auto_nolto_rel): New variable. | |
136 | (all_symbols_read_handler): Take it into account. | |
137 | <LDPO_REL>: Do not issue the warning if it is set. | |
138 | (process_option): Process -linker-output-auto-notlo-rel. | |
139 | (cleanup_handler): Remove unused variable. | |
140 | (onload) <LDPT_LINKER_OUTPUT>: Adjust to above type change. | |
141 | ||
eedc73a2 L |
142 | 2020-04-28 H.J. Lu <hongjiu.lu@intel.com> |
143 | ||
144 | PR bootstrap/94739 | |
145 | * configure: Regenerated. | |
146 | ||
8fc8bf80 L |
147 | 2020-04-25 H.J. Lu <hongjiu.lu@intel.com> |
148 | ||
149 | PR bootstrap/94739 | |
150 | * Makefile.am (AM_CFLAGS): Add $(CET_HOST_FLAGS). | |
151 | * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and | |
152 | AC_SUBST(CET_HOST_FLAGS). | |
153 | * Makefile.in: Regenerated. | |
154 | * aclocal.m4: Likewise. | |
155 | * configure: Likewise. | |
156 | ||
c8429c2a ML |
157 | 2020-03-19 Martin Liska <mliska@suse.cz> |
158 | ||
159 | * lto-plugin.c (LTO_SECTION_PREFIX): Rename to ... | |
160 | (LTO_SYMTAB_PREFIX): ... this. | |
161 | (LTO_SECTION_PREFIX_LEN): Rename to ... | |
162 | (LTO_SYMTAB_PREFIX_LEN): ... this. | |
163 | (LTO_SYMTAB_EXT_PREFIX): New. | |
164 | (LTO_SYMTAB_EXT_PREFIX_LEN): New. | |
165 | (LTO_LTO_PREFIX): New. | |
166 | (LTO_LTO_PREFIX_LEN): New. | |
167 | (parse_table_entry): Fill up unused to zero. | |
168 | (parse_table_entry_extension): New. | |
169 | (parse_symtab_extension): New. | |
170 | (finish_conflict_resolution): Change type | |
171 | for resolution. | |
172 | (process_symtab): Use new macro name. | |
173 | (process_symtab_extension): New. | |
174 | (claim_file_handler): Parse also process_symtab_extension. | |
175 | (onload): Call new add_symbols_v2. | |
176 | ||
8d9254fc JJ |
177 | 2020-01-01 Jakub Jelinek <jakub@redhat.com> |
178 | ||
179 | Update copyright years. | |
180 | ||
e9085da5 MR |
181 | 2019-09-27 Maciej W. Rozycki <macro@wdc.com> |
182 | ||
183 | * configure: Regenerate. | |
184 | ||
2e97dfdd IS |
185 | 2019-05-15 Iain Sandoe <iain@sandoe.co.uk> |
186 | ||
187 | * lto-plugin.c (cleanup_handler): Remove unused var. | |
188 | ||
c101cff8 IS |
189 | 2019-05-15 Iain Sandoe <iain@sandoe.co.uk> |
190 | ||
191 | * lto-plugin.c (exec_lto_wrapper): Make the wrapper | |
192 | arguments filename more user-friendly. | |
193 | (file_exists, maybe_unlink): New. | |
194 | (cleanup_handler): Use maybe unlink to handle the | |
195 | case when temps should be saved. | |
196 | (process_option): Look for -v, —-version, -save-temps. | |
197 | (onload): Record the linker output file name. | |
198 | Check for -v, —-version, -save-temps in the GCC collect | |
199 | options environment. | |
200 | ||
24f0c842 ML |
201 | 2019-02-26 Martin Liska <mliska@suse.cz> |
202 | ||
203 | * lto-symtab.c: Remove. | |
204 | ||
a5544970 JJ |
205 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
206 | ||
207 | Update copyright years. | |
208 | ||
22e05272 JM |
209 | 2018-10-31 Joseph Myers <joseph@codesourcery.com> |
210 | ||
211 | PR bootstrap/82856 | |
212 | * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. | |
213 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
214 | ||
de54061d JH |
215 | 2018-05-30 Jan Hubicka <jh@suse.cz> |
216 | ||
217 | * lto-plugin.c: (non_claimed_files): New static var. | |
218 | (linker_ouput_known): New static var. | |
219 | (all_symbols_read_handler): When user specifies linker output do not | |
220 | imply it; output warning when nonlto-rel mode is forced. | |
221 | (claim_file_header): Record number of nonclaimed files. | |
222 | (process_option): Remember if linker output is known | |
223 | ||
001ddaa8 DM |
224 | 2018-04-18 David Malcolm <dmalcolm@redhat.com> |
225 | ||
226 | PR jit/85384 | |
227 | * configure: Regenerate. | |
228 | ||
85ec4feb JJ |
229 | 2018-01-03 Jakub Jelinek <jakub@redhat.com> |
230 | ||
231 | Update copyright years. | |
232 | ||
5c2dee6f GJL |
233 | 2017-07-21 Georg-Johann Lay <avr@gjlay.de> |
234 | ||
235 | PR lto/81487 | |
236 | * lto-plugin.c (claim_file_handler): Use xasprintf instead of | |
237 | asprintf. | |
238 | [hi!=0]: Swap hi and lo arguments supplied to xasprintf. | |
239 | ||
3c36aa6b JJ |
240 | 2017-01-17 Jakub Jelinek <jakub@redhat.com> |
241 | ||
242 | PR other/79046 | |
243 | * configure.ac: Add GCC_BASE_VER. | |
244 | * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to | |
245 | get version from BASE-VER file. | |
246 | * configure: Regenerated. | |
247 | * Makefile.in: Regenerated. | |
248 | ||
2afd3180 JJ |
249 | 2017-01-04 Jakub Jelinek <jakub@redhat.com> |
250 | ||
251 | Update copyright years. | |
252 | ||
84c1b9d3 MK |
253 | 2016-11-15 Matthias Klose <doko@ubuntu.com> |
254 | ||
255 | * configure: Regenerate. | |
256 | ||
e6861a99 IV |
257 | 2016-02-25 Ilya Verbin <ilya.verbin@intel.com> |
258 | ||
259 | PR driver/68463 | |
260 | * lto-plugin.c (struct plugin_offload_file): New. | |
261 | (offload_files): Change type. | |
262 | (offload_files_last, offload_files_last_obj): New. | |
263 | (offload_files_last_lto): New. | |
264 | (free_2): Adjust accordingly. | |
265 | (all_symbols_read_handler): Don't add offload files to lto_arg_ptr. | |
266 | Don't call free_1 for offload_files. Write names of object files with | |
267 | offloading to the temporary file. Add new option to lto_arg_ptr. | |
268 | (claim_file_handler): Don't claim file if it contains offload sections | |
269 | without LTO sections. If it contains offload sections, add to the list. | |
270 | ||
aea40b08 ML |
271 | 2016-01-15 Martin Liska <mliska@suse.cz> |
272 | ||
273 | * lto-plugin.c (all_symbols_read_handler): Assign default | |
274 | value to a string variable. | |
275 | ||
1ff9ed6f JH |
276 | 2015-11-25 Jan Hubicka <jh@suse.cz> |
277 | ||
278 | PR lto/67548 | |
279 | * lto-plugin.c (linker_output, linker_output_set): New statics. | |
280 | (all_symbols_read_handler): Add -flinker-output option. | |
281 | (onload): Record linker_output info. | |
282 | ||
dcbc9df9 UB |
283 | 2015-07-02 Uros Bizjak <ubizjak@gmail.com> |
284 | ||
285 | * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. | |
286 | * configure: Regenerate. | |
287 | * config.h.in: Ditto. | |
288 | ||
ed9b4ae3 MH |
289 | 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> |
290 | ||
291 | * Makefile.am: Drop 'by automake version' from top-level comment. | |
292 | * Makefile.in: Regenerated with automake-1.11.6. | |
293 | * aclocal.m4: Likewise. | |
294 | * configure: Likewise. | |
295 | ||
514ba9e4 L |
296 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
297 | ||
298 | * lto-plugin.c (release_input_file): Removed. | |
299 | (claim_file_handler): Don't call release_input_file. | |
300 | (onload): Don't set release_input_file. | |
301 | ||
11c17039 L |
302 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
303 | ||
304 | * lto-plugin.c (claim_file_handler): Pass handle to | |
305 | release_input_file. | |
306 | ||
06fa4f00 L |
307 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
308 | ||
309 | * lto-plugin.c (claim_file_handler): Call release_input_file only | |
310 | if file is claimed. | |
311 | ||
380c25ea L |
312 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
313 | ||
314 | * lto-plugin.c (claim_file_handler): Call release_input_file only | |
315 | if it is not NULL. | |
316 | ||
1e081eda L |
317 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
318 | ||
319 | PR lto/64837 | |
320 | * lto-plugin.c (release_input_file): New. | |
321 | (claim_file_handler): Call release_input_file. | |
322 | (onload): Set release_input_file. | |
323 | ||
443743fd IV |
324 | 2014-12-09 Ilya Verbin <ilya.verbin@intel.com> |
325 | ||
326 | * lto-plugin.c (offload_files, num_offload_files): New static variables. | |
327 | (free_1): Use arguments instead of global variables. | |
328 | (free_2): Free offload_files. | |
329 | (all_symbols_read_handler): Add names from offload_files to lto-wrapper | |
330 | arguments. | |
331 | (claim_file_handler): Do not add file to claimed_files if it contains | |
332 | offload sections without LTO sections. Add it to offload_files instead. | |
333 | ||
a699d672 L |
334 | 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> |
335 | ||
336 | PR bootstrap/63784 | |
337 | * configure: Regenerated. | |
338 | ||
fc8b3540 IV |
339 | 2014-11-13 Ilya Verbin <ilya.verbin@intel.com> |
340 | Bernd Schmidt <bernds@codesourcery.com> | |
341 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
342 | Michael Zolotukhin <michael.v.zolotukhin@intel.com> | |
343 | ||
344 | * lto-plugin.c (OFFLOAD_SECTION, OFFLOAD_SECTION_LEN): Define. | |
345 | (struct plugin_objfile): Add new field "offload". | |
346 | (process_offload_section): New static function. | |
347 | (claim_file_handler): Claim file if it contains offload sections. | |
348 | ||
85c64bbe BS |
349 | 2014-11-13 Bernd Schmidt <bernds@codesourcery.com> |
350 | Thomas Schwinge <thomas@codesourcery.com> | |
351 | Ilya Verbin <ilya.verbin@intel.com> | |
352 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
353 | ||
354 | * Makefile.am (libexecsubdir): Tweak for the possibility of being | |
355 | configured for offload compiler. | |
356 | (accel_dir_suffix, real_target_noncanonical): New variables substituted | |
357 | by configure. | |
358 | * Makefile.in: Regenerate. | |
359 | * configure: Regenerate. | |
360 | * configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new | |
361 | variables. | |
362 | ||
ebf6d33b FXC |
363 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
364 | ||
365 | PR target/63610 | |
366 | * configure: Regenerate. | |
367 | ||
43f4a446 L |
368 | 2014-08-26 H.J. Lu <hongjiu.lu@intel.com> |
369 | ||
370 | PR bootstrap/62260 | |
371 | * Makefile.am (gcc_build_dir): Set to @gcc_build_dir@. | |
372 | * configure.ac (gcc_build_dir): Set and AC_SUBST according to | |
373 | $host_subdir. | |
374 | * Makefile.in: Regenerated. | |
375 | * configure: Likewise. | |
376 | ||
2a7a8388 TS |
377 | 2014-06-13 Thomas Schwinge <thomas@codesourcery.com> |
378 | ||
379 | * configure.ac (--with-libiberty): New configure option. | |
380 | * configure: Regenerate. | |
381 | * Makefile.am (libiberty, libiberty_noasan, libiberty_pic): New | |
382 | variables. | |
383 | (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS) | |
384 | (liblto_plugin_la_DEPENDENCIES): Use them. | |
385 | * Makefile.in: Regenerate. | |
386 | ||
a2555c65 RO |
387 | 2014-05-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
388 | ||
389 | PR lto/60981 | |
390 | * configure.ac: Check for -static-libgcc. | |
391 | * configure: Regenerate. | |
392 | ||
ffe7f7a7 JJ |
393 | 2014-04-17 Jakub Jelinek <jakub@redhat.com> |
394 | ||
4f148bbc JJ |
395 | PR sanitizer/56781 |
396 | * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address. | |
397 | (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS, | |
398 | liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a | |
399 | over ../libiberty/pic/libiberty.a if the former exists. | |
400 | * Makefile.in: Regenerated. | |
401 | ||
ffe7f7a7 JJ |
402 | PR sanitizer/56781 |
403 | * Makefile.am (LTLDFLAGS, liblto_plugin_la_LINK): New variables. | |
404 | * Makefile.in: Regenerated. | |
405 | ||
21b624f0 RB |
406 | 2014-04-02 Richard Biener <rguenther@suse.de> |
407 | ||
408 | * lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin | |
409 | is set in COLLECT_GCC_OPTIONS. | |
410 | ||
2486c24a RB |
411 | 2014-03-28 Richard Biener <rguenther@suse.de> |
412 | ||
413 | * lto-plugin.c (process_symtab): Handle EINTR and short reads. | |
414 | ||
5523efdf RO |
415 | 2014-03-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
416 | ||
417 | * configure.ac (ac_lto_plugin_ldflags): Set to -Wc,-static-libgcc | |
418 | for gcc. | |
419 | * configure: Regenerate. | |
420 | * Makefile.am (AM_LDFLAGS): New variable. | |
421 | (liblto_plugin_la_LDFLAGS): Add it. | |
422 | * Makefile.in: Regenerate. | |
423 | ||
3cbe17f7 AM |
424 | 2013-09-20 Alan Modra <amodra@gmail.com> |
425 | ||
426 | * configure: Regenerate. | |
427 | ||
de973ab7 DE |
428 | 2012-09-14 David Edelsohn <dje.gcc@gmail.com> |
429 | ||
430 | * configure: Regenerated. | |
431 | ||
3f417959 JM |
432 | 2012-05-29 Joseph Myers <joseph@codesourcery.com> |
433 | ||
434 | * lto-plugin.c: Fix typo. | |
435 | ||
e6d5f8c9 L |
436 | 2012-05-16 H.J. Lu <hongjiu.lu@intel.com> |
437 | ||
438 | * configure: Regenerated. | |
439 | ||
8cfa7899 KT |
440 | 2012-02-22 Kai Tietz <ktietz@redhat.com> |
441 | ||
442 | PR lto/50616 | |
443 | * lto-plugin.c (PRI_LL): New macro. | |
444 | (dump_symtab): Use PRI_LL instead of ll in print. | |
445 | (process_symtab): Use PRI_LL instead of ll in scan. | |
446 | ||
4a5e00ca AS |
447 | 2011-12-20 Andreas Schwab <schwab@linux-m68k.org> |
448 | ||
449 | * configure: Regenerate. | |
450 | ||
095af58f AS |
451 | 2011-12-19 Andreas Schwab <schwab@linux-m68k.org> |
452 | ||
453 | * configure: Regenerate. | |
454 | ||
c6084f68 AT |
455 | 2011-11-21 Andreas Tobler <andreast@fgznet.ch> |
456 | ||
457 | * configure: Regenerate. | |
458 | ||
ed0d2da0 JH |
459 | 2011-10-02 Jan Hubicka <jh@suse.cz> |
460 | ||
461 | PR lto/47247 | |
462 | * lto-plugin.c (get_symbols_v2): New variable. | |
463 | (write_resolution): Use V2 API when available. | |
464 | (onload): Handle LDPT_GET_SYMBOLS_V2. | |
465 | ||
ad7715f3 L |
466 | 2011-09-30 H.J. Lu <hongjiu.lu@intel.com> |
467 | Andi Kleen <ak@linux.intel.com> | |
468 | ||
469 | PR lto/50568 | |
470 | * lto-plugin.c (sym_aux): Change id to unsigned long long. | |
471 | (plugin_symtab): Likewise. | |
472 | (dump_symtab): Likewise. | |
473 | (resolve_conflicts): Likewise. | |
474 | (process_symtab): Likewise. | |
475 | ||
f3016c47 RG |
476 | 2011-08-10 Richard Guenther <rguenther@suse.de> |
477 | ||
478 | PR bootstrap/49907 | |
479 | lto-plugin/ | |
480 | * configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence. | |
481 | * Makefile.am (AM_CFLAGS): Adjust. Do not build with -Werror. | |
482 | * configure: Regenerate. | |
483 | * Makefile.in: Likewise. | |
484 | * aclocal.m4: Likewise. | |
485 | ||
04695783 JM |
486 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
487 | ||
488 | * lto-plugin.c (free_1, free_2): Remove useless if-before-free. | |
489 | ||
3b8c1a3f RG |
490 | 2011-04-05 Richard Guenther <rguenther@suse.de> |
491 | ||
492 | PR bootstrap/48431 | |
493 | * lto-plugin.c (claim_file_handler): Do not declare vars in code. | |
494 | ||
029c8f3e RW |
495 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
496 | ||
497 | * Makefile.in: Regenerate. | |
498 | * aclocal.m4: Regenerate. | |
499 | * configure: Regenerate. | |
500 | ||
3917813c RW |
501 | 2011-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
502 | ||
503 | * Makefile.am (all-local): Rename from 'all'. | |
504 | * Makefile.in: Regenerate. | |
505 | ||
f3d533d3 AO |
506 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
507 | ||
508 | PR lto/47225 | |
509 | * Makefile.am (gcc_build_dir, in_gcc_libs): New. | |
510 | (liblto_plugin_la_LDFLAGS): Add -module. | |
511 | (copy_lto_plugin): Renamed to... | |
512 | ($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying | |
513 | of static modules. | |
514 | * Makefile.in: Rebuild. | |
515 | ||
f43c3935 KT |
516 | 2011-02-07 Kai Tietz <kai.tietz@onevision.com> |
517 | ||
518 | PR lto/47225 | |
519 | * Makefile.am (Wc): New helper for encoding -Wc,. | |
520 | (liblto_plugin_la_LIBADD): Use Wc for libiberty library. | |
521 | (liblto_plugin_la_DEPENDENCIES): Special case pic libiberty. | |
522 | * Makefile.in: Regenerated. | |
523 | ||
e6d926d7 PB |
524 | 2011-02-07 Paolo Bonzini <bonzini@gnu.org> |
525 | ||
526 | Revert: | |
527 | ||
528 | 2011-02-07 Kai Tietz <kai.tietz@onevision.com> | |
529 | ||
530 | PR lto/47225 | |
531 | * Makefile.am (Wl): New helper for encoding -Wl,. | |
532 | (liblto_plugin_la_LIBADD): Use -Wl for libiberty library. | |
533 | * Makefile.in: Regenerated. | |
534 | ||
c7b5125d KT |
535 | 2011-02-07 Kai Tietz <kai.tietz@onevision.com> |
536 | ||
537 | PR lto/47225 | |
538 | * Makefile.am (Wl): New helper for encoding -Wl,. | |
539 | (liblto_plugin_la_LIBADD): Use -Wl for libiberty library. | |
540 | * Makefile.in: Regenerated. | |
541 | ||
e3bb089d ILT |
542 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
543 | ||
544 | * lto-plugin.c (gold_version): New static variable. | |
545 | (all_symbols_read_handler): Don't check pass_through_items if | |
546 | using gold 1.11 or later. | |
547 | (onload): Set gold_version if we see LDPT_GOLD_VERSION. | |
548 | ||
47782a9d RG |
549 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
550 | ||
551 | PR lto/47264 | |
552 | * lto-plugin.c (parse_table_entry): Use memcpy to access | |
553 | unaligned fields. | |
554 | ||
5b64bab9 DK |
555 | 2010-12-20 Dave Korn <dave.korn.cygwin@gmail.com> |
556 | ||
557 | * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag. | |
558 | * Makefile.in: Regenerate. | |
559 | ||
be3ea0c8 RO |
560 | 2010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
561 | ||
562 | Revert last change. | |
563 | ||
dd8587d6 RO |
564 | 2010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
565 | ||
566 | * Makefile.am (liblto_plugin_la_DEPENDENCIES): Define. | |
567 | (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty. | |
568 | (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty. | |
569 | * Makefile.in: Regenerate. | |
570 | ||
77754180 DK |
571 | 2010-12-10 Dave Korn <dave.korn.cygwin@gmail.com> |
572 | ||
573 | PR middle-end/46674 | |
574 | PR lto/43157 | |
575 | * configure.ac (SYM_STYLE): Don't AC_DEFINE. | |
576 | * lto-plugin.c (sym_style): Don't use it; default to ss_none. | |
577 | * configure: Regenerate. | |
578 | * config.h.in: Likewise. | |
579 | ||
7de6ba7a DK |
580 | 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> |
581 | ||
582 | PR target/40125 | |
583 | PR lto/46695 | |
584 | * configure.ac: Invoke ACX_LT_HOST_FLAGS. | |
585 | * Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but | |
586 | override -bindir setting. | |
587 | * aclocal.m4: Regenerate. | |
588 | * configure: Regenerate. | |
589 | * Makefile.in: Regenerate. | |
590 | ||
ec692d5f KT |
591 | 2010-12-05 Kai Tietz <kai.tietz@onevision.com> |
592 | ||
593 | * config.h.in: Regenerated. | |
594 | * configure: Regenerated. | |
595 | * configure.ac (AC_CHECK_HEADERS): Replaced by AC_HEADER_SYS_WAIT. | |
596 | * lto-plugin.c (WIFEXITED): Define default. | |
597 | (WEXITSTATUS): Likeiwse. | |
598 | ||
a2254c5d KT |
599 | 2010-12-01 Kai Tietz <kai.tietz@onevision.com> |
600 | ||
601 | * config.h.in: Regenerated. | |
602 | * configure: Regenerated. | |
603 | * Makefile.in: Regenerated. | |
604 | * configure.ac (AC_CHECK_HEADERS): Check for sys/wait.h. | |
605 | * lto-plugin.c: Include sys/wait.h conditionally. | |
606 | * aclocal.m4: Regenerated. | |
607 | ||
44538c62 KT |
608 | 2010-11-13 Kai Tietz <kai.tietz@onevision.com> |
609 | ||
610 | * lto-plugin.c (add_output_files): Fix memory leak. | |
611 | ||
d19e0f01 DK |
612 | 2010-11-11 Dave Korn <dave.korn.cygwin@gmail.com> |
613 | ||
614 | PR bootstrap/46397 | |
615 | PR bootstrap/46362 | |
616 | * configure.ac: Add AC_TYPE_INT64_T test. | |
617 | * config.h.in: Regenerate. | |
618 | * configure: Likewise. | |
619 | * lto-plugin.c (debug): Use char not bool. | |
620 | (nop): Likewise. | |
621 | (check_1): Rename from check, and use int not bool for gate argument. | |
622 | (check): Macro wrapper for the above to coerce gate argument into | |
623 | boolean-valued integer in case it has pointer type. | |
624 | (parse_table_entry): Use 0 not false. | |
625 | (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size | |
626 | into two 32-bit parts and printing as hex ints. | |
627 | ||
37da3688 DK |
628 | 2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com> |
629 | ||
630 | PR lto/46291 | |
631 | * lto-plugin.c (claim_file_handler): Don't close file descriptor. | |
632 | ||
48215350 DK |
633 | 2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com> |
634 | ||
635 | PR lto/46273 | |
636 | * lto-plugin.h: Delete. | |
637 | * lto-plugin-elf.c: Likewise. | |
638 | * lto-plugin-coff.c: Likewise. | |
639 | * configure.ac: Don't use libelf, don't source config.gcc. | |
640 | (LIBELFLIBS): Delete. | |
641 | (LIBELFINC): Delete. | |
642 | (LTO_FORMAT): Delete. | |
643 | (SYM_STYLE): Add AC_DEFINE var, set based on $target. | |
644 | (config.h): Add AC_CONFIG_HEADERS directive. | |
645 | * Makefile.am (LIBELFLIBS): Delete. | |
646 | (LIBELFINC): Delete. | |
647 | (LTO_FORMAT): Delete. | |
648 | (DEFS): Import. | |
649 | (AM_CPPFLAGS): Use it. Don't use LIBELFINC. | |
650 | (liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include | |
651 | any object-format-specific source file in the link. | |
652 | (liblto_plugin_la_LIBADD): Don't use LIBELFLIBS. | |
653 | * config.h.in: Generate. | |
654 | * configure: Regenerate. | |
655 | * Makefile.in: Likewise. | |
656 | * lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h. | |
657 | (LTO_SEGMENT_NAME): New definition. | |
658 | (LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h. | |
659 | (LTO_SECTION_PREFIX_LEN): New definition. | |
660 | (struct sym_aux): Struct definition moved here from lto-plugin.h. | |
661 | (struct plugin_symtab): Likewise. | |
662 | (struct plugin_objfile): Likewise. | |
663 | (struct plugin_objfile): New struct def. | |
664 | (enum symbol_style): New enum type. | |
665 | (add_symbols): Make static. | |
666 | (claimed_files): Likewise. | |
667 | (num_claimed_files): Likewise. | |
668 | (sym_style): New global. | |
669 | (check): Make static. | |
670 | (parse_table_entry): Likewise. Respect sym_style when extracting | |
671 | symbol from symtab entry. | |
672 | (translate): Make static. | |
673 | (resolve_conflicts): Likewise. | |
674 | (process_symtab): New function, per-section callback version of | |
675 | old object-format-specific handling from deleted lto-plugin-elf.c. | |
676 | (claim_file_handler): Convert ELF-specific version from deleted | |
677 | lto-plugin-elf.c to simple_object interface and move here. | |
678 | (process_options): Allow new '-sym-style=' option. | |
679 | (onload): Don't call deleted onload_format_checks hook. | |
680 | ||
9df2493c KT |
681 | 2010-10-11 Kai Tietz <kai.tietz@onevision.com> |
682 | ||
683 | * lto-plugin.c (dump_symtab): Correct printf argument type. | |
684 | (finish_conflict_resolution): Initialize resolution. | |
685 | ||
73d5e770 L |
686 | 2010-10-08 H.J. Lu <hongjiu.lu@intel.com> |
687 | ||
688 | PR bootstrap/45951 | |
689 | * configure.ac: Add AC_CANONICAL_SYSTEM. | |
690 | * configure: Regenerated. | |
691 | ||
1cd0b716 DK |
692 | 2010-10-07 Dave Korn <dave.korn.cygwin@gmail.com> |
693 | ||
694 | * configure.ac: Source config.gcc to determine lto_binary_reader. | |
695 | (LTO_FORMAT): New AC_SUBST variable inferred from lto_binary_reader. | |
696 | * Makefile.am (LTO_FORMAT): Import. | |
697 | (liblto_plugin_la_SOURCES): Add object format dependent module | |
698 | defined by LTO_FORMAT. | |
699 | (liblto_plugin_la_LIBADD): Allow for both PIC and non-PIC libiberty, | |
700 | and work around libtool warning. | |
701 | * configure: Regenerate. | |
702 | * Makefile.in: Likewise. | |
703 | * lto-plugin.c (struct sym_aux): Move to new lto-plugin.h. | |
704 | (struct sym_aux): Likewise. | |
705 | (struct plugin_symtab): Likewise. | |
706 | (struct plugin_file_info): Likewise. | |
707 | (LTO_SECTION_PREFIX): Likewise. | |
708 | (add_symbols): Make non-static. | |
709 | (claimed_files): Likewise. | |
710 | (num_claimed_files): Likewise. | |
711 | (check): Likewise. | |
712 | (parse_table_entry): Likewise. | |
713 | (translate): Likewise. | |
714 | (resolve_conflicts): Likewise. | |
715 | (process_symtab): Move to new lto-plugin-elf.c object format dependent | |
716 | source file. | |
717 | (claim_file_handler): Likewise, and make non-static. | |
718 | (onload): Call new onload_format_checks function. | |
719 | * lto-plugin.h: New file. | |
720 | (LTO_SECTION_PREFIX): Move here. | |
721 | (struct sym_aux): Likewise. | |
722 | (struct plugin_symtab): Likewise. | |
723 | (struct plugin_file_info): Likewise. | |
724 | (claim_file_handler): Add new function prototype. | |
725 | (onload_format_checks): Likewise. | |
726 | (check): Declare extern. | |
727 | (translate): Likewise. | |
728 | (parse_table_entry): Likewise. | |
729 | (resolve_conflicts): Likewise. | |
730 | (add_symbols): Likewise. | |
731 | (claimed_files): Likewise. | |
732 | (num_claimed_files): Likewise. | |
733 | * lto-plugin-elf.c (process_symtab): Move here. | |
734 | (claim_file_handler): Likewise, and make non-static. | |
735 | (onload_format_checks): New function factored out from onload. | |
736 | * lto-plugin-coff.c (claim_file_handler): New function stub. | |
737 | (onload_format_checks): Likewise. | |
738 | ||
d2c57fe9 AK |
739 | 2010-08-05 Andi Kleen <ak@linux.intel.com> |
740 | ||
741 | * lto-plugin.c: Include <hashtab.h> | |
742 | (sym_aux): Add next_conflict field to save conflict chains. | |
743 | (plugin_file_info): Add conflicts symtab. | |
744 | (parse_table_entry): Initialize aux->next_conflict. | |
745 | (process_symtab): Increment found. | |
746 | (dump_symtab): Add. | |
747 | (finish_conflict_resolution): Add. | |
748 | (free_symtab): Add. | |
749 | (write_resolution): Remove symbols loop and move into | |
750 | dump_symtab. Call dump_symtab for main symbol and conflicts table. | |
751 | Call free_symtab to free conflicts table. | |
752 | (SWAP): Add. | |
753 | (eq_sym): Add. | |
754 | (hash_sym): Add. | |
755 | (symbol_strength): Add. | |
756 | (resolve_conflicts): Add. | |
757 | (claim_file_handler): Add n variable. Check return value of | |
758 | process_symtab. Call resolve_conflicts. | |
759 | ||
ecdbd01a | 760 | 2010-07-27 Andi Kleen <ak@linux.intel.com> |
90e26247 AK |
761 | |
762 | * lto-plugin.c (translate): Remove debug fprintf. | |
763 | ||
9477ccb2 L |
764 | 2010-07-23 H.J. Lu <hongjiu.lu@intel.com> |
765 | ||
766 | PR bootstrap/45042 | |
767 | * lto-plugin.c (translate): Cast to unsigned long. | |
768 | ||
ecdbd01a | 769 | 2010-07-23 Andi Kleen <ak@linux.intel.com> |
73ce4d1e AK |
770 | |
771 | PR lto/44992 | |
772 | * lto-plugin.c (sym_aux): Add. | |
773 | (plugin_symtab): Remove slots. Add aux and id. | |
774 | (parse_table_entry): Change to use aux instead of slots. | |
775 | (LTO_SECTION_PREFIX): Add. | |
776 | (translate): Improve buffer allocation. Change to append | |
777 | symbols to existing out buffer. | |
778 | (get_section): Remove. | |
779 | (process_symtab): Add. | |
780 | (free_2): Free symtab->aux. | |
781 | (write_resolution): Handle aux instead of slots. | |
782 | Print sub id to resolution file. | |
783 | (claim_file_handler): Clear lto_file. Replace get_symtab/translate | |
784 | calls with call to process_symtab. | |
785 | ||
553fc582 RG |
786 | 2010-07-22 Richard Guenther <rguenther@suse.de> |
787 | ||
788 | * Makefile.am: New copy_lto_plugin rule to install the plugin | |
789 | into ../gcc. | |
790 | * Makefile.in: Regenerated. | |
791 | ||
bdc89f9e RG |
792 | 2010-05-21 Richard Guenther <rguenther@suse.de> |
793 | ||
794 | * lto-plugin.c (write_resolution): Do not assert syms is non-NULL. | |
795 | ||
5cd0e96b RG |
796 | 2010-05-07 Richard Guenther <rguenther@suse.de> |
797 | ||
798 | * lto-plugin.c (free_2): Do not free resolution_file. | |
799 | (write_resolution): Check that we were passed a resolution file. | |
800 | (all_symbols_read_handler): Adjust. | |
801 | (cleanup_handler): Do not remove the resolution file. | |
802 | (process_option): Handle -fresolution=. | |
803 | ||
13917ae3 RW |
804 | 2010-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
805 | ||
806 | PR other/43620 | |
807 | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. | |
808 | * Makefile.in: Regenerate. | |
809 | ||
ed0f0c0f RG |
810 | 2010-04-23 Richard Guenther <rguenther@suse.de> |
811 | ||
812 | PR lto/41550 | |
813 | * lto-plugin.c (parse_table_entry): Use xstrdup and xrealloc. | |
814 | (translate): Likewise. | |
815 | (all_symbols_read_handler): Likewise. | |
816 | (claim_file_handler): Likewise. | |
817 | (process_option): Likewise. | |
818 | (add_output_files): Likewise. Remove filename length limit. | |
819 | ||
4d9e8446 RW |
820 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
821 | ||
822 | * Makefile.in: Regenerate. | |
823 | * aclocal.m4: Regenerate. | |
824 | ||
a8a5ac48 DG |
825 | 2010-03-16 Dmitry Gorbachev <d.g.gorbachev@gmail.com> |
826 | ||
827 | PR lto/43336 | |
828 | * lto-plugin.c (cleanup_handler): Delete temporary output files. | |
829 | ||
c164615b RG |
830 | 2010-01-11 Richard Guenther <rguenther@suse.de> |
831 | ||
832 | PR lto/41569 | |
833 | * Makefile.am: Disable dependencies. | |
834 | * Makefile.in: Regenerated. | |
835 | ||
f0d61983 L |
836 | 2010-01-03 H.J. Lu <hongjiu.lu@intel.com> |
837 | ||
838 | PR lto/42520 | |
839 | * lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command | |
840 | if -v is passed. | |
841 | ||
52327858 | 842 | 2009-12-05 H.J. Lu <hongjiu.lu@intel.com> |
43e02a8a | 843 | |
52327858 L |
844 | PR bootstrap/42306 |
845 | * configure: Regenerated. | |
846 | * Makefile.in: Likewise. | |
43e02a8a | 847 | |
92fa7608 RAE |
848 | 2009-11-19 Rafael Avila de Espindola <espindola@google.com> |
849 | ||
850 | PR bootstrap/42096 | |
851 | * lto-plugin.c (claim_file_handler): Print offsets in hex. | |
852 | ||
06bd7f56 RAE |
853 | 2009-11-12 Rafael Avila de Espindola <espindola@google.com> |
854 | ||
855 | * lto-plugin.c (write_resolution): Assume resolution_file is set. | |
856 | Print the symbol name. | |
857 | (all_symbols_read_handler): Create a resolution file. | |
858 | Pass it to gcc. | |
859 | (cleanup_handler): Remove the resolution file. | |
860 | (process_option): Drop the -resolution option. | |
861 | ||
94086ef6 RAE |
862 | 2009-11-05 Rafael Avila de Espindola <espindola@google.com> |
863 | ||
864 | * lto-plugin.c (temp_obj_dir_name): Remove. | |
865 | (arguments_file_name): New. | |
866 | (free_2): Free arguments_file_name instead of temp_obj_dir_name. | |
867 | (exec_lto_wrapper): Create arguments file with make_temp_file. | |
868 | (cleanup_handler): Don't remove the temporary directory. Remove the | |
869 | arguments file. | |
870 | (onload): Don't create the temporary directory. | |
871 | ||
7e9dc421 | 872 | 2009-11-04 Richard Guenther <rguenther@suse.de> |
92a285c1 | 873 | Rafael Avila de Espindola <espindola@google.com> |
7e9dc421 RG |
874 | |
875 | * lto-plugin.c (plugin_file_info): Remove temp field. | |
876 | (cleanup_handler): Don't delete temporary objects. | |
877 | (claim_file_handler): Don't create temporary objects. | |
878 | ||
1cddcdca RAE |
879 | 2009-11-04 Rafael Avila de Espindola <espindola@google.com> |
880 | ||
881 | * lto-plugin.c (cleanup_handler): Don't cleanup if debugging. | |
882 | ||
86ed04df RAE |
883 | 2009-10-30 Rafael Avila de Espindola <espindola@google.com> |
884 | ||
885 | PR41871 | |
886 | * lto-plugin.c (claim_file_handler): Close files that we created. | |
887 | ||
aff4273c RAE |
888 | 2009-10-28 Rafael Avila de Espindola <espindola@google.com> |
889 | ||
890 | * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of | |
891 | LDPL_ERROR | |
892 | ||
4c0f4b0b DG |
893 | 2009-10-27 Dmitry Gorbachev <d.g.gorbachev@gmail.com> |
894 | ||
895 | PR lto/41652 | |
896 | * configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT. | |
897 | * configure: Regenerate. | |
898 | ||
03428d41 RG |
899 | 2009-10-26 Richard Guenther <rguenther@suse.de> |
900 | ||
901 | * configure.ac: Use AM_MAINTAINER_MODE. | |
902 | * acinclude.m4: Remove. | |
903 | * configure: Re-generate. | |
904 | * Makefile.in: Likewise. | |
905 | * aclocal.m4: Likewise. | |
906 | ||
941e566a RE |
907 | 2009-10-19 Rafael Avila de Espindola <espindola@google.com> |
908 | ||
92a285c1 ML |
909 | PR40790 |
910 | * configure: Regenerate. | |
911 | * configure.ac: Add AC_TYPE_UINT64_T. | |
941e566a | 912 | |
33662270 RAE |
913 | 2009-10-16 Rafael Avila de Espindola <espindola@google.com> |
914 | ||
915 | * lto-plugin.c (message): New variable. | |
916 | (check): New function. | |
917 | (parse_table_entry, translate, write_resolution,add_output_files, | |
918 | exec_lto_wrapper,claim_file_handler, onload): Use check instead of | |
919 | assert. | |
920 | (cleanup_handler): Use check instead of assert. Remove the arguments | |
921 | file if it exists. | |
922 | ||
b10071c5 RAE |
923 | 2009-10-15 Rafael Avila de Espindola <espindola@google.com> |
924 | ||
925 | * lto-plugin.c (resolution_file): New. | |
926 | (free_1): Update comment. | |
927 | (free_2): Free resolution_file. | |
928 | (write_resolution): Write resolution to specified file. Use the | |
929 | syms array from the symbol table. | |
930 | (all_symbols_read_handler): Delay call to free_1 past call to | |
931 | write_resolution. | |
932 | (process_option): Add a -resolution option. | |
933 | ||
076c7ebe RG |
934 | 2009-10-13 Richard Guenther <rguenther@suse.de> |
935 | ||
936 | * Makefile.am (liblto_plugin_la_LIBADD): Link against the | |
937 | correct libiberty. | |
938 | * Makefile.in: Regenerated. | |
939 | ||
d520c7fb RAE |
940 | 2009-10-08 Rafael Avila de Espindola <espindola@google.com> |
941 | ||
942 | * lto-plugin.c (add_input_library): New. | |
943 | (all_symbols_read_handler): Use add_input_library for items that | |
944 | start with -l. | |
945 | (process_option): Fit in 80 columns. | |
946 | (onload): Handle LDPT_ADD_INPUT_LIBRARY. | |
947 | ||
d7f09764 DN |
948 | 2009-10-02 Diego Novillo <dnovillo@google.com> |
949 | ||
950 | * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE | |
951 | and -D_FILE_OFFSET_BITS=64. | |
952 | * configure.ac: Add AC_SYS_LARGEFILE. | |
953 | * configure: Regenerate. | |
954 | * Makefile.in: Regenerate. | |
955 | * lto-plugin.c: Fix copyright boilerplate. | |
956 | ||
957 | 2009-10-02 Diego Novillo <dnovillo@google.com> | |
958 | ||
959 | * Makefile.am (ACLOCAL_AMFLAGS): Define. | |
960 | * aclocal.m4: Regenerate with aclocal-2.64 | |
961 | * acinclude.m4: Remove. | |
962 | * Makefile.in: Regenerate with automake-1.11 | |
963 | * configure.ac (AC_PREREQ): Update to 2.64. | |
964 | * configure: Regenerate. | |
965 | ||
966 | 2009-10-02 Diego Novillo <dnovillo@google.com> | |
967 | ||
968 | * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE | |
969 | and -D_FILE_OFFSET_BITS=64. | |
970 | * configure.ac: Add AC_SYS_LARGEFILE. | |
971 | * configure: Regenerate. | |
972 | * Makefile.in: Regenerate. | |
973 | * lto-plugin.c: Fix copyright boilerplate. | |
974 | ||
975 | 2009-10-02 Diego Novillo <dnovillo@google.com> | |
976 | ||
977 | * Makefile.am (ACLOCAL_AMFLAGS): Define. | |
978 | * aclocal.m4: Regenerate with aclocal-2.64 | |
979 | * acinclude.m4: Remove. | |
980 | * Makefile.in: Regenerate with automake-1.11 | |
981 | * configure.ac (AC_PREREQ): Update to 2.64. | |
982 | * configure: Regenerate. | |
983 | ||
984 | 2009-10-02 Rafael Avila de Espindola <espindola@google.com> | |
985 | ||
986 | * Makefile.am (liblto_plugin_la_SOURCES): Remove | |
987 | $(top_srcdir)/../gcc/lto/common.c | |
988 | * Makefile.in: Regenerate. | |
989 | ||
990 | 2009-10-01 Rafael Avila de Espindola <espindola@google.com> | |
991 | ||
992 | * lto-plugin.c (pass_through_items): New. | |
993 | (num_pass_through_items): New. | |
994 | (all_symbols_read_handler): Update to use the -pass-through option. | |
995 | (process_option): Replace -libgcc with -pass-through. | |
996 | ||
997 | 2009-09-30 Rafael Avila de Espindola <espindola@google.com> | |
998 | ||
999 | * lto-plugin.c (onload): Return a ld_plugin_status. Don't require | |
1000 | register_cleanup to be set. | |
1001 | ||
1002 | 2009-09-30 Rafael Avila de Espindola <espindola@google.com> | |
1003 | ||
1004 | * Makefile.am: Remove all reference to ltosymtab. | |
1005 | * Makefile.in: Regenerate. | |
1006 | * lto-symtab.c: Remove. | |
1007 | ||
1008 | 2009-05-21 Diego Novillo <dnovillo@google.com> | |
1009 | ||
1010 | * configure.ac: Remove call to AC_CHECK_GELF. | |
1011 | Call AC_ARG_VAR for LIBELFLIBS and LIBELFINC. | |
1012 | * acinclude.m4: Do not include ../config/libelf.m4 | |
1013 | * Makefile.am (LIBELFLIBS): Define. | |
1014 | (LIBELFINC): Define. | |
1015 | (AM_CPPFLAGS): Add $(LIBELFINC). | |
1016 | (ltosymtab_LDADD): Add $(LIBELFLIBS). | |
1017 | (liblto_plugin_la_LIBADD): Add $(LIBELFLIBS) | |
1018 | * lto-plugin.c: Always include <gelf.h> | |
1019 | * lto-symtab.c: Likewise. | |
1020 | * configure: Regenerate. | |
1021 | * Makefile.in: Regenerate. | |
1022 | ||
1023 | 2009-03-23 Rafael Avila de Espindola <espindola@google.com> | |
1024 | ||
1025 | * lto-plugin.c (libgcc_filename): New. | |
1026 | (all_symbols_read_handler): Pass libgcc to the linker. | |
1027 | (all_symbols_read_handler): Parse -libgcc | |
1028 | ||
1029 | 2009-02-05 Rafael Avila de Espindola <espindola@google.com> | |
1030 | ||
1031 | * Makefile.am (liblto_plugin_la_LIBADD): Link with libiberty. | |
1032 | * Makefile.in: Regenerate. | |
1033 | * lto-plugin.c (add_output_files): Argument is now a FILE. | |
1034 | (exec_lto_wrapper): Use writeargv and pex. | |
1035 | ||
1036 | 2009-02-04 Rafael Avila de Espindola <espindola@google.com> | |
1037 | ||
1038 | Revert: | |
1039 | 2009-02-04 Rafael Avila de Espindola <espindola@google.com> | |
1040 | * lto-plugin.c (exec_lto_wrapper): Use writeargv. | |
1041 | ||
1042 | ||
1043 | 2009-02-04 Rafael Avila de Espindola <espindola@google.com> | |
1044 | ||
1045 | * lto-plugin.c (exec_lto_wrapper): Use writeargv. | |
1046 | ||
1047 | 2009-01-29 Rafael Avila de Espindola <espindola@google.com> | |
1048 | ||
1049 | * lto-plugin.c: Include libiberty.h. | |
1050 | (exec_lto_wrapper, claim_file_handler): Use asprintf instead of | |
1051 | snprintf. | |
1052 | ||
1053 | 2009-01-29 Rafael Avila de Espindola <espindola@google.com> | |
1054 | ||
1055 | * lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that | |
1056 | file to lto-wrapper. | |
1057 | ||
1058 | 2009-01-28 Rafael Avila de Espindola <espindola@google.com> | |
1059 | ||
1060 | * lto-plugin.c (plugin_file_info): Remove fd and elf. | |
1061 | (parse_table_entry): strdup entry->name and entry->comdat_key. | |
1062 | (free_1): Free name and comdat_key. Don't close the file. Don't call | |
1063 | elf_end. | |
1064 | (claim_file_handler): Always call elf_end. | |
1065 | ||
1066 | 2008-12-23 Rafael Avila de Espindola <espindola@google.com> | |
1067 | ||
1068 | * Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE | |
1069 | -D_FILE_OFFSET_BITS=64 | |
1070 | * Makefile.in: Regenerate | |
1071 | ||
1072 | 2008-12-22 Rafael Avila de Espindola <espindola@google.com> | |
1073 | ||
1074 | * Makefile.am (gcc_version, target_noncanonical, libexecsubdir): New. | |
1075 | (lib_LTLIBRARIES): Rename to libexecsub_LTLIBRARIES. | |
1076 | * Makefile.in: Regenerate. | |
1077 | * acinclude.m4: Include ../config/acx.m4 and ../lt~obsolete.m4 | |
1078 | * configure: Regenerate. | |
1079 | * configure.ac: Add AC_SUBST(target_noncanonical). | |
1080 | ||
1081 | 2008-12-08 Rafael Avila de Espindola <espindola@google.com> | |
1082 | ||
1083 | * lto-plugin.c: Include stdbool.h. | |
1084 | (debug, nop): Declare as bool. | |
1085 | ||
1086 | 2008-12-08 Rafael Avila de Espindola <espindola@google.com> | |
1087 | ||
1088 | * lto-plugin.c (nop): New. | |
1089 | (use_original_files): New. | |
1090 | (all_symbols_read_handler): Call use_original_files if nop is true. | |
1091 | (process_option): Parse the -nop option. | |
1092 | ||
1093 | 2008-12-08 Rafael Avila de Espindola <espindola@google.com> | |
1094 | ||
1095 | * lto-plugin.c (debug): New. | |
1096 | (exec_lto_wrapper): Print argv if debug is true. | |
1097 | (process_option): Process the -debug command line option. | |
1098 | ||
1099 | 2008-12-03 Rafael Avila de Espindola <espindola@google.com> | |
1100 | ||
1101 | * lto-plugin.c (process_option): The argument is now a single option, | |
1102 | not a space separated list. | |
1103 | ||
1104 | 2008-12-02 Rafael Avila de Espindola <espindola@google.com> | |
1105 | ||
1106 | * lto-plugin.c: Include sys/types.h and sys/wait.h | |
1107 | (output_files, num_output_files, lto_wrapper_argv, | |
1108 | lto_wrapper_num_args): New. | |
1109 | (free_2): Free output_files. | |
1110 | (write_resolution): Disable. | |
1111 | (add_output_files): New. | |
1112 | (exec_lto_wrapper): New. | |
1113 | (all_symbols_read_handler): Run lto-wrapper. | |
1114 | (claim_file_handler): Free lto_file.name and call elf_end. | |
1115 | (process_option): New. | |
1116 | ||
1117 | 2008-11-26 Rafael Espindola <espindola@google.com> | |
1118 | ||
1119 | * lto-plugin.c (add_input_file): New. | |
1120 | (get_section): Return NULL if get_section fails. | |
1121 | (write_resolution): New. | |
1122 | (all_symbols_read_handler): Call add_input_file. | |
1123 | (claim_file_handler): Unlink the correct file. | |
1124 | (onload): Record add_input_file. | |
1125 | ||
1126 | 2008-09-23 Rafael Espindola <espindola@google.com> | |
1127 | ||
1128 | * Makefile.am (ltosymtab_SOURCES, liblto_plugin_la_SOURCES): | |
1129 | Update the location of common.c. | |
1130 | * Makefile.in: Regenerate. | |
1131 | * common.c: Moved to gcc/lto. | |
1132 | * common.h: Moved to gcc/lto. | |
1133 | * lto-plugin.c: Update the location of common.h. | |
1134 | * lto-symtab.c: Update the location of common.h. | |
1135 | ||
1136 | 2008-09-23 Rafael Espindola <espindola@google.com> | |
1137 | ||
1138 | * common.c: Include common.h. | |
1139 | (lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit | |
1140 | sizes. | |
1141 | * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use | |
1142 | explicit sizes. | |
1143 | ||
1144 | 2008-09-23 Rafael Espindola <espindola@google.com> | |
1145 | ||
1146 | * lto-plugin.c (plugin_file_info): Add temp. | |
1147 | (cleanup_handler): Only delete temporary files. | |
1148 | (claim_file_handler): Initialize lto_file.temp. | |
1149 | ||
1150 | 2008-09-23 Rafael Espindola <espindola@google.com> | |
1151 | ||
92a285c1 | 1152 | * plugin-api.h: Moved to include. |
d7f09764 DN |
1153 | |
1154 | 2008-09-23 Rafael Espindola <espindola@google.com> | |
1155 | ||
1156 | * lto-plugin.c (all_symbols_read_handler): Print resolution in a new | |
1157 | format. | |
1158 | ||
1159 | 2008-09-22 Rafael Espindola <espindola@google.com> | |
1160 | ||
1161 | * plugin-api.h: Copy from binutils' cvs. | |
1162 | ||
1163 | 2008-09-22 Rafael Espindola <espindola@google.com> | |
1164 | ||
1165 | * lto-symtab.c (get_symbols, add_symbols): Update signature. | |
1166 | * plugin-api.h: Copy from binutils' cvs. | |
1167 | ||
1168 | 2008-09-22 Rafael Espindola <espindola@google.com> | |
1169 | ||
1170 | * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): | |
1171 | Make extern | |
1172 | ||
1173 | 2008-09-10 Rafael Espindola <espindola@google.com> | |
1174 | ||
1175 | * lto-plugin.c (onload): add missing break statements and asserts. | |
1176 | * lto-symtab.c (claim_file_handler): Make it static. | |
1177 | (all_symbols_read_handler): Make it static. | |
1178 | (all_file_handles): Make it static. | |
1179 | (num_file_handles): Make it static. | |
1180 | (register_claim_file): Make it static. | |
1181 | (register_object): Indent properly. | |
1182 | ||
1183 | 2008-09-10 Rafael Avila de Espindola <espindola@google.com> | |
1184 | ||
1185 | * Makefile.am (ltosymtab_LDADD): Add -lelf. | |
1186 | * Makefiel.in: Regenerate. | |
1187 | * lto-plugin.c: Include ar.h. | |
1188 | (claim_file_handler): Handle file->offset != 0. | |
1189 | * lto-symtab.c: Include gelf.h. | |
1190 | (all_file_handles): Change type. | |
1191 | (register_object): New. | |
1192 | (register_file): Add support for archives. | |
1193 | (resolve): Update to new type of all_file_handles. | |
1194 | (print): Update to new type of all_file_handles. | |
1195 | (free_all): Update to new type of all_file_handles. | |
1196 | (main): Update to new type of all_file_handles. | |
1197 | ||
1198 | 2008-09-10 Rafael Avila de Espindola <espindola@google.com> | |
1199 | ||
1200 | * lto-plugin.c (get_string_table): Remove. | |
1201 | (get_section): Use elf_strptr instead of get_string_table. | |
1202 | ||
1203 | 2008-09-08 Doug Kwan <dougkwan@google.com> | |
1204 | ||
1205 | * lto-plugin.c (all_symbols_read_handler): Widen fprintf arguments | |
1206 | to 64-bit to fix a 32-bit bootstrap failure due to format warnings. | |
1207 | ||
1208 | 2008-09-08 Rafael Avila de Espindola <espindola@google.com> | |
1209 | ||
1210 | * Makefile.am (ltosymtab_SOURCES): add common.c. | |
1211 | (ltosymtab_CFLAGS): New. | |
1212 | (liblto_plugin_la_SOURCES): Add common.c. | |
1213 | * Makefile.in: Regenerate. | |
1214 | * common.c: New. | |
1215 | * common.h: New. | |
1216 | * lto-plugin.c: Include stdio.h, inttypes.h and common.h. | |
1217 | (plugin_symtab): New. | |
1218 | (plugin_file_info): New. | |
1219 | (register_all_symbols_read): New. | |
1220 | (get_symbols): New. | |
1221 | (claimed_files): New. | |
1222 | (num_claimed_files): New. | |
1223 | (translate): Don't drop the slot number. | |
1224 | (free_1): New. | |
1225 | (free_2): New. | |
1226 | (all_symbols_read_handler): New. | |
1227 | (claim_file_handler): Record every claimed file. | |
1228 | (onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and | |
1229 | LDPT_GET_SYMBOLS. | |
1230 | * lto-symtab.c: Include stdlib.h, string.h and common.h. | |
1231 | (current_file_handle): Remove. | |
1232 | (ld_plugin_all_symbols_read_handler): New. | |
1233 | (plugin_handle): New. | |
1234 | (file_handle): New. | |
1235 | (all_file_handles): New. | |
1236 | (num_file_handles): New. | |
1237 | (get_symbols): New. | |
1238 | (register_all_symbols_read): New. | |
1239 | (add_symbols): Don't print the symbols, just record them. | |
1240 | (ld_plugin_tv): Add LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and | |
1241 | LDPT_GET_SYMBOLS. | |
1242 | (load_plugin): Use plugin_handle. | |
1243 | (register_file): Add the file handle to all_file_handles. | |
1244 | (resolve): New. | |
1245 | (print): New. | |
1246 | (unload_plugin): New. | |
1247 | (free_all): New. | |
1248 | (main): Call all_symbols_read_handler and free resources. | |
1249 | ||
1250 | 2008-09-03 Rafael Avila de Espindola <espindola@google.com> | |
1251 | ||
1252 | * Makefile.am (AM_CFLAGS): New. | |
1253 | (ltosymtab_LDADD): Remove -lelf. Add -ldl. | |
1254 | (lib_LTLIBRARIES): New. | |
1255 | (liblto_plugin_la_SOURCES): New. | |
1256 | (liblto_plugin_la_LIBADD): New. | |
1257 | * Makefile.in: Regenerate. | |
1258 | * acinclude.m4: Don't include ../config/acx.m4 and | |
1259 | ../config/no-executables.m4. | |
1260 | Include ../ltsugar.m4, ../ltoptions.m4, ../ltversion.m4 and | |
1261 | ../libtool.m4. | |
1262 | * aclocal.m4: Regenerate. | |
1263 | * configure: Regenerate. | |
1264 | * configure.ac: Use AM_PROG_LIBTOOL. | |
1265 | * lto-plugin.c: New. | |
1266 | * lto-symtab.c: Rewrite to use the plugin. | |
1267 | * plugin-api.h: New. | |
1268 | ||
1269 | 2008-08-25 Rafael Avila de Espindola <espindola@google.com> | |
1270 | ||
1271 | * configure: Regenerate. | |
1272 | * configure.ac: Use AC_CHECK_GELF. | |
1273 | * lto-symtab.c: Include gelf.h. | |
1274 | (get_string_table): Use size independent API. | |
1275 | (printTable): Use lld to print 64 bit integers. | |
1276 | ||
1277 | 2008-08-22 Rafael Avila de Espindola <espindola@google.com> | |
1278 | ||
1279 | * lto-symtab.c (parse_table_entry): Assert entry->kind and | |
1280 | entry->visibility are valid. | |
1281 | ||
1282 | 2008-07-22 Rafael Avila de Espindola <espindola@google.com> | |
1283 | * lto-symtab.c (table_entry): Add comdat. | |
1284 | (parse_table_entry): Read comdat. | |
1285 | ||
1286 | 2008-08-21 Rafael Espindola <espindola@google.com> | |
1287 | ||
1288 | * Makefile.am: New. | |
1289 | * Makefile.in: New. | |
1290 | * acinclude.m4: New. | |
1291 | * aclocal.m4: New. | |
1292 | * configure: New. | |
1293 | * configure.ac: New. | |
1294 | * lto-symtab.c: New. |