]> gcc.gnu.org Git - gcc.git/blame - lto-plugin/ChangeLog
libvtv: Bump to automake 1.11.6
[gcc.git] / lto-plugin / ChangeLog
CommitLineData
514ba9e4
L
12015-02-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * lto-plugin.c (release_input_file): Removed.
4 (claim_file_handler): Don't call release_input_file.
5 (onload): Don't set release_input_file.
6
11c17039
L
72015-02-05 H.J. Lu <hongjiu.lu@intel.com>
8
9 * lto-plugin.c (claim_file_handler): Pass handle to
10 release_input_file.
11
06fa4f00
L
122015-02-05 H.J. Lu <hongjiu.lu@intel.com>
13
14 * lto-plugin.c (claim_file_handler): Call release_input_file only
15 if file is claimed.
16
380c25ea
L
172015-01-28 H.J. Lu <hongjiu.lu@intel.com>
18
19 * lto-plugin.c (claim_file_handler): Call release_input_file only
20 if it is not NULL.
21
1e081eda
L
222015-01-28 H.J. Lu <hongjiu.lu@intel.com>
23
24 PR lto/64837
25 * lto-plugin.c (release_input_file): New.
26 (claim_file_handler): Call release_input_file.
27 (onload): Set release_input_file.
28
443743fd
IV
292014-12-09 Ilya Verbin <ilya.verbin@intel.com>
30
31 * lto-plugin.c (offload_files, num_offload_files): New static variables.
32 (free_1): Use arguments instead of global variables.
33 (free_2): Free offload_files.
34 (all_symbols_read_handler): Add names from offload_files to lto-wrapper
35 arguments.
36 (claim_file_handler): Do not add file to claimed_files if it contains
37 offload sections without LTO sections. Add it to offload_files instead.
38
a699d672
L
392014-11-21 H.J. Lu <hongjiu.lu@intel.com>
40
41 PR bootstrap/63784
42 * configure: Regenerated.
43
fc8b3540
IV
442014-11-13 Ilya Verbin <ilya.verbin@intel.com>
45 Bernd Schmidt <bernds@codesourcery.com>
46 Andrey Turetskiy <andrey.turetskiy@intel.com>
47 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
48
49 * lto-plugin.c (OFFLOAD_SECTION, OFFLOAD_SECTION_LEN): Define.
50 (struct plugin_objfile): Add new field "offload".
51 (process_offload_section): New static function.
52 (claim_file_handler): Claim file if it contains offload sections.
53
85c64bbe
BS
542014-11-13 Bernd Schmidt <bernds@codesourcery.com>
55 Thomas Schwinge <thomas@codesourcery.com>
56 Ilya Verbin <ilya.verbin@intel.com>
57 Andrey Turetskiy <andrey.turetskiy@intel.com>
58
59 * Makefile.am (libexecsubdir): Tweak for the possibility of being
60 configured for offload compiler.
61 (accel_dir_suffix, real_target_noncanonical): New variables substituted
62 by configure.
63 * Makefile.in: Regenerate.
64 * configure: Regenerate.
65 * configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
66 variables.
67
ebf6d33b
FXC
682014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
69
70 PR target/63610
71 * configure: Regenerate.
72
43f4a446
L
732014-08-26 H.J. Lu <hongjiu.lu@intel.com>
74
75 PR bootstrap/62260
76 * Makefile.am (gcc_build_dir): Set to @gcc_build_dir@.
77 * configure.ac (gcc_build_dir): Set and AC_SUBST according to
78 $host_subdir.
79 * Makefile.in: Regenerated.
80 * configure: Likewise.
81
2a7a8388
TS
822014-06-13 Thomas Schwinge <thomas@codesourcery.com>
83
84 * configure.ac (--with-libiberty): New configure option.
85 * configure: Regenerate.
86 * Makefile.am (libiberty, libiberty_noasan, libiberty_pic): New
87 variables.
88 (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS)
89 (liblto_plugin_la_DEPENDENCIES): Use them.
90 * Makefile.in: Regenerate.
91
a2555c65
RO
922014-05-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
93
94 PR lto/60981
95 * configure.ac: Check for -static-libgcc.
96 * configure: Regenerate.
97
ffe7f7a7
JJ
982014-04-17 Jakub Jelinek <jakub@redhat.com>
99
4f148bbc
JJ
100 PR sanitizer/56781
101 * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address.
102 (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS,
103 liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a
104 over ../libiberty/pic/libiberty.a if the former exists.
105 * Makefile.in: Regenerated.
106
ffe7f7a7
JJ
107 PR sanitizer/56781
108 * Makefile.am (LTLDFLAGS, liblto_plugin_la_LINK): New variables.
109 * Makefile.in: Regenerated.
110
21b624f0
RB
1112014-04-02 Richard Biener <rguenther@suse.de>
112
113 * lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin
114 is set in COLLECT_GCC_OPTIONS.
115
2486c24a
RB
1162014-03-28 Richard Biener <rguenther@suse.de>
117
118 * lto-plugin.c (process_symtab): Handle EINTR and short reads.
119
5523efdf
RO
1202014-03-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
121
122 * configure.ac (ac_lto_plugin_ldflags): Set to -Wc,-static-libgcc
123 for gcc.
124 * configure: Regenerate.
125 * Makefile.am (AM_LDFLAGS): New variable.
126 (liblto_plugin_la_LDFLAGS): Add it.
127 * Makefile.in: Regenerate.
128
3cbe17f7
AM
1292013-09-20 Alan Modra <amodra@gmail.com>
130
131 * configure: Regenerate.
132
de973ab7
DE
1332012-09-14 David Edelsohn <dje.gcc@gmail.com>
134
135 * configure: Regenerated.
136
3f417959
JM
1372012-05-29 Joseph Myers <joseph@codesourcery.com>
138
139 * lto-plugin.c: Fix typo.
140
e6d5f8c9
L
1412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
142
143 * configure: Regenerated.
144
8cfa7899
KT
1452012-02-22 Kai Tietz <ktietz@redhat.com>
146
147 PR lto/50616
148 * lto-plugin.c (PRI_LL): New macro.
149 (dump_symtab): Use PRI_LL instead of ll in print.
150 (process_symtab): Use PRI_LL instead of ll in scan.
151
4a5e00ca
AS
1522011-12-20 Andreas Schwab <schwab@linux-m68k.org>
153
154 * configure: Regenerate.
155
095af58f
AS
1562011-12-19 Andreas Schwab <schwab@linux-m68k.org>
157
158 * configure: Regenerate.
159
c6084f68
AT
1602011-11-21 Andreas Tobler <andreast@fgznet.ch>
161
162 * configure: Regenerate.
163
ed0d2da0
JH
1642011-10-02 Jan Hubicka <jh@suse.cz>
165
166 PR lto/47247
167 * lto-plugin.c (get_symbols_v2): New variable.
168 (write_resolution): Use V2 API when available.
169 (onload): Handle LDPT_GET_SYMBOLS_V2.
170
ad7715f3
L
1712011-09-30 H.J. Lu <hongjiu.lu@intel.com>
172 Andi Kleen <ak@linux.intel.com>
173
174 PR lto/50568
175 * lto-plugin.c (sym_aux): Change id to unsigned long long.
176 (plugin_symtab): Likewise.
177 (dump_symtab): Likewise.
178 (resolve_conflicts): Likewise.
179 (process_symtab): Likewise.
180
f3016c47
RG
1812011-08-10 Richard Guenther <rguenther@suse.de>
182
183 PR bootstrap/49907
184 lto-plugin/
185 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
186 * Makefile.am (AM_CFLAGS): Adjust. Do not build with -Werror.
187 * configure: Regenerate.
188 * Makefile.in: Likewise.
189 * aclocal.m4: Likewise.
190
04695783
JM
1912011-04-20 Jim Meyering <meyering@redhat.com>
192
193 * lto-plugin.c (free_1, free_2): Remove useless if-before-free.
194
3b8c1a3f
RG
1952011-04-05 Richard Guenther <rguenther@suse.de>
196
197 PR bootstrap/48431
198 * lto-plugin.c (claim_file_handler): Do not declare vars in code.
199
029c8f3e
RW
2002011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
201
202 * Makefile.in: Regenerate.
203 * aclocal.m4: Regenerate.
204 * configure: Regenerate.
205
3917813c
RW
2062011-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
207
208 * Makefile.am (all-local): Rename from 'all'.
209 * Makefile.in: Regenerate.
210
f3d533d3
AO
2112011-02-12 Alexandre Oliva <aoliva@redhat.com>
212
213 PR lto/47225
214 * Makefile.am (gcc_build_dir, in_gcc_libs): New.
215 (liblto_plugin_la_LDFLAGS): Add -module.
216 (copy_lto_plugin): Renamed to...
217 ($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying
218 of static modules.
219 * Makefile.in: Rebuild.
220
f43c3935
KT
2212011-02-07 Kai Tietz <kai.tietz@onevision.com>
222
223 PR lto/47225
224 * Makefile.am (Wc): New helper for encoding -Wc,.
225 (liblto_plugin_la_LIBADD): Use Wc for libiberty library.
226 (liblto_plugin_la_DEPENDENCIES): Special case pic libiberty.
227 * Makefile.in: Regenerated.
228
e6d926d7
PB
2292011-02-07 Paolo Bonzini <bonzini@gnu.org>
230
231 Revert:
232
233 2011-02-07 Kai Tietz <kai.tietz@onevision.com>
234
235 PR lto/47225
236 * Makefile.am (Wl): New helper for encoding -Wl,.
237 (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
238 * Makefile.in: Regenerated.
239
c7b5125d
KT
2402011-02-07 Kai Tietz <kai.tietz@onevision.com>
241
242 PR lto/47225
243 * Makefile.am (Wl): New helper for encoding -Wl,.
244 (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
245 * Makefile.in: Regenerated.
246
e3bb089d
ILT
2472011-01-25 Ian Lance Taylor <iant@google.com>
248
249 * lto-plugin.c (gold_version): New static variable.
250 (all_symbols_read_handler): Don't check pass_through_items if
251 using gold 1.11 or later.
252 (onload): Set gold_version if we see LDPT_GOLD_VERSION.
253
47782a9d
RG
2542011-01-12 Richard Guenther <rguenther@suse.de>
255
256 PR lto/47264
257 * lto-plugin.c (parse_table_entry): Use memcpy to access
258 unaligned fields.
259
5b64bab9
DK
2602010-12-20 Dave Korn <dave.korn.cygwin@gmail.com>
261
262 * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
263 * Makefile.in: Regenerate.
264
be3ea0c8
RO
2652010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
266
267 Revert last change.
268
dd8587d6
RO
2692010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
270
271 * Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.
272 (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty.
273 (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty.
274 * Makefile.in: Regenerate.
275
77754180
DK
2762010-12-10 Dave Korn <dave.korn.cygwin@gmail.com>
277
278 PR middle-end/46674
279 PR lto/43157
280 * configure.ac (SYM_STYLE): Don't AC_DEFINE.
281 * lto-plugin.c (sym_style): Don't use it; default to ss_none.
282 * configure: Regenerate.
283 * config.h.in: Likewise.
284
7de6ba7a
DK
2852010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
286
287 PR target/40125
288 PR lto/46695
289 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
290 * Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but
291 override -bindir setting.
292 * aclocal.m4: Regenerate.
293 * configure: Regenerate.
294 * Makefile.in: Regenerate.
295
ec692d5f
KT
2962010-12-05 Kai Tietz <kai.tietz@onevision.com>
297
298 * config.h.in: Regenerated.
299 * configure: Regenerated.
300 * configure.ac (AC_CHECK_HEADERS): Replaced by AC_HEADER_SYS_WAIT.
301 * lto-plugin.c (WIFEXITED): Define default.
302 (WEXITSTATUS): Likeiwse.
303
a2254c5d
KT
3042010-12-01 Kai Tietz <kai.tietz@onevision.com>
305
306 * config.h.in: Regenerated.
307 * configure: Regenerated.
308 * Makefile.in: Regenerated.
309 * configure.ac (AC_CHECK_HEADERS): Check for sys/wait.h.
310 * lto-plugin.c: Include sys/wait.h conditionally.
311 * aclocal.m4: Regenerated.
312
44538c62
KT
3132010-11-13 Kai Tietz <kai.tietz@onevision.com>
314
315 * lto-plugin.c (add_output_files): Fix memory leak.
316
d19e0f01
DK
3172010-11-11 Dave Korn <dave.korn.cygwin@gmail.com>
318
319 PR bootstrap/46397
320 PR bootstrap/46362
321 * configure.ac: Add AC_TYPE_INT64_T test.
322 * config.h.in: Regenerate.
323 * configure: Likewise.
324 * lto-plugin.c (debug): Use char not bool.
325 (nop): Likewise.
326 (check_1): Rename from check, and use int not bool for gate argument.
327 (check): Macro wrapper for the above to coerce gate argument into
328 boolean-valued integer in case it has pointer type.
329 (parse_table_entry): Use 0 not false.
330 (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size
331 into two 32-bit parts and printing as hex ints.
332
37da3688
DK
3332010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
334
335 PR lto/46291
336 * lto-plugin.c (claim_file_handler): Don't close file descriptor.
337
48215350
DK
3382010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
339
340 PR lto/46273
341 * lto-plugin.h: Delete.
342 * lto-plugin-elf.c: Likewise.
343 * lto-plugin-coff.c: Likewise.
344 * configure.ac: Don't use libelf, don't source config.gcc.
345 (LIBELFLIBS): Delete.
346 (LIBELFINC): Delete.
347 (LTO_FORMAT): Delete.
348 (SYM_STYLE): Add AC_DEFINE var, set based on $target.
349 (config.h): Add AC_CONFIG_HEADERS directive.
350 * Makefile.am (LIBELFLIBS): Delete.
351 (LIBELFINC): Delete.
352 (LTO_FORMAT): Delete.
353 (DEFS): Import.
354 (AM_CPPFLAGS): Use it. Don't use LIBELFINC.
355 (liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include
356 any object-format-specific source file in the link.
357 (liblto_plugin_la_LIBADD): Don't use LIBELFLIBS.
358 * config.h.in: Generate.
359 * configure: Regenerate.
360 * Makefile.in: Likewise.
361 * lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h.
362 (LTO_SEGMENT_NAME): New definition.
363 (LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h.
364 (LTO_SECTION_PREFIX_LEN): New definition.
365 (struct sym_aux): Struct definition moved here from lto-plugin.h.
366 (struct plugin_symtab): Likewise.
367 (struct plugin_objfile): Likewise.
368 (struct plugin_objfile): New struct def.
369 (enum symbol_style): New enum type.
370 (add_symbols): Make static.
371 (claimed_files): Likewise.
372 (num_claimed_files): Likewise.
373 (sym_style): New global.
374 (check): Make static.
375 (parse_table_entry): Likewise. Respect sym_style when extracting
376 symbol from symtab entry.
377 (translate): Make static.
378 (resolve_conflicts): Likewise.
379 (process_symtab): New function, per-section callback version of
380 old object-format-specific handling from deleted lto-plugin-elf.c.
381 (claim_file_handler): Convert ELF-specific version from deleted
382 lto-plugin-elf.c to simple_object interface and move here.
383 (process_options): Allow new '-sym-style=' option.
384 (onload): Don't call deleted onload_format_checks hook.
385
9df2493c
KT
3862010-10-11 Kai Tietz <kai.tietz@onevision.com>
387
388 * lto-plugin.c (dump_symtab): Correct printf argument type.
389 (finish_conflict_resolution): Initialize resolution.
390
73d5e770
L
3912010-10-08 H.J. Lu <hongjiu.lu@intel.com>
392
393 PR bootstrap/45951
394 * configure.ac: Add AC_CANONICAL_SYSTEM.
395 * configure: Regenerated.
396
1cd0b716
DK
3972010-10-07 Dave Korn <dave.korn.cygwin@gmail.com>
398
399 * configure.ac: Source config.gcc to determine lto_binary_reader.
400 (LTO_FORMAT): New AC_SUBST variable inferred from lto_binary_reader.
401 * Makefile.am (LTO_FORMAT): Import.
402 (liblto_plugin_la_SOURCES): Add object format dependent module
403 defined by LTO_FORMAT.
404 (liblto_plugin_la_LIBADD): Allow for both PIC and non-PIC libiberty,
405 and work around libtool warning.
406 * configure: Regenerate.
407 * Makefile.in: Likewise.
408 * lto-plugin.c (struct sym_aux): Move to new lto-plugin.h.
409 (struct sym_aux): Likewise.
410 (struct plugin_symtab): Likewise.
411 (struct plugin_file_info): Likewise.
412 (LTO_SECTION_PREFIX): Likewise.
413 (add_symbols): Make non-static.
414 (claimed_files): Likewise.
415 (num_claimed_files): Likewise.
416 (check): Likewise.
417 (parse_table_entry): Likewise.
418 (translate): Likewise.
419 (resolve_conflicts): Likewise.
420 (process_symtab): Move to new lto-plugin-elf.c object format dependent
421 source file.
422 (claim_file_handler): Likewise, and make non-static.
423 (onload): Call new onload_format_checks function.
424 * lto-plugin.h: New file.
425 (LTO_SECTION_PREFIX): Move here.
426 (struct sym_aux): Likewise.
427 (struct plugin_symtab): Likewise.
428 (struct plugin_file_info): Likewise.
429 (claim_file_handler): Add new function prototype.
430 (onload_format_checks): Likewise.
431 (check): Declare extern.
432 (translate): Likewise.
433 (parse_table_entry): Likewise.
434 (resolve_conflicts): Likewise.
435 (add_symbols): Likewise.
436 (claimed_files): Likewise.
437 (num_claimed_files): Likewise.
438 * lto-plugin-elf.c (process_symtab): Move here.
439 (claim_file_handler): Likewise, and make non-static.
440 (onload_format_checks): New function factored out from onload.
441 * lto-plugin-coff.c (claim_file_handler): New function stub.
442 (onload_format_checks): Likewise.
443
d2c57fe9
AK
4442010-08-05 Andi Kleen <ak@linux.intel.com>
445
446 * lto-plugin.c: Include <hashtab.h>
447 (sym_aux): Add next_conflict field to save conflict chains.
448 (plugin_file_info): Add conflicts symtab.
449 (parse_table_entry): Initialize aux->next_conflict.
450 (process_symtab): Increment found.
451 (dump_symtab): Add.
452 (finish_conflict_resolution): Add.
453 (free_symtab): Add.
454 (write_resolution): Remove symbols loop and move into
455 dump_symtab. Call dump_symtab for main symbol and conflicts table.
456 Call free_symtab to free conflicts table.
457 (SWAP): Add.
458 (eq_sym): Add.
459 (hash_sym): Add.
460 (symbol_strength): Add.
461 (resolve_conflicts): Add.
462 (claim_file_handler): Add n variable. Check return value of
463 process_symtab. Call resolve_conflicts.
464
ecdbd01a 4652010-07-27 Andi Kleen <ak@linux.intel.com>
90e26247
AK
466
467 * lto-plugin.c (translate): Remove debug fprintf.
468
9477ccb2
L
4692010-07-23 H.J. Lu <hongjiu.lu@intel.com>
470
471 PR bootstrap/45042
472 * lto-plugin.c (translate): Cast to unsigned long.
473
ecdbd01a 4742010-07-23 Andi Kleen <ak@linux.intel.com>
73ce4d1e
AK
475
476 PR lto/44992
477 * lto-plugin.c (sym_aux): Add.
478 (plugin_symtab): Remove slots. Add aux and id.
479 (parse_table_entry): Change to use aux instead of slots.
480 (LTO_SECTION_PREFIX): Add.
481 (translate): Improve buffer allocation. Change to append
482 symbols to existing out buffer.
483 (get_section): Remove.
484 (process_symtab): Add.
485 (free_2): Free symtab->aux.
486 (write_resolution): Handle aux instead of slots.
487 Print sub id to resolution file.
488 (claim_file_handler): Clear lto_file. Replace get_symtab/translate
489 calls with call to process_symtab.
490
553fc582
RG
4912010-07-22 Richard Guenther <rguenther@suse.de>
492
493 * Makefile.am: New copy_lto_plugin rule to install the plugin
494 into ../gcc.
495 * Makefile.in: Regenerated.
496
bdc89f9e
RG
4972010-05-21 Richard Guenther <rguenther@suse.de>
498
499 * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
500
5cd0e96b
RG
5012010-05-07 Richard Guenther <rguenther@suse.de>
502
503 * lto-plugin.c (free_2): Do not free resolution_file.
504 (write_resolution): Check that we were passed a resolution file.
505 (all_symbols_read_handler): Adjust.
506 (cleanup_handler): Do not remove the resolution file.
507 (process_option): Handle -fresolution=.
508
13917ae3
RW
5092010-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
510
511 PR other/43620
512 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
513 * Makefile.in: Regenerate.
514
ed0f0c0f
RG
5152010-04-23 Richard Guenther <rguenther@suse.de>
516
517 PR lto/41550
518 * lto-plugin.c (parse_table_entry): Use xstrdup and xrealloc.
519 (translate): Likewise.
520 (all_symbols_read_handler): Likewise.
521 (claim_file_handler): Likewise.
522 (process_option): Likewise.
523 (add_output_files): Likewise. Remove filename length limit.
524
4d9e8446
RW
5252010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
526
527 * Makefile.in: Regenerate.
528 * aclocal.m4: Regenerate.
529
a8a5ac48
DG
5302010-03-16 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
531
532 PR lto/43336
533 * lto-plugin.c (cleanup_handler): Delete temporary output files.
534
c164615b
RG
5352010-01-11 Richard Guenther <rguenther@suse.de>
536
537 PR lto/41569
538 * Makefile.am: Disable dependencies.
539 * Makefile.in: Regenerated.
540
f0d61983
L
5412010-01-03 H.J. Lu <hongjiu.lu@intel.com>
542
543 PR lto/42520
544 * lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
545 if -v is passed.
546
52327858 5472009-12-05 H.J. Lu <hongjiu.lu@intel.com>
43e02a8a 548
52327858
L
549 PR bootstrap/42306
550 * configure: Regenerated.
551 * Makefile.in: Likewise.
43e02a8a 552
92fa7608
RAE
5532009-11-19 Rafael Avila de Espindola <espindola@google.com>
554
555 PR bootstrap/42096
556 * lto-plugin.c (claim_file_handler): Print offsets in hex.
557
06bd7f56
RAE
5582009-11-12 Rafael Avila de Espindola <espindola@google.com>
559
560 * lto-plugin.c (write_resolution): Assume resolution_file is set.
561 Print the symbol name.
562 (all_symbols_read_handler): Create a resolution file.
563 Pass it to gcc.
564 (cleanup_handler): Remove the resolution file.
565 (process_option): Drop the -resolution option.
566
94086ef6
RAE
5672009-11-05 Rafael Avila de Espindola <espindola@google.com>
568
569 * lto-plugin.c (temp_obj_dir_name): Remove.
570 (arguments_file_name): New.
571 (free_2): Free arguments_file_name instead of temp_obj_dir_name.
572 (exec_lto_wrapper): Create arguments file with make_temp_file.
573 (cleanup_handler): Don't remove the temporary directory. Remove the
574 arguments file.
575 (onload): Don't create the temporary directory.
576
7e9dc421
RG
5772009-11-04 Richard Guenther <rguenther@suse.de>
578 Rafael Avila de Espindola <espindola@google.com>
579
580 * lto-plugin.c (plugin_file_info): Remove temp field.
581 (cleanup_handler): Don't delete temporary objects.
582 (claim_file_handler): Don't create temporary objects.
583
1cddcdca
RAE
5842009-11-04 Rafael Avila de Espindola <espindola@google.com>
585
586 * lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
587
86ed04df
RAE
5882009-10-30 Rafael Avila de Espindola <espindola@google.com>
589
590 PR41871
591 * lto-plugin.c (claim_file_handler): Close files that we created.
592
aff4273c
RAE
5932009-10-28 Rafael Avila de Espindola <espindola@google.com>
594
595 * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
596 LDPL_ERROR
597
4c0f4b0b
DG
5982009-10-27 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
599
600 PR lto/41652
601 * configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT.
602 * configure: Regenerate.
603
03428d41
RG
6042009-10-26 Richard Guenther <rguenther@suse.de>
605
606 * configure.ac: Use AM_MAINTAINER_MODE.
607 * acinclude.m4: Remove.
608 * configure: Re-generate.
609 * Makefile.in: Likewise.
610 * aclocal.m4: Likewise.
611
941e566a
RE
6122009-10-19 Rafael Avila de Espindola <espindola@google.com>
613
614 PR40790
615 * configure: Regenerate.
616 * configure.ac: Add AC_TYPE_UINT64_T.
617
33662270
RAE
6182009-10-16 Rafael Avila de Espindola <espindola@google.com>
619
620 * lto-plugin.c (message): New variable.
621 (check): New function.
622 (parse_table_entry, translate, write_resolution,add_output_files,
623 exec_lto_wrapper,claim_file_handler, onload): Use check instead of
624 assert.
625 (cleanup_handler): Use check instead of assert. Remove the arguments
626 file if it exists.
627
b10071c5
RAE
6282009-10-15 Rafael Avila de Espindola <espindola@google.com>
629
630 * lto-plugin.c (resolution_file): New.
631 (free_1): Update comment.
632 (free_2): Free resolution_file.
633 (write_resolution): Write resolution to specified file. Use the
634 syms array from the symbol table.
635 (all_symbols_read_handler): Delay call to free_1 past call to
636 write_resolution.
637 (process_option): Add a -resolution option.
638
076c7ebe
RG
6392009-10-13 Richard Guenther <rguenther@suse.de>
640
641 * Makefile.am (liblto_plugin_la_LIBADD): Link against the
642 correct libiberty.
643 * Makefile.in: Regenerated.
644
d520c7fb
RAE
6452009-10-08 Rafael Avila de Espindola <espindola@google.com>
646
647 * lto-plugin.c (add_input_library): New.
648 (all_symbols_read_handler): Use add_input_library for items that
649 start with -l.
650 (process_option): Fit in 80 columns.
651 (onload): Handle LDPT_ADD_INPUT_LIBRARY.
652
d7f09764
DN
6532009-10-02 Diego Novillo <dnovillo@google.com>
654
655 * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
656 and -D_FILE_OFFSET_BITS=64.
657 * configure.ac: Add AC_SYS_LARGEFILE.
658 * configure: Regenerate.
659 * Makefile.in: Regenerate.
660 * lto-plugin.c: Fix copyright boilerplate.
661
6622009-10-02 Diego Novillo <dnovillo@google.com>
663
664 * Makefile.am (ACLOCAL_AMFLAGS): Define.
665 * aclocal.m4: Regenerate with aclocal-2.64
666 * acinclude.m4: Remove.
667 * Makefile.in: Regenerate with automake-1.11
668 * configure.ac (AC_PREREQ): Update to 2.64.
669 * configure: Regenerate.
670
6712009-10-02 Diego Novillo <dnovillo@google.com>
672
673 * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
674 and -D_FILE_OFFSET_BITS=64.
675 * configure.ac: Add AC_SYS_LARGEFILE.
676 * configure: Regenerate.
677 * Makefile.in: Regenerate.
678 * lto-plugin.c: Fix copyright boilerplate.
679
6802009-10-02 Diego Novillo <dnovillo@google.com>
681
682 * Makefile.am (ACLOCAL_AMFLAGS): Define.
683 * aclocal.m4: Regenerate with aclocal-2.64
684 * acinclude.m4: Remove.
685 * Makefile.in: Regenerate with automake-1.11
686 * configure.ac (AC_PREREQ): Update to 2.64.
687 * configure: Regenerate.
688
6892009-10-02 Rafael Avila de Espindola <espindola@google.com>
690
691 * Makefile.am (liblto_plugin_la_SOURCES): Remove
692 $(top_srcdir)/../gcc/lto/common.c
693 * Makefile.in: Regenerate.
694
6952009-10-01 Rafael Avila de Espindola <espindola@google.com>
696
697 * lto-plugin.c (pass_through_items): New.
698 (num_pass_through_items): New.
699 (all_symbols_read_handler): Update to use the -pass-through option.
700 (process_option): Replace -libgcc with -pass-through.
701
7022009-09-30 Rafael Avila de Espindola <espindola@google.com>
703
704 * lto-plugin.c (onload): Return a ld_plugin_status. Don't require
705 register_cleanup to be set.
706
7072009-09-30 Rafael Avila de Espindola <espindola@google.com>
708
709 * Makefile.am: Remove all reference to ltosymtab.
710 * Makefile.in: Regenerate.
711 * lto-symtab.c: Remove.
712
7132009-05-21 Diego Novillo <dnovillo@google.com>
714
715 * configure.ac: Remove call to AC_CHECK_GELF.
716 Call AC_ARG_VAR for LIBELFLIBS and LIBELFINC.
717 * acinclude.m4: Do not include ../config/libelf.m4
718 * Makefile.am (LIBELFLIBS): Define.
719 (LIBELFINC): Define.
720 (AM_CPPFLAGS): Add $(LIBELFINC).
721 (ltosymtab_LDADD): Add $(LIBELFLIBS).
722 (liblto_plugin_la_LIBADD): Add $(LIBELFLIBS)
723 * lto-plugin.c: Always include <gelf.h>
724 * lto-symtab.c: Likewise.
725 * configure: Regenerate.
726 * Makefile.in: Regenerate.
727
7282009-03-23 Rafael Avila de Espindola <espindola@google.com>
729
730 * lto-plugin.c (libgcc_filename): New.
731 (all_symbols_read_handler): Pass libgcc to the linker.
732 (all_symbols_read_handler): Parse -libgcc
733
7342009-02-05 Rafael Avila de Espindola <espindola@google.com>
735
736 * Makefile.am (liblto_plugin_la_LIBADD): Link with libiberty.
737 * Makefile.in: Regenerate.
738 * lto-plugin.c (add_output_files): Argument is now a FILE.
739 (exec_lto_wrapper): Use writeargv and pex.
740
7412009-02-04 Rafael Avila de Espindola <espindola@google.com>
742
743 Revert:
744 2009-02-04 Rafael Avila de Espindola <espindola@google.com>
745 * lto-plugin.c (exec_lto_wrapper): Use writeargv.
746
747
7482009-02-04 Rafael Avila de Espindola <espindola@google.com>
749
750 * lto-plugin.c (exec_lto_wrapper): Use writeargv.
751
7522009-01-29 Rafael Avila de Espindola <espindola@google.com>
753
754 * lto-plugin.c: Include libiberty.h.
755 (exec_lto_wrapper, claim_file_handler): Use asprintf instead of
756 snprintf.
757
7582009-01-29 Rafael Avila de Espindola <espindola@google.com>
759
760 * lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that
761 file to lto-wrapper.
762
7632009-01-28 Rafael Avila de Espindola <espindola@google.com>
764
765 * lto-plugin.c (plugin_file_info): Remove fd and elf.
766 (parse_table_entry): strdup entry->name and entry->comdat_key.
767 (free_1): Free name and comdat_key. Don't close the file. Don't call
768 elf_end.
769 (claim_file_handler): Always call elf_end.
770
7712008-12-23 Rafael Avila de Espindola <espindola@google.com>
772
773 * Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE
774 -D_FILE_OFFSET_BITS=64
775 * Makefile.in: Regenerate
776
7772008-12-22 Rafael Avila de Espindola <espindola@google.com>
778
779 * Makefile.am (gcc_version, target_noncanonical, libexecsubdir): New.
780 (lib_LTLIBRARIES): Rename to libexecsub_LTLIBRARIES.
781 * Makefile.in: Regenerate.
782 * acinclude.m4: Include ../config/acx.m4 and ../lt~obsolete.m4
783 * configure: Regenerate.
784 * configure.ac: Add AC_SUBST(target_noncanonical).
785
7862008-12-08 Rafael Avila de Espindola <espindola@google.com>
787
788 * lto-plugin.c: Include stdbool.h.
789 (debug, nop): Declare as bool.
790
7912008-12-08 Rafael Avila de Espindola <espindola@google.com>
792
793 * lto-plugin.c (nop): New.
794 (use_original_files): New.
795 (all_symbols_read_handler): Call use_original_files if nop is true.
796 (process_option): Parse the -nop option.
797
7982008-12-08 Rafael Avila de Espindola <espindola@google.com>
799
800 * lto-plugin.c (debug): New.
801 (exec_lto_wrapper): Print argv if debug is true.
802 (process_option): Process the -debug command line option.
803
8042008-12-03 Rafael Avila de Espindola <espindola@google.com>
805
806 * lto-plugin.c (process_option): The argument is now a single option,
807 not a space separated list.
808
8092008-12-02 Rafael Avila de Espindola <espindola@google.com>
810
811 * lto-plugin.c: Include sys/types.h and sys/wait.h
812 (output_files, num_output_files, lto_wrapper_argv,
813 lto_wrapper_num_args): New.
814 (free_2): Free output_files.
815 (write_resolution): Disable.
816 (add_output_files): New.
817 (exec_lto_wrapper): New.
818 (all_symbols_read_handler): Run lto-wrapper.
819 (claim_file_handler): Free lto_file.name and call elf_end.
820 (process_option): New.
821
8222008-11-26 Rafael Espindola <espindola@google.com>
823
824 * lto-plugin.c (add_input_file): New.
825 (get_section): Return NULL if get_section fails.
826 (write_resolution): New.
827 (all_symbols_read_handler): Call add_input_file.
828 (claim_file_handler): Unlink the correct file.
829 (onload): Record add_input_file.
830
8312008-09-23 Rafael Espindola <espindola@google.com>
832
833 * Makefile.am (ltosymtab_SOURCES, liblto_plugin_la_SOURCES):
834 Update the location of common.c.
835 * Makefile.in: Regenerate.
836 * common.c: Moved to gcc/lto.
837 * common.h: Moved to gcc/lto.
838 * lto-plugin.c: Update the location of common.h.
839 * lto-symtab.c: Update the location of common.h.
840
8412008-09-23 Rafael Espindola <espindola@google.com>
842
843 * common.c: Include common.h.
844 (lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit
845 sizes.
846 * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use
847 explicit sizes.
848
8492008-09-23 Rafael Espindola <espindola@google.com>
850
851 * lto-plugin.c (plugin_file_info): Add temp.
852 (cleanup_handler): Only delete temporary files.
853 (claim_file_handler): Initialize lto_file.temp.
854
8552008-09-23 Rafael Espindola <espindola@google.com>
856
857 * plugin-api.h: Moved to include.
858
8592008-09-23 Rafael Espindola <espindola@google.com>
860
861 * lto-plugin.c (all_symbols_read_handler): Print resolution in a new
862 format.
863
8642008-09-22 Rafael Espindola <espindola@google.com>
865
866 * plugin-api.h: Copy from binutils' cvs.
867
8682008-09-22 Rafael Espindola <espindola@google.com>
869
870 * lto-symtab.c (get_symbols, add_symbols): Update signature.
871 * plugin-api.h: Copy from binutils' cvs.
872
8732008-09-22 Rafael Espindola <espindola@google.com>
874
875 * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str):
876 Make extern
877
8782008-09-10 Rafael Espindola <espindola@google.com>
879
880 * lto-plugin.c (onload): add missing break statements and asserts.
881 * lto-symtab.c (claim_file_handler): Make it static.
882 (all_symbols_read_handler): Make it static.
883 (all_file_handles): Make it static.
884 (num_file_handles): Make it static.
885 (register_claim_file): Make it static.
886 (register_object): Indent properly.
887
8882008-09-10 Rafael Avila de Espindola <espindola@google.com>
889
890 * Makefile.am (ltosymtab_LDADD): Add -lelf.
891 * Makefiel.in: Regenerate.
892 * lto-plugin.c: Include ar.h.
893 (claim_file_handler): Handle file->offset != 0.
894 * lto-symtab.c: Include gelf.h.
895 (all_file_handles): Change type.
896 (register_object): New.
897 (register_file): Add support for archives.
898 (resolve): Update to new type of all_file_handles.
899 (print): Update to new type of all_file_handles.
900 (free_all): Update to new type of all_file_handles.
901 (main): Update to new type of all_file_handles.
902
9032008-09-10 Rafael Avila de Espindola <espindola@google.com>
904
905 * lto-plugin.c (get_string_table): Remove.
906 (get_section): Use elf_strptr instead of get_string_table.
907
9082008-09-08 Doug Kwan <dougkwan@google.com>
909
910 * lto-plugin.c (all_symbols_read_handler): Widen fprintf arguments
911 to 64-bit to fix a 32-bit bootstrap failure due to format warnings.
912
9132008-09-08 Rafael Avila de Espindola <espindola@google.com>
914
915 * Makefile.am (ltosymtab_SOURCES): add common.c.
916 (ltosymtab_CFLAGS): New.
917 (liblto_plugin_la_SOURCES): Add common.c.
918 * Makefile.in: Regenerate.
919 * common.c: New.
920 * common.h: New.
921 * lto-plugin.c: Include stdio.h, inttypes.h and common.h.
922 (plugin_symtab): New.
923 (plugin_file_info): New.
924 (register_all_symbols_read): New.
925 (get_symbols): New.
926 (claimed_files): New.
927 (num_claimed_files): New.
928 (translate): Don't drop the slot number.
929 (free_1): New.
930 (free_2): New.
931 (all_symbols_read_handler): New.
932 (claim_file_handler): Record every claimed file.
933 (onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
934 LDPT_GET_SYMBOLS.
935 * lto-symtab.c: Include stdlib.h, string.h and common.h.
936 (current_file_handle): Remove.
937 (ld_plugin_all_symbols_read_handler): New.
938 (plugin_handle): New.
939 (file_handle): New.
940 (all_file_handles): New.
941 (num_file_handles): New.
942 (get_symbols): New.
943 (register_all_symbols_read): New.
944 (add_symbols): Don't print the symbols, just record them.
945 (ld_plugin_tv): Add LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
946 LDPT_GET_SYMBOLS.
947 (load_plugin): Use plugin_handle.
948 (register_file): Add the file handle to all_file_handles.
949 (resolve): New.
950 (print): New.
951 (unload_plugin): New.
952 (free_all): New.
953 (main): Call all_symbols_read_handler and free resources.
954
9552008-09-03 Rafael Avila de Espindola <espindola@google.com>
956
957 * Makefile.am (AM_CFLAGS): New.
958 (ltosymtab_LDADD): Remove -lelf. Add -ldl.
959 (lib_LTLIBRARIES): New.
960 (liblto_plugin_la_SOURCES): New.
961 (liblto_plugin_la_LIBADD): New.
962 * Makefile.in: Regenerate.
963 * acinclude.m4: Don't include ../config/acx.m4 and
964 ../config/no-executables.m4.
965 Include ../ltsugar.m4, ../ltoptions.m4, ../ltversion.m4 and
966 ../libtool.m4.
967 * aclocal.m4: Regenerate.
968 * configure: Regenerate.
969 * configure.ac: Use AM_PROG_LIBTOOL.
970 * lto-plugin.c: New.
971 * lto-symtab.c: Rewrite to use the plugin.
972 * plugin-api.h: New.
973
9742008-08-25 Rafael Avila de Espindola <espindola@google.com>
975
976 * configure: Regenerate.
977 * configure.ac: Use AC_CHECK_GELF.
978 * lto-symtab.c: Include gelf.h.
979 (get_string_table): Use size independent API.
980 (printTable): Use lld to print 64 bit integers.
981
9822008-08-22 Rafael Avila de Espindola <espindola@google.com>
983
984 * lto-symtab.c (parse_table_entry): Assert entry->kind and
985 entry->visibility are valid.
986
9872008-07-22 Rafael Avila de Espindola <espindola@google.com>
988 * lto-symtab.c (table_entry): Add comdat.
989 (parse_table_entry): Read comdat.
990
9912008-08-21 Rafael Espindola <espindola@google.com>
992
993 * Makefile.am: New.
994 * Makefile.in: New.
995 * acinclude.m4: New.
996 * aclocal.m4: New.
997 * configure: New.
998 * configure.ac: New.
999 * lto-symtab.c: New.
This page took 0.568962 seconds and 5 git commands to generate.