1 2022-07-01 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
4 * configure.ac: Move -pthread from here...
5 * Makefile.am: ...to here.
6 * configure: Regenerate.
7 * Makefile.in: Likewise.
9 2022-06-27 Martin Liska <mliska@suse.cz>
11 * lto-plugin.c (plugin_lock): New lock.
12 (claim_file_handler): Use mutex for critical section.
13 (onload): Initialize mutex.
14 * configure.ac: Check for pthread.h.
15 * configure: Regenerate.
16 * config.h.in: Regenerate.
18 2022-06-20 Martin Liska <mliska@suse.cz>
20 * lto-plugin.c (struct plugin_file_info): Add skip_file flag.
21 (write_resolution): Write resolution only if get_symbols != LDPS_NO_SYMS.
22 (all_symbols_read_handler): Ignore file if skip_file is true.
23 (onload): Handle LDPT_GET_SYMBOLS_V3.
25 2022-05-04 Martin Liska <mliska@suse.cz>
27 * lto-plugin.c (struct plugin_objfile): Use bool for offset
29 (exec_lto_wrapper): Assign true/false to bool variables.
30 (process_offload_section): Likewise.
31 (claim_file_handler): Likewise.
34 2022-03-22 Jakub Jelinek <jakub@redhat.com>
37 * configure.ac (LTO_PLUGIN_USE_SYMVER, LTO_PLUGIN_USE_SYMVER_GNU,
38 LTO_PLUGIN_USE_SYMVER_SUN): New test for symbol versioning support.
39 * Makefile.am (version_arg, version_dep): Set conditionally based
40 on LTO_PLUGIN_USE_SYMVER*.
41 (liblto_plugin_la_LDFLAGS): Use $(version_arg) instead of
42 -export-symbols-regex onload.
43 (liblto_plugin_la_DEPENDENCIES): Depend on $(version_dep).
44 * lto-plugin.map: New file.
45 * configure: Regenerated.
46 * Makefile.in: Regenerated.
48 2022-03-11 Tobias Burnus <tobias@codesourcery.com>
50 * lto-plugin.c (all_symbols_read_handler): With -save-temps, use
51 link_output_name for -foffload-objects's file name, if available.
53 2022-03-01 Martin Liska <mliska@suse.cz>
55 * lto-plugin.c (process_offload_section): Use a linker as many
56 comments are connected to gold linker.
57 (process_option): Likewise.
59 2021-12-02 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
61 * lto-plugin.c: Fix -linker-output-auto-notlo-rel ->
62 -linker-output-auto-nolto-rel typo.
63 (process_option): Adjust accordingly, accepting both old and
66 2021-09-13 Andrew Pinski <apinski@marvell.com>
69 * Makefile.am: Export only onload.
70 * Makefile.in: Regenerate.
72 2021-06-25 Richard Biener <rguenther@suse.de>
74 * lto-plugin.c (ltrans_objects): New global.
75 (all_symbols_read_handler): If -ltrans-objects was specified,
76 add the output files from the specified file directly.
77 (process_option): Handle -ltrans-objects.
79 2021-05-10 Martin Liska <mliska@suse.cz>
81 * lto-plugin.c (LTO_SEGMENT_NAME): Remove.
82 (LTO_SYMTAB_PREFIX): Likewise.
83 (LTO_SYMTAB_PREFIX_LEN): Likewise.
84 (LTO_SYMTAB_EXT_PREFIX): Likewise.
85 (LTO_SYMTAB_EXT_PREFIX_LEN): Likewise.
86 (LTO_LTO_PREFIX): Likewise.
87 (LTO_LTO_PREFIX_LEN): Likewise.
88 (OFFLOAD_SECTION): Likewise.
89 (OFFLOAD_SECTION_LEN): Likewise.
90 (startswith): New function.
91 (all_symbols_read_handler): Use it.
92 (process_symtab): Likewise.
93 (process_symtab_extension): Likewise.
94 (process_offload_section): Likewise.
95 (process_option): Likewise.
97 2021-05-03 H.J. Lu <hjl.tools@gmail.com>
100 * configure: Regenerated.
102 2021-04-21 Martin Liska <mliska@suse.cz>
104 * lto-plugin.c (exec_lto_wrapper): Make a temp variable.
106 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
108 * configure: Re-generate.
110 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
112 * configure: Regenerate.
114 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
116 * Makefile.am: Avoid using sanitizer.
117 * Makefile.in: Regenerate.
119 2020-09-10 Jonathan Yong <10walls@gmail.com>
121 * Makefile.am: drop versioning from libtool completely.
122 * Makefile.in: regenerate.
124 2020-09-09 Nick Clifton <nickc@redhat.com>
126 * lto-plugin.c (struct plugin_symtab): Add last_sym field.
127 (parse_symtab_extension): Only read as many entries as are
128 available in the buffer. Store the data read into the symbol
129 table indexed from last_sym. Increment last_sym.
131 2020-07-30 H.J. Lu <hjl.tools@gmail.com>
134 * configure: Regenerated.
136 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
139 * configure: Regenerated.
141 2020-05-26 Alexandre Oliva <oliva@adacore.com>
143 * lto-plugin.c (skip_in_suffix): New.
144 (exec_lto_wrapper): Use skip_in_suffix and concat to build
145 non-temporary output names.
146 (onload): Look for -dumpdir in COLLECT_GCC_OPTIONS, and
147 override link_output_name with it.
149 2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
152 * configure: Regenerated.
154 2020-05-05 Eric Botcazou <ebotcazou@adacore.com>
156 * lto-plugin.c: Document -linker-output-auto-notlo-rel option.
157 (linker_output_set): Change type to bool.
158 (linker_output_known): Likewise.
159 (linker_output_auto_nolto_rel): New variable.
160 (all_symbols_read_handler): Take it into account.
161 <LDPO_REL>: Do not issue the warning if it is set.
162 (process_option): Process -linker-output-auto-notlo-rel.
163 (cleanup_handler): Remove unused variable.
164 (onload) <LDPT_LINKER_OUTPUT>: Adjust to above type change.
166 2020-04-28 H.J. Lu <hongjiu.lu@intel.com>
169 * configure: Regenerated.
171 2020-04-25 H.J. Lu <hongjiu.lu@intel.com>
174 * Makefile.am (AM_CFLAGS): Add $(CET_HOST_FLAGS).
175 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
176 AC_SUBST(CET_HOST_FLAGS).
177 * Makefile.in: Regenerated.
178 * aclocal.m4: Likewise.
179 * configure: Likewise.
181 2020-03-19 Martin Liska <mliska@suse.cz>
183 * lto-plugin.c (LTO_SECTION_PREFIX): Rename to ...
184 (LTO_SYMTAB_PREFIX): ... this.
185 (LTO_SECTION_PREFIX_LEN): Rename to ...
186 (LTO_SYMTAB_PREFIX_LEN): ... this.
187 (LTO_SYMTAB_EXT_PREFIX): New.
188 (LTO_SYMTAB_EXT_PREFIX_LEN): New.
189 (LTO_LTO_PREFIX): New.
190 (LTO_LTO_PREFIX_LEN): New.
191 (parse_table_entry): Fill up unused to zero.
192 (parse_table_entry_extension): New.
193 (parse_symtab_extension): New.
194 (finish_conflict_resolution): Change type
196 (process_symtab): Use new macro name.
197 (process_symtab_extension): New.
198 (claim_file_handler): Parse also process_symtab_extension.
199 (onload): Call new add_symbols_v2.
201 2020-01-01 Jakub Jelinek <jakub@redhat.com>
203 Update copyright years.
205 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
207 * configure: Regenerate.
209 2019-05-15 Iain Sandoe <iain@sandoe.co.uk>
211 * lto-plugin.c (cleanup_handler): Remove unused var.
213 2019-05-15 Iain Sandoe <iain@sandoe.co.uk>
215 * lto-plugin.c (exec_lto_wrapper): Make the wrapper
216 arguments filename more user-friendly.
217 (file_exists, maybe_unlink): New.
218 (cleanup_handler): Use maybe unlink to handle the
219 case when temps should be saved.
220 (process_option): Look for -v, —-version, -save-temps.
221 (onload): Record the linker output file name.
222 Check for -v, —-version, -save-temps in the GCC collect
225 2019-02-26 Martin Liska <mliska@suse.cz>
227 * lto-symtab.c: Remove.
229 2019-01-01 Jakub Jelinek <jakub@redhat.com>
231 Update copyright years.
233 2018-10-31 Joseph Myers <joseph@codesourcery.com>
236 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
237 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
239 2018-05-30 Jan Hubicka <jh@suse.cz>
241 * lto-plugin.c: (non_claimed_files): New static var.
242 (linker_ouput_known): New static var.
243 (all_symbols_read_handler): When user specifies linker output do not
244 imply it; output warning when nonlto-rel mode is forced.
245 (claim_file_header): Record number of nonclaimed files.
246 (process_option): Remember if linker output is known
248 2018-04-18 David Malcolm <dmalcolm@redhat.com>
251 * configure: Regenerate.
253 2018-01-03 Jakub Jelinek <jakub@redhat.com>
255 Update copyright years.
257 2017-07-21 Georg-Johann Lay <avr@gjlay.de>
260 * lto-plugin.c (claim_file_handler): Use xasprintf instead of
262 [hi!=0]: Swap hi and lo arguments supplied to xasprintf.
264 2017-01-17 Jakub Jelinek <jakub@redhat.com>
267 * configure.ac: Add GCC_BASE_VER.
268 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
269 get version from BASE-VER file.
270 * configure: Regenerated.
271 * Makefile.in: Regenerated.
273 2017-01-04 Jakub Jelinek <jakub@redhat.com>
275 Update copyright years.
277 2016-11-15 Matthias Klose <doko@ubuntu.com>
279 * configure: Regenerate.
281 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
284 * lto-plugin.c (struct plugin_offload_file): New.
285 (offload_files): Change type.
286 (offload_files_last, offload_files_last_obj): New.
287 (offload_files_last_lto): New.
288 (free_2): Adjust accordingly.
289 (all_symbols_read_handler): Don't add offload files to lto_arg_ptr.
290 Don't call free_1 for offload_files. Write names of object files with
291 offloading to the temporary file. Add new option to lto_arg_ptr.
292 (claim_file_handler): Don't claim file if it contains offload sections
293 without LTO sections. If it contains offload sections, add to the list.
295 2016-01-15 Martin Liska <mliska@suse.cz>
297 * lto-plugin.c (all_symbols_read_handler): Assign default
298 value to a string variable.
300 2015-11-25 Jan Hubicka <jh@suse.cz>
303 * lto-plugin.c (linker_output, linker_output_set): New statics.
304 (all_symbols_read_handler): Add -flinker-output option.
305 (onload): Record linker_output info.
307 2015-07-02 Uros Bizjak <ubizjak@gmail.com>
309 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
310 * configure: Regenerate.
311 * config.h.in: Ditto.
313 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
315 * Makefile.am: Drop 'by automake version' from top-level comment.
316 * Makefile.in: Regenerated with automake-1.11.6.
317 * aclocal.m4: Likewise.
318 * configure: Likewise.
320 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
322 * lto-plugin.c (release_input_file): Removed.
323 (claim_file_handler): Don't call release_input_file.
324 (onload): Don't set release_input_file.
326 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
328 * lto-plugin.c (claim_file_handler): Pass handle to
331 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
333 * lto-plugin.c (claim_file_handler): Call release_input_file only
336 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
338 * lto-plugin.c (claim_file_handler): Call release_input_file only
341 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
344 * lto-plugin.c (release_input_file): New.
345 (claim_file_handler): Call release_input_file.
346 (onload): Set release_input_file.
348 2014-12-09 Ilya Verbin <ilya.verbin@intel.com>
350 * lto-plugin.c (offload_files, num_offload_files): New static variables.
351 (free_1): Use arguments instead of global variables.
352 (free_2): Free offload_files.
353 (all_symbols_read_handler): Add names from offload_files to lto-wrapper
355 (claim_file_handler): Do not add file to claimed_files if it contains
356 offload sections without LTO sections. Add it to offload_files instead.
358 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
361 * configure: Regenerated.
363 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
364 Bernd Schmidt <bernds@codesourcery.com>
365 Andrey Turetskiy <andrey.turetskiy@intel.com>
366 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
368 * lto-plugin.c (OFFLOAD_SECTION, OFFLOAD_SECTION_LEN): Define.
369 (struct plugin_objfile): Add new field "offload".
370 (process_offload_section): New static function.
371 (claim_file_handler): Claim file if it contains offload sections.
373 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
374 Thomas Schwinge <thomas@codesourcery.com>
375 Ilya Verbin <ilya.verbin@intel.com>
376 Andrey Turetskiy <andrey.turetskiy@intel.com>
378 * Makefile.am (libexecsubdir): Tweak for the possibility of being
379 configured for offload compiler.
380 (accel_dir_suffix, real_target_noncanonical): New variables substituted
382 * Makefile.in: Regenerate.
383 * configure: Regenerate.
384 * configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
387 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
390 * configure: Regenerate.
392 2014-08-26 H.J. Lu <hongjiu.lu@intel.com>
395 * Makefile.am (gcc_build_dir): Set to @gcc_build_dir@.
396 * configure.ac (gcc_build_dir): Set and AC_SUBST according to
398 * Makefile.in: Regenerated.
399 * configure: Likewise.
401 2014-06-13 Thomas Schwinge <thomas@codesourcery.com>
403 * configure.ac (--with-libiberty): New configure option.
404 * configure: Regenerate.
405 * Makefile.am (libiberty, libiberty_noasan, libiberty_pic): New
407 (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS)
408 (liblto_plugin_la_DEPENDENCIES): Use them.
409 * Makefile.in: Regenerate.
411 2014-05-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
414 * configure.ac: Check for -static-libgcc.
415 * configure: Regenerate.
417 2014-04-17 Jakub Jelinek <jakub@redhat.com>
420 * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address.
421 (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS,
422 liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a
423 over ../libiberty/pic/libiberty.a if the former exists.
424 * Makefile.in: Regenerated.
427 * Makefile.am (LTLDFLAGS, liblto_plugin_la_LINK): New variables.
428 * Makefile.in: Regenerated.
430 2014-04-02 Richard Biener <rguenther@suse.de>
432 * lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin
433 is set in COLLECT_GCC_OPTIONS.
435 2014-03-28 Richard Biener <rguenther@suse.de>
437 * lto-plugin.c (process_symtab): Handle EINTR and short reads.
439 2014-03-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
441 * configure.ac (ac_lto_plugin_ldflags): Set to -Wc,-static-libgcc
443 * configure: Regenerate.
444 * Makefile.am (AM_LDFLAGS): New variable.
445 (liblto_plugin_la_LDFLAGS): Add it.
446 * Makefile.in: Regenerate.
448 2013-09-20 Alan Modra <amodra@gmail.com>
450 * configure: Regenerate.
452 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
454 * configure: Regenerated.
456 2012-05-29 Joseph Myers <joseph@codesourcery.com>
458 * lto-plugin.c: Fix typo.
460 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
462 * configure: Regenerated.
464 2012-02-22 Kai Tietz <ktietz@redhat.com>
467 * lto-plugin.c (PRI_LL): New macro.
468 (dump_symtab): Use PRI_LL instead of ll in print.
469 (process_symtab): Use PRI_LL instead of ll in scan.
471 2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
473 * configure: Regenerate.
475 2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
477 * configure: Regenerate.
479 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
481 * configure: Regenerate.
483 2011-10-02 Jan Hubicka <jh@suse.cz>
486 * lto-plugin.c (get_symbols_v2): New variable.
487 (write_resolution): Use V2 API when available.
488 (onload): Handle LDPT_GET_SYMBOLS_V2.
490 2011-09-30 H.J. Lu <hongjiu.lu@intel.com>
491 Andi Kleen <ak@linux.intel.com>
494 * lto-plugin.c (sym_aux): Change id to unsigned long long.
495 (plugin_symtab): Likewise.
496 (dump_symtab): Likewise.
497 (resolve_conflicts): Likewise.
498 (process_symtab): Likewise.
500 2011-08-10 Richard Guenther <rguenther@suse.de>
504 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
505 * Makefile.am (AM_CFLAGS): Adjust. Do not build with -Werror.
506 * configure: Regenerate.
507 * Makefile.in: Likewise.
508 * aclocal.m4: Likewise.
510 2011-04-20 Jim Meyering <meyering@redhat.com>
512 * lto-plugin.c (free_1, free_2): Remove useless if-before-free.
514 2011-04-05 Richard Guenther <rguenther@suse.de>
517 * lto-plugin.c (claim_file_handler): Do not declare vars in code.
519 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
521 * Makefile.in: Regenerate.
522 * aclocal.m4: Regenerate.
523 * configure: Regenerate.
525 2011-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
527 * Makefile.am (all-local): Rename from 'all'.
528 * Makefile.in: Regenerate.
530 2011-02-12 Alexandre Oliva <aoliva@redhat.com>
533 * Makefile.am (gcc_build_dir, in_gcc_libs): New.
534 (liblto_plugin_la_LDFLAGS): Add -module.
535 (copy_lto_plugin): Renamed to...
536 ($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying
538 * Makefile.in: Rebuild.
540 2011-02-07 Kai Tietz <kai.tietz@onevision.com>
543 * Makefile.am (Wc): New helper for encoding -Wc,.
544 (liblto_plugin_la_LIBADD): Use Wc for libiberty library.
545 (liblto_plugin_la_DEPENDENCIES): Special case pic libiberty.
546 * Makefile.in: Regenerated.
548 2011-02-07 Paolo Bonzini <bonzini@gnu.org>
552 2011-02-07 Kai Tietz <kai.tietz@onevision.com>
555 * Makefile.am (Wl): New helper for encoding -Wl,.
556 (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
557 * Makefile.in: Regenerated.
559 2011-02-07 Kai Tietz <kai.tietz@onevision.com>
562 * Makefile.am (Wl): New helper for encoding -Wl,.
563 (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
564 * Makefile.in: Regenerated.
566 2011-01-25 Ian Lance Taylor <iant@google.com>
568 * lto-plugin.c (gold_version): New static variable.
569 (all_symbols_read_handler): Don't check pass_through_items if
570 using gold 1.11 or later.
571 (onload): Set gold_version if we see LDPT_GOLD_VERSION.
573 2011-01-12 Richard Guenther <rguenther@suse.de>
576 * lto-plugin.c (parse_table_entry): Use memcpy to access
579 2010-12-20 Dave Korn <dave.korn.cygwin@gmail.com>
581 * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
582 * Makefile.in: Regenerate.
584 2010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
588 2010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
590 * Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.
591 (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty.
592 (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty.
593 * Makefile.in: Regenerate.
595 2010-12-10 Dave Korn <dave.korn.cygwin@gmail.com>
599 * configure.ac (SYM_STYLE): Don't AC_DEFINE.
600 * lto-plugin.c (sym_style): Don't use it; default to ss_none.
601 * configure: Regenerate.
602 * config.h.in: Likewise.
604 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
608 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
609 * Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but
610 override -bindir setting.
611 * aclocal.m4: Regenerate.
612 * configure: Regenerate.
613 * Makefile.in: Regenerate.
615 2010-12-05 Kai Tietz <kai.tietz@onevision.com>
617 * config.h.in: Regenerated.
618 * configure: Regenerated.
619 * configure.ac (AC_CHECK_HEADERS): Replaced by AC_HEADER_SYS_WAIT.
620 * lto-plugin.c (WIFEXITED): Define default.
621 (WEXITSTATUS): Likeiwse.
623 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
625 * config.h.in: Regenerated.
626 * configure: Regenerated.
627 * Makefile.in: Regenerated.
628 * configure.ac (AC_CHECK_HEADERS): Check for sys/wait.h.
629 * lto-plugin.c: Include sys/wait.h conditionally.
630 * aclocal.m4: Regenerated.
632 2010-11-13 Kai Tietz <kai.tietz@onevision.com>
634 * lto-plugin.c (add_output_files): Fix memory leak.
636 2010-11-11 Dave Korn <dave.korn.cygwin@gmail.com>
640 * configure.ac: Add AC_TYPE_INT64_T test.
641 * config.h.in: Regenerate.
642 * configure: Likewise.
643 * lto-plugin.c (debug): Use char not bool.
645 (check_1): Rename from check, and use int not bool for gate argument.
646 (check): Macro wrapper for the above to coerce gate argument into
647 boolean-valued integer in case it has pointer type.
648 (parse_table_entry): Use 0 not false.
649 (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size
650 into two 32-bit parts and printing as hex ints.
652 2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
655 * lto-plugin.c (claim_file_handler): Don't close file descriptor.
657 2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
660 * lto-plugin.h: Delete.
661 * lto-plugin-elf.c: Likewise.
662 * lto-plugin-coff.c: Likewise.
663 * configure.ac: Don't use libelf, don't source config.gcc.
664 (LIBELFLIBS): Delete.
666 (LTO_FORMAT): Delete.
667 (SYM_STYLE): Add AC_DEFINE var, set based on $target.
668 (config.h): Add AC_CONFIG_HEADERS directive.
669 * Makefile.am (LIBELFLIBS): Delete.
671 (LTO_FORMAT): Delete.
673 (AM_CPPFLAGS): Use it. Don't use LIBELFINC.
674 (liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include
675 any object-format-specific source file in the link.
676 (liblto_plugin_la_LIBADD): Don't use LIBELFLIBS.
677 * config.h.in: Generate.
678 * configure: Regenerate.
679 * Makefile.in: Likewise.
680 * lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h.
681 (LTO_SEGMENT_NAME): New definition.
682 (LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h.
683 (LTO_SECTION_PREFIX_LEN): New definition.
684 (struct sym_aux): Struct definition moved here from lto-plugin.h.
685 (struct plugin_symtab): Likewise.
686 (struct plugin_objfile): Likewise.
687 (struct plugin_objfile): New struct def.
688 (enum symbol_style): New enum type.
689 (add_symbols): Make static.
690 (claimed_files): Likewise.
691 (num_claimed_files): Likewise.
692 (sym_style): New global.
693 (check): Make static.
694 (parse_table_entry): Likewise. Respect sym_style when extracting
695 symbol from symtab entry.
696 (translate): Make static.
697 (resolve_conflicts): Likewise.
698 (process_symtab): New function, per-section callback version of
699 old object-format-specific handling from deleted lto-plugin-elf.c.
700 (claim_file_handler): Convert ELF-specific version from deleted
701 lto-plugin-elf.c to simple_object interface and move here.
702 (process_options): Allow new '-sym-style=' option.
703 (onload): Don't call deleted onload_format_checks hook.
705 2010-10-11 Kai Tietz <kai.tietz@onevision.com>
707 * lto-plugin.c (dump_symtab): Correct printf argument type.
708 (finish_conflict_resolution): Initialize resolution.
710 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
713 * configure.ac: Add AC_CANONICAL_SYSTEM.
714 * configure: Regenerated.
716 2010-10-07 Dave Korn <dave.korn.cygwin@gmail.com>
718 * configure.ac: Source config.gcc to determine lto_binary_reader.
719 (LTO_FORMAT): New AC_SUBST variable inferred from lto_binary_reader.
720 * Makefile.am (LTO_FORMAT): Import.
721 (liblto_plugin_la_SOURCES): Add object format dependent module
722 defined by LTO_FORMAT.
723 (liblto_plugin_la_LIBADD): Allow for both PIC and non-PIC libiberty,
724 and work around libtool warning.
725 * configure: Regenerate.
726 * Makefile.in: Likewise.
727 * lto-plugin.c (struct sym_aux): Move to new lto-plugin.h.
728 (struct sym_aux): Likewise.
729 (struct plugin_symtab): Likewise.
730 (struct plugin_file_info): Likewise.
731 (LTO_SECTION_PREFIX): Likewise.
732 (add_symbols): Make non-static.
733 (claimed_files): Likewise.
734 (num_claimed_files): Likewise.
736 (parse_table_entry): Likewise.
737 (translate): Likewise.
738 (resolve_conflicts): Likewise.
739 (process_symtab): Move to new lto-plugin-elf.c object format dependent
741 (claim_file_handler): Likewise, and make non-static.
742 (onload): Call new onload_format_checks function.
743 * lto-plugin.h: New file.
744 (LTO_SECTION_PREFIX): Move here.
745 (struct sym_aux): Likewise.
746 (struct plugin_symtab): Likewise.
747 (struct plugin_file_info): Likewise.
748 (claim_file_handler): Add new function prototype.
749 (onload_format_checks): Likewise.
750 (check): Declare extern.
751 (translate): Likewise.
752 (parse_table_entry): Likewise.
753 (resolve_conflicts): Likewise.
754 (add_symbols): Likewise.
755 (claimed_files): Likewise.
756 (num_claimed_files): Likewise.
757 * lto-plugin-elf.c (process_symtab): Move here.
758 (claim_file_handler): Likewise, and make non-static.
759 (onload_format_checks): New function factored out from onload.
760 * lto-plugin-coff.c (claim_file_handler): New function stub.
761 (onload_format_checks): Likewise.
763 2010-08-05 Andi Kleen <ak@linux.intel.com>
765 * lto-plugin.c: Include <hashtab.h>
766 (sym_aux): Add next_conflict field to save conflict chains.
767 (plugin_file_info): Add conflicts symtab.
768 (parse_table_entry): Initialize aux->next_conflict.
769 (process_symtab): Increment found.
771 (finish_conflict_resolution): Add.
773 (write_resolution): Remove symbols loop and move into
774 dump_symtab. Call dump_symtab for main symbol and conflicts table.
775 Call free_symtab to free conflicts table.
779 (symbol_strength): Add.
780 (resolve_conflicts): Add.
781 (claim_file_handler): Add n variable. Check return value of
782 process_symtab. Call resolve_conflicts.
784 2010-07-27 Andi Kleen <ak@linux.intel.com>
786 * lto-plugin.c (translate): Remove debug fprintf.
788 2010-07-23 H.J. Lu <hongjiu.lu@intel.com>
791 * lto-plugin.c (translate): Cast to unsigned long.
793 2010-07-23 Andi Kleen <ak@linux.intel.com>
796 * lto-plugin.c (sym_aux): Add.
797 (plugin_symtab): Remove slots. Add aux and id.
798 (parse_table_entry): Change to use aux instead of slots.
799 (LTO_SECTION_PREFIX): Add.
800 (translate): Improve buffer allocation. Change to append
801 symbols to existing out buffer.
802 (get_section): Remove.
803 (process_symtab): Add.
804 (free_2): Free symtab->aux.
805 (write_resolution): Handle aux instead of slots.
806 Print sub id to resolution file.
807 (claim_file_handler): Clear lto_file. Replace get_symtab/translate
808 calls with call to process_symtab.
810 2010-07-22 Richard Guenther <rguenther@suse.de>
812 * Makefile.am: New copy_lto_plugin rule to install the plugin
814 * Makefile.in: Regenerated.
816 2010-05-21 Richard Guenther <rguenther@suse.de>
818 * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
820 2010-05-07 Richard Guenther <rguenther@suse.de>
822 * lto-plugin.c (free_2): Do not free resolution_file.
823 (write_resolution): Check that we were passed a resolution file.
824 (all_symbols_read_handler): Adjust.
825 (cleanup_handler): Do not remove the resolution file.
826 (process_option): Handle -fresolution=.
828 2010-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
831 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
832 * Makefile.in: Regenerate.
834 2010-04-23 Richard Guenther <rguenther@suse.de>
837 * lto-plugin.c (parse_table_entry): Use xstrdup and xrealloc.
838 (translate): Likewise.
839 (all_symbols_read_handler): Likewise.
840 (claim_file_handler): Likewise.
841 (process_option): Likewise.
842 (add_output_files): Likewise. Remove filename length limit.
844 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
846 * Makefile.in: Regenerate.
847 * aclocal.m4: Regenerate.
849 2010-03-16 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
852 * lto-plugin.c (cleanup_handler): Delete temporary output files.
854 2010-01-11 Richard Guenther <rguenther@suse.de>
857 * Makefile.am: Disable dependencies.
858 * Makefile.in: Regenerated.
860 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
863 * lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
866 2009-12-05 H.J. Lu <hongjiu.lu@intel.com>
869 * configure: Regenerated.
870 * Makefile.in: Likewise.
872 2009-11-19 Rafael Avila de Espindola <espindola@google.com>
875 * lto-plugin.c (claim_file_handler): Print offsets in hex.
877 2009-11-12 Rafael Avila de Espindola <espindola@google.com>
879 * lto-plugin.c (write_resolution): Assume resolution_file is set.
880 Print the symbol name.
881 (all_symbols_read_handler): Create a resolution file.
883 (cleanup_handler): Remove the resolution file.
884 (process_option): Drop the -resolution option.
886 2009-11-05 Rafael Avila de Espindola <espindola@google.com>
888 * lto-plugin.c (temp_obj_dir_name): Remove.
889 (arguments_file_name): New.
890 (free_2): Free arguments_file_name instead of temp_obj_dir_name.
891 (exec_lto_wrapper): Create arguments file with make_temp_file.
892 (cleanup_handler): Don't remove the temporary directory. Remove the
894 (onload): Don't create the temporary directory.
896 2009-11-04 Richard Guenther <rguenther@suse.de>
897 Rafael Avila de Espindola <espindola@google.com>
899 * lto-plugin.c (plugin_file_info): Remove temp field.
900 (cleanup_handler): Don't delete temporary objects.
901 (claim_file_handler): Don't create temporary objects.
903 2009-11-04 Rafael Avila de Espindola <espindola@google.com>
905 * lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
907 2009-10-30 Rafael Avila de Espindola <espindola@google.com>
910 * lto-plugin.c (claim_file_handler): Close files that we created.
912 2009-10-28 Rafael Avila de Espindola <espindola@google.com>
914 * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
917 2009-10-27 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
920 * configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT.
921 * configure: Regenerate.
923 2009-10-26 Richard Guenther <rguenther@suse.de>
925 * configure.ac: Use AM_MAINTAINER_MODE.
926 * acinclude.m4: Remove.
927 * configure: Re-generate.
928 * Makefile.in: Likewise.
929 * aclocal.m4: Likewise.
931 2009-10-19 Rafael Avila de Espindola <espindola@google.com>
934 * configure: Regenerate.
935 * configure.ac: Add AC_TYPE_UINT64_T.
937 2009-10-16 Rafael Avila de Espindola <espindola@google.com>
939 * lto-plugin.c (message): New variable.
940 (check): New function.
941 (parse_table_entry, translate, write_resolution,add_output_files,
942 exec_lto_wrapper,claim_file_handler, onload): Use check instead of
944 (cleanup_handler): Use check instead of assert. Remove the arguments
947 2009-10-15 Rafael Avila de Espindola <espindola@google.com>
949 * lto-plugin.c (resolution_file): New.
950 (free_1): Update comment.
951 (free_2): Free resolution_file.
952 (write_resolution): Write resolution to specified file. Use the
953 syms array from the symbol table.
954 (all_symbols_read_handler): Delay call to free_1 past call to
956 (process_option): Add a -resolution option.
958 2009-10-13 Richard Guenther <rguenther@suse.de>
960 * Makefile.am (liblto_plugin_la_LIBADD): Link against the
962 * Makefile.in: Regenerated.
964 2009-10-08 Rafael Avila de Espindola <espindola@google.com>
966 * lto-plugin.c (add_input_library): New.
967 (all_symbols_read_handler): Use add_input_library for items that
969 (process_option): Fit in 80 columns.
970 (onload): Handle LDPT_ADD_INPUT_LIBRARY.
972 2009-10-02 Diego Novillo <dnovillo@google.com>
974 * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
975 and -D_FILE_OFFSET_BITS=64.
976 * configure.ac: Add AC_SYS_LARGEFILE.
977 * configure: Regenerate.
978 * Makefile.in: Regenerate.
979 * lto-plugin.c: Fix copyright boilerplate.
981 2009-10-02 Diego Novillo <dnovillo@google.com>
983 * Makefile.am (ACLOCAL_AMFLAGS): Define.
984 * aclocal.m4: Regenerate with aclocal-2.64
985 * acinclude.m4: Remove.
986 * Makefile.in: Regenerate with automake-1.11
987 * configure.ac (AC_PREREQ): Update to 2.64.
988 * configure: Regenerate.
990 2009-10-02 Diego Novillo <dnovillo@google.com>
992 * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
993 and -D_FILE_OFFSET_BITS=64.
994 * configure.ac: Add AC_SYS_LARGEFILE.
995 * configure: Regenerate.
996 * Makefile.in: Regenerate.
997 * lto-plugin.c: Fix copyright boilerplate.
999 2009-10-02 Diego Novillo <dnovillo@google.com>
1001 * Makefile.am (ACLOCAL_AMFLAGS): Define.
1002 * aclocal.m4: Regenerate with aclocal-2.64
1003 * acinclude.m4: Remove.
1004 * Makefile.in: Regenerate with automake-1.11
1005 * configure.ac (AC_PREREQ): Update to 2.64.
1006 * configure: Regenerate.
1008 2009-10-02 Rafael Avila de Espindola <espindola@google.com>
1010 * Makefile.am (liblto_plugin_la_SOURCES): Remove
1011 $(top_srcdir)/../gcc/lto/common.c
1012 * Makefile.in: Regenerate.
1014 2009-10-01 Rafael Avila de Espindola <espindola@google.com>
1016 * lto-plugin.c (pass_through_items): New.
1017 (num_pass_through_items): New.
1018 (all_symbols_read_handler): Update to use the -pass-through option.
1019 (process_option): Replace -libgcc with -pass-through.
1021 2009-09-30 Rafael Avila de Espindola <espindola@google.com>
1023 * lto-plugin.c (onload): Return a ld_plugin_status. Don't require
1024 register_cleanup to be set.
1026 2009-09-30 Rafael Avila de Espindola <espindola@google.com>
1028 * Makefile.am: Remove all reference to ltosymtab.
1029 * Makefile.in: Regenerate.
1030 * lto-symtab.c: Remove.
1032 2009-05-21 Diego Novillo <dnovillo@google.com>
1034 * configure.ac: Remove call to AC_CHECK_GELF.
1035 Call AC_ARG_VAR for LIBELFLIBS and LIBELFINC.
1036 * acinclude.m4: Do not include ../config/libelf.m4
1037 * Makefile.am (LIBELFLIBS): Define.
1038 (LIBELFINC): Define.
1039 (AM_CPPFLAGS): Add $(LIBELFINC).
1040 (ltosymtab_LDADD): Add $(LIBELFLIBS).
1041 (liblto_plugin_la_LIBADD): Add $(LIBELFLIBS)
1042 * lto-plugin.c: Always include <gelf.h>
1043 * lto-symtab.c: Likewise.
1044 * configure: Regenerate.
1045 * Makefile.in: Regenerate.
1047 2009-03-23 Rafael Avila de Espindola <espindola@google.com>
1049 * lto-plugin.c (libgcc_filename): New.
1050 (all_symbols_read_handler): Pass libgcc to the linker.
1051 (all_symbols_read_handler): Parse -libgcc
1053 2009-02-05 Rafael Avila de Espindola <espindola@google.com>
1055 * Makefile.am (liblto_plugin_la_LIBADD): Link with libiberty.
1056 * Makefile.in: Regenerate.
1057 * lto-plugin.c (add_output_files): Argument is now a FILE.
1058 (exec_lto_wrapper): Use writeargv and pex.
1060 2009-02-04 Rafael Avila de Espindola <espindola@google.com>
1063 2009-02-04 Rafael Avila de Espindola <espindola@google.com>
1064 * lto-plugin.c (exec_lto_wrapper): Use writeargv.
1067 2009-02-04 Rafael Avila de Espindola <espindola@google.com>
1069 * lto-plugin.c (exec_lto_wrapper): Use writeargv.
1071 2009-01-29 Rafael Avila de Espindola <espindola@google.com>
1073 * lto-plugin.c: Include libiberty.h.
1074 (exec_lto_wrapper, claim_file_handler): Use asprintf instead of
1077 2009-01-29 Rafael Avila de Espindola <espindola@google.com>
1079 * lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that
1080 file to lto-wrapper.
1082 2009-01-28 Rafael Avila de Espindola <espindola@google.com>
1084 * lto-plugin.c (plugin_file_info): Remove fd and elf.
1085 (parse_table_entry): strdup entry->name and entry->comdat_key.
1086 (free_1): Free name and comdat_key. Don't close the file. Don't call
1088 (claim_file_handler): Always call elf_end.
1090 2008-12-23 Rafael Avila de Espindola <espindola@google.com>
1092 * Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE
1093 -D_FILE_OFFSET_BITS=64
1094 * Makefile.in: Regenerate
1096 2008-12-22 Rafael Avila de Espindola <espindola@google.com>
1098 * Makefile.am (gcc_version, target_noncanonical, libexecsubdir): New.
1099 (lib_LTLIBRARIES): Rename to libexecsub_LTLIBRARIES.
1100 * Makefile.in: Regenerate.
1101 * acinclude.m4: Include ../config/acx.m4 and ../lt~obsolete.m4
1102 * configure: Regenerate.
1103 * configure.ac: Add AC_SUBST(target_noncanonical).
1105 2008-12-08 Rafael Avila de Espindola <espindola@google.com>
1107 * lto-plugin.c: Include stdbool.h.
1108 (debug, nop): Declare as bool.
1110 2008-12-08 Rafael Avila de Espindola <espindola@google.com>
1112 * lto-plugin.c (nop): New.
1113 (use_original_files): New.
1114 (all_symbols_read_handler): Call use_original_files if nop is true.
1115 (process_option): Parse the -nop option.
1117 2008-12-08 Rafael Avila de Espindola <espindola@google.com>
1119 * lto-plugin.c (debug): New.
1120 (exec_lto_wrapper): Print argv if debug is true.
1121 (process_option): Process the -debug command line option.
1123 2008-12-03 Rafael Avila de Espindola <espindola@google.com>
1125 * lto-plugin.c (process_option): The argument is now a single option,
1126 not a space separated list.
1128 2008-12-02 Rafael Avila de Espindola <espindola@google.com>
1130 * lto-plugin.c: Include sys/types.h and sys/wait.h
1131 (output_files, num_output_files, lto_wrapper_argv,
1132 lto_wrapper_num_args): New.
1133 (free_2): Free output_files.
1134 (write_resolution): Disable.
1135 (add_output_files): New.
1136 (exec_lto_wrapper): New.
1137 (all_symbols_read_handler): Run lto-wrapper.
1138 (claim_file_handler): Free lto_file.name and call elf_end.
1139 (process_option): New.
1141 2008-11-26 Rafael Espindola <espindola@google.com>
1143 * lto-plugin.c (add_input_file): New.
1144 (get_section): Return NULL if get_section fails.
1145 (write_resolution): New.
1146 (all_symbols_read_handler): Call add_input_file.
1147 (claim_file_handler): Unlink the correct file.
1148 (onload): Record add_input_file.
1150 2008-09-23 Rafael Espindola <espindola@google.com>
1152 * Makefile.am (ltosymtab_SOURCES, liblto_plugin_la_SOURCES):
1153 Update the location of common.c.
1154 * Makefile.in: Regenerate.
1155 * common.c: Moved to gcc/lto.
1156 * common.h: Moved to gcc/lto.
1157 * lto-plugin.c: Update the location of common.h.
1158 * lto-symtab.c: Update the location of common.h.
1160 2008-09-23 Rafael Espindola <espindola@google.com>
1162 * common.c: Include common.h.
1163 (lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit
1165 * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use
1168 2008-09-23 Rafael Espindola <espindola@google.com>
1170 * lto-plugin.c (plugin_file_info): Add temp.
1171 (cleanup_handler): Only delete temporary files.
1172 (claim_file_handler): Initialize lto_file.temp.
1174 2008-09-23 Rafael Espindola <espindola@google.com>
1176 * plugin-api.h: Moved to include.
1178 2008-09-23 Rafael Espindola <espindola@google.com>
1180 * lto-plugin.c (all_symbols_read_handler): Print resolution in a new
1183 2008-09-22 Rafael Espindola <espindola@google.com>
1185 * plugin-api.h: Copy from binutils' cvs.
1187 2008-09-22 Rafael Espindola <espindola@google.com>
1189 * lto-symtab.c (get_symbols, add_symbols): Update signature.
1190 * plugin-api.h: Copy from binutils' cvs.
1192 2008-09-22 Rafael Espindola <espindola@google.com>
1194 * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str):
1197 2008-09-10 Rafael Espindola <espindola@google.com>
1199 * lto-plugin.c (onload): add missing break statements and asserts.
1200 * lto-symtab.c (claim_file_handler): Make it static.
1201 (all_symbols_read_handler): Make it static.
1202 (all_file_handles): Make it static.
1203 (num_file_handles): Make it static.
1204 (register_claim_file): Make it static.
1205 (register_object): Indent properly.
1207 2008-09-10 Rafael Avila de Espindola <espindola@google.com>
1209 * Makefile.am (ltosymtab_LDADD): Add -lelf.
1210 * Makefiel.in: Regenerate.
1211 * lto-plugin.c: Include ar.h.
1212 (claim_file_handler): Handle file->offset != 0.
1213 * lto-symtab.c: Include gelf.h.
1214 (all_file_handles): Change type.
1215 (register_object): New.
1216 (register_file): Add support for archives.
1217 (resolve): Update to new type of all_file_handles.
1218 (print): Update to new type of all_file_handles.
1219 (free_all): Update to new type of all_file_handles.
1220 (main): Update to new type of all_file_handles.
1222 2008-09-10 Rafael Avila de Espindola <espindola@google.com>
1224 * lto-plugin.c (get_string_table): Remove.
1225 (get_section): Use elf_strptr instead of get_string_table.
1227 2008-09-08 Doug Kwan <dougkwan@google.com>
1229 * lto-plugin.c (all_symbols_read_handler): Widen fprintf arguments
1230 to 64-bit to fix a 32-bit bootstrap failure due to format warnings.
1232 2008-09-08 Rafael Avila de Espindola <espindola@google.com>
1234 * Makefile.am (ltosymtab_SOURCES): add common.c.
1235 (ltosymtab_CFLAGS): New.
1236 (liblto_plugin_la_SOURCES): Add common.c.
1237 * Makefile.in: Regenerate.
1240 * lto-plugin.c: Include stdio.h, inttypes.h and common.h.
1241 (plugin_symtab): New.
1242 (plugin_file_info): New.
1243 (register_all_symbols_read): New.
1245 (claimed_files): New.
1246 (num_claimed_files): New.
1247 (translate): Don't drop the slot number.
1250 (all_symbols_read_handler): New.
1251 (claim_file_handler): Record every claimed file.
1252 (onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
1254 * lto-symtab.c: Include stdlib.h, string.h and common.h.
1255 (current_file_handle): Remove.
1256 (ld_plugin_all_symbols_read_handler): New.
1257 (plugin_handle): New.
1259 (all_file_handles): New.
1260 (num_file_handles): New.
1262 (register_all_symbols_read): New.
1263 (add_symbols): Don't print the symbols, just record them.
1264 (ld_plugin_tv): Add LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
1266 (load_plugin): Use plugin_handle.
1267 (register_file): Add the file handle to all_file_handles.
1270 (unload_plugin): New.
1272 (main): Call all_symbols_read_handler and free resources.
1274 2008-09-03 Rafael Avila de Espindola <espindola@google.com>
1276 * Makefile.am (AM_CFLAGS): New.
1277 (ltosymtab_LDADD): Remove -lelf. Add -ldl.
1278 (lib_LTLIBRARIES): New.
1279 (liblto_plugin_la_SOURCES): New.
1280 (liblto_plugin_la_LIBADD): New.
1281 * Makefile.in: Regenerate.
1282 * acinclude.m4: Don't include ../config/acx.m4 and
1283 ../config/no-executables.m4.
1284 Include ../ltsugar.m4, ../ltoptions.m4, ../ltversion.m4 and
1286 * aclocal.m4: Regenerate.
1287 * configure: Regenerate.
1288 * configure.ac: Use AM_PROG_LIBTOOL.
1289 * lto-plugin.c: New.
1290 * lto-symtab.c: Rewrite to use the plugin.
1291 * plugin-api.h: New.
1293 2008-08-25 Rafael Avila de Espindola <espindola@google.com>
1295 * configure: Regenerate.
1296 * configure.ac: Use AC_CHECK_GELF.
1297 * lto-symtab.c: Include gelf.h.
1298 (get_string_table): Use size independent API.
1299 (printTable): Use lld to print 64 bit integers.
1301 2008-08-22 Rafael Avila de Espindola <espindola@google.com>
1303 * lto-symtab.c (parse_table_entry): Assert entry->kind and
1304 entry->visibility are valid.
1306 2008-07-22 Rafael Avila de Espindola <espindola@google.com>
1307 * lto-symtab.c (table_entry): Add comdat.
1308 (parse_table_entry): Read comdat.
1310 2008-08-21 Rafael Espindola <espindola@google.com>
1314 * acinclude.m4: New.
1317 * configure.ac: New.
1318 * lto-symtab.c: New.