1 2022-05-04 Martin Liska <mliska@suse.cz>
3 * lto-plugin.c (struct plugin_objfile): Use bool for offset
5 (exec_lto_wrapper): Assign true/false to bool variables.
6 (process_offload_section): Likewise.
7 (claim_file_handler): Likewise.
10 2022-03-22 Jakub Jelinek <jakub@redhat.com>
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.
24 2022-03-11 Tobias Burnus <tobias@codesourcery.com>
26 * lto-plugin.c (all_symbols_read_handler): With -save-temps, use
27 link_output_name for -foffload-objects's file name, if available.
29 2022-03-01 Martin Liska <mliska@suse.cz>
31 * lto-plugin.c (process_offload_section): Use a linker as many
32 comments are connected to gold linker.
33 (process_option): Likewise.
35 2021-12-02 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
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
42 2021-09-13 Andrew Pinski <apinski@marvell.com>
45 * Makefile.am: Export only onload.
46 * Makefile.in: Regenerate.
48 2021-06-25 Richard Biener <rguenther@suse.de>
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.
55 2021-05-10 Martin Liska <mliska@suse.cz>
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.
73 2021-05-03 H.J. Lu <hjl.tools@gmail.com>
76 * configure: Regenerated.
78 2021-04-21 Martin Liska <mliska@suse.cz>
80 * lto-plugin.c (exec_lto_wrapper): Make a temp variable.
82 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
84 * configure: Re-generate.
86 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
88 * configure: Regenerate.
90 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
92 * Makefile.am: Avoid using sanitizer.
93 * Makefile.in: Regenerate.
95 2020-09-10 Jonathan Yong <10walls@gmail.com>
97 * Makefile.am: drop versioning from libtool completely.
98 * Makefile.in: regenerate.
100 2020-09-09 Nick Clifton <nickc@redhat.com>
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.
107 2020-07-30 H.J. Lu <hjl.tools@gmail.com>
110 * configure: Regenerated.
112 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
115 * configure: Regenerated.
117 2020-05-26 Alexandre Oliva <oliva@adacore.com>
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.
125 2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
128 * configure: Regenerated.
130 2020-05-05 Eric Botcazou <ebotcazou@adacore.com>
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.
142 2020-04-28 H.J. Lu <hongjiu.lu@intel.com>
145 * configure: Regenerated.
147 2020-04-25 H.J. Lu <hongjiu.lu@intel.com>
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.
157 2020-03-19 Martin Liska <mliska@suse.cz>
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
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.
177 2020-01-01 Jakub Jelinek <jakub@redhat.com>
179 Update copyright years.
181 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
183 * configure: Regenerate.
185 2019-05-15 Iain Sandoe <iain@sandoe.co.uk>
187 * lto-plugin.c (cleanup_handler): Remove unused var.
189 2019-05-15 Iain Sandoe <iain@sandoe.co.uk>
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
201 2019-02-26 Martin Liska <mliska@suse.cz>
203 * lto-symtab.c: Remove.
205 2019-01-01 Jakub Jelinek <jakub@redhat.com>
207 Update copyright years.
209 2018-10-31 Joseph Myers <joseph@codesourcery.com>
212 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
213 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
215 2018-05-30 Jan Hubicka <jh@suse.cz>
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
224 2018-04-18 David Malcolm <dmalcolm@redhat.com>
227 * configure: Regenerate.
229 2018-01-03 Jakub Jelinek <jakub@redhat.com>
231 Update copyright years.
233 2017-07-21 Georg-Johann Lay <avr@gjlay.de>
236 * lto-plugin.c (claim_file_handler): Use xasprintf instead of
238 [hi!=0]: Swap hi and lo arguments supplied to xasprintf.
240 2017-01-17 Jakub Jelinek <jakub@redhat.com>
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.
249 2017-01-04 Jakub Jelinek <jakub@redhat.com>
251 Update copyright years.
253 2016-11-15 Matthias Klose <doko@ubuntu.com>
255 * configure: Regenerate.
257 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
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.
271 2016-01-15 Martin Liska <mliska@suse.cz>
273 * lto-plugin.c (all_symbols_read_handler): Assign default
274 value to a string variable.
276 2015-11-25 Jan Hubicka <jh@suse.cz>
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.
283 2015-07-02 Uros Bizjak <ubizjak@gmail.com>
285 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
286 * configure: Regenerate.
287 * config.h.in: Ditto.
289 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
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.
296 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
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.
302 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
304 * lto-plugin.c (claim_file_handler): Pass handle to
307 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
309 * lto-plugin.c (claim_file_handler): Call release_input_file only
312 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
314 * lto-plugin.c (claim_file_handler): Call release_input_file only
317 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
320 * lto-plugin.c (release_input_file): New.
321 (claim_file_handler): Call release_input_file.
322 (onload): Set release_input_file.
324 2014-12-09 Ilya Verbin <ilya.verbin@intel.com>
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
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.
334 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
337 * configure: Regenerated.
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>
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.
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>
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
358 * Makefile.in: Regenerate.
359 * configure: Regenerate.
360 * configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
363 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
366 * configure: Regenerate.
368 2014-08-26 H.J. Lu <hongjiu.lu@intel.com>
371 * Makefile.am (gcc_build_dir): Set to @gcc_build_dir@.
372 * configure.ac (gcc_build_dir): Set and AC_SUBST according to
374 * Makefile.in: Regenerated.
375 * configure: Likewise.
377 2014-06-13 Thomas Schwinge <thomas@codesourcery.com>
379 * configure.ac (--with-libiberty): New configure option.
380 * configure: Regenerate.
381 * Makefile.am (libiberty, libiberty_noasan, libiberty_pic): New
383 (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS)
384 (liblto_plugin_la_DEPENDENCIES): Use them.
385 * Makefile.in: Regenerate.
387 2014-05-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
390 * configure.ac: Check for -static-libgcc.
391 * configure: Regenerate.
393 2014-04-17 Jakub Jelinek <jakub@redhat.com>
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.
403 * Makefile.am (LTLDFLAGS, liblto_plugin_la_LINK): New variables.
404 * Makefile.in: Regenerated.
406 2014-04-02 Richard Biener <rguenther@suse.de>
408 * lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin
409 is set in COLLECT_GCC_OPTIONS.
411 2014-03-28 Richard Biener <rguenther@suse.de>
413 * lto-plugin.c (process_symtab): Handle EINTR and short reads.
415 2014-03-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
417 * configure.ac (ac_lto_plugin_ldflags): Set to -Wc,-static-libgcc
419 * configure: Regenerate.
420 * Makefile.am (AM_LDFLAGS): New variable.
421 (liblto_plugin_la_LDFLAGS): Add it.
422 * Makefile.in: Regenerate.
424 2013-09-20 Alan Modra <amodra@gmail.com>
426 * configure: Regenerate.
428 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
430 * configure: Regenerated.
432 2012-05-29 Joseph Myers <joseph@codesourcery.com>
434 * lto-plugin.c: Fix typo.
436 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
438 * configure: Regenerated.
440 2012-02-22 Kai Tietz <ktietz@redhat.com>
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.
447 2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
449 * configure: Regenerate.
451 2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
453 * configure: Regenerate.
455 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
457 * configure: Regenerate.
459 2011-10-02 Jan Hubicka <jh@suse.cz>
462 * lto-plugin.c (get_symbols_v2): New variable.
463 (write_resolution): Use V2 API when available.
464 (onload): Handle LDPT_GET_SYMBOLS_V2.
466 2011-09-30 H.J. Lu <hongjiu.lu@intel.com>
467 Andi Kleen <ak@linux.intel.com>
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.
476 2011-08-10 Richard Guenther <rguenther@suse.de>
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.
486 2011-04-20 Jim Meyering <meyering@redhat.com>
488 * lto-plugin.c (free_1, free_2): Remove useless if-before-free.
490 2011-04-05 Richard Guenther <rguenther@suse.de>
493 * lto-plugin.c (claim_file_handler): Do not declare vars in code.
495 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
497 * Makefile.in: Regenerate.
498 * aclocal.m4: Regenerate.
499 * configure: Regenerate.
501 2011-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
503 * Makefile.am (all-local): Rename from 'all'.
504 * Makefile.in: Regenerate.
506 2011-02-12 Alexandre Oliva <aoliva@redhat.com>
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
514 * Makefile.in: Rebuild.
516 2011-02-07 Kai Tietz <kai.tietz@onevision.com>
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.
524 2011-02-07 Paolo Bonzini <bonzini@gnu.org>
528 2011-02-07 Kai Tietz <kai.tietz@onevision.com>
531 * Makefile.am (Wl): New helper for encoding -Wl,.
532 (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
533 * Makefile.in: Regenerated.
535 2011-02-07 Kai Tietz <kai.tietz@onevision.com>
538 * Makefile.am (Wl): New helper for encoding -Wl,.
539 (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
540 * Makefile.in: Regenerated.
542 2011-01-25 Ian Lance Taylor <iant@google.com>
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.
549 2011-01-12 Richard Guenther <rguenther@suse.de>
552 * lto-plugin.c (parse_table_entry): Use memcpy to access
555 2010-12-20 Dave Korn <dave.korn.cygwin@gmail.com>
557 * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
558 * Makefile.in: Regenerate.
560 2010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
564 2010-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
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.
571 2010-12-10 Dave Korn <dave.korn.cygwin@gmail.com>
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.
580 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
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.
591 2010-12-05 Kai Tietz <kai.tietz@onevision.com>
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.
599 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
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.
608 2010-11-13 Kai Tietz <kai.tietz@onevision.com>
610 * lto-plugin.c (add_output_files): Fix memory leak.
612 2010-11-11 Dave Korn <dave.korn.cygwin@gmail.com>
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.
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.
628 2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
631 * lto-plugin.c (claim_file_handler): Don't close file descriptor.
633 2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
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.
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.
647 (LTO_FORMAT): Delete.
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.
681 2010-10-11 Kai Tietz <kai.tietz@onevision.com>
683 * lto-plugin.c (dump_symtab): Correct printf argument type.
684 (finish_conflict_resolution): Initialize resolution.
686 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
689 * configure.ac: Add AC_CANONICAL_SYSTEM.
690 * configure: Regenerated.
692 2010-10-07 Dave Korn <dave.korn.cygwin@gmail.com>
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.
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
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.
739 2010-08-05 Andi Kleen <ak@linux.intel.com>
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.
747 (finish_conflict_resolution): 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.
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.
760 2010-07-27 Andi Kleen <ak@linux.intel.com>
762 * lto-plugin.c (translate): Remove debug fprintf.
764 2010-07-23 H.J. Lu <hongjiu.lu@intel.com>
767 * lto-plugin.c (translate): Cast to unsigned long.
769 2010-07-23 Andi Kleen <ak@linux.intel.com>
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.
786 2010-07-22 Richard Guenther <rguenther@suse.de>
788 * Makefile.am: New copy_lto_plugin rule to install the plugin
790 * Makefile.in: Regenerated.
792 2010-05-21 Richard Guenther <rguenther@suse.de>
794 * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
796 2010-05-07 Richard Guenther <rguenther@suse.de>
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=.
804 2010-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
807 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
808 * Makefile.in: Regenerate.
810 2010-04-23 Richard Guenther <rguenther@suse.de>
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.
820 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
822 * Makefile.in: Regenerate.
823 * aclocal.m4: Regenerate.
825 2010-03-16 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
828 * lto-plugin.c (cleanup_handler): Delete temporary output files.
830 2010-01-11 Richard Guenther <rguenther@suse.de>
833 * Makefile.am: Disable dependencies.
834 * Makefile.in: Regenerated.
836 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
839 * lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
842 2009-12-05 H.J. Lu <hongjiu.lu@intel.com>
845 * configure: Regenerated.
846 * Makefile.in: Likewise.
848 2009-11-19 Rafael Avila de Espindola <espindola@google.com>
851 * lto-plugin.c (claim_file_handler): Print offsets in hex.
853 2009-11-12 Rafael Avila de Espindola <espindola@google.com>
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.
859 (cleanup_handler): Remove the resolution file.
860 (process_option): Drop the -resolution option.
862 2009-11-05 Rafael Avila de Espindola <espindola@google.com>
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
870 (onload): Don't create the temporary directory.
872 2009-11-04 Richard Guenther <rguenther@suse.de>
873 Rafael Avila de Espindola <espindola@google.com>
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.
879 2009-11-04 Rafael Avila de Espindola <espindola@google.com>
881 * lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
883 2009-10-30 Rafael Avila de Espindola <espindola@google.com>
886 * lto-plugin.c (claim_file_handler): Close files that we created.
888 2009-10-28 Rafael Avila de Espindola <espindola@google.com>
890 * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
893 2009-10-27 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
896 * configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT.
897 * configure: Regenerate.
899 2009-10-26 Richard Guenther <rguenther@suse.de>
901 * configure.ac: Use AM_MAINTAINER_MODE.
902 * acinclude.m4: Remove.
903 * configure: Re-generate.
904 * Makefile.in: Likewise.
905 * aclocal.m4: Likewise.
907 2009-10-19 Rafael Avila de Espindola <espindola@google.com>
910 * configure: Regenerate.
911 * configure.ac: Add AC_TYPE_UINT64_T.
913 2009-10-16 Rafael Avila de Espindola <espindola@google.com>
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
920 (cleanup_handler): Use check instead of assert. Remove the arguments
923 2009-10-15 Rafael Avila de Espindola <espindola@google.com>
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
932 (process_option): Add a -resolution option.
934 2009-10-13 Richard Guenther <rguenther@suse.de>
936 * Makefile.am (liblto_plugin_la_LIBADD): Link against the
938 * Makefile.in: Regenerated.
940 2009-10-08 Rafael Avila de Espindola <espindola@google.com>
942 * lto-plugin.c (add_input_library): New.
943 (all_symbols_read_handler): Use add_input_library for items that
945 (process_option): Fit in 80 columns.
946 (onload): Handle LDPT_ADD_INPUT_LIBRARY.
948 2009-10-02 Diego Novillo <dnovillo@google.com>
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.
957 2009-10-02 Diego Novillo <dnovillo@google.com>
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.
966 2009-10-02 Diego Novillo <dnovillo@google.com>
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.
975 2009-10-02 Diego Novillo <dnovillo@google.com>
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.
984 2009-10-02 Rafael Avila de Espindola <espindola@google.com>
986 * Makefile.am (liblto_plugin_la_SOURCES): Remove
987 $(top_srcdir)/../gcc/lto/common.c
988 * Makefile.in: Regenerate.
990 2009-10-01 Rafael Avila de Espindola <espindola@google.com>
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.
997 2009-09-30 Rafael Avila de Espindola <espindola@google.com>
999 * lto-plugin.c (onload): Return a ld_plugin_status. Don't require
1000 register_cleanup to be set.
1002 2009-09-30 Rafael Avila de Espindola <espindola@google.com>
1004 * Makefile.am: Remove all reference to ltosymtab.
1005 * Makefile.in: Regenerate.
1006 * lto-symtab.c: Remove.
1008 2009-05-21 Diego Novillo <dnovillo@google.com>
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.
1023 2009-03-23 Rafael Avila de Espindola <espindola@google.com>
1025 * lto-plugin.c (libgcc_filename): New.
1026 (all_symbols_read_handler): Pass libgcc to the linker.
1027 (all_symbols_read_handler): Parse -libgcc
1029 2009-02-05 Rafael Avila de Espindola <espindola@google.com>
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.
1036 2009-02-04 Rafael Avila de Espindola <espindola@google.com>
1039 2009-02-04 Rafael Avila de Espindola <espindola@google.com>
1040 * lto-plugin.c (exec_lto_wrapper): Use writeargv.
1043 2009-02-04 Rafael Avila de Espindola <espindola@google.com>
1045 * lto-plugin.c (exec_lto_wrapper): Use writeargv.
1047 2009-01-29 Rafael Avila de Espindola <espindola@google.com>
1049 * lto-plugin.c: Include libiberty.h.
1050 (exec_lto_wrapper, claim_file_handler): Use asprintf instead of
1053 2009-01-29 Rafael Avila de Espindola <espindola@google.com>
1055 * lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that
1056 file to lto-wrapper.
1058 2009-01-28 Rafael Avila de Espindola <espindola@google.com>
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
1064 (claim_file_handler): Always call elf_end.
1066 2008-12-23 Rafael Avila de Espindola <espindola@google.com>
1068 * Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE
1069 -D_FILE_OFFSET_BITS=64
1070 * Makefile.in: Regenerate
1072 2008-12-22 Rafael Avila de Espindola <espindola@google.com>
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).
1081 2008-12-08 Rafael Avila de Espindola <espindola@google.com>
1083 * lto-plugin.c: Include stdbool.h.
1084 (debug, nop): Declare as bool.
1086 2008-12-08 Rafael Avila de Espindola <espindola@google.com>
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.
1093 2008-12-08 Rafael Avila de Espindola <espindola@google.com>
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.
1099 2008-12-03 Rafael Avila de Espindola <espindola@google.com>
1101 * lto-plugin.c (process_option): The argument is now a single option,
1102 not a space separated list.
1104 2008-12-02 Rafael Avila de Espindola <espindola@google.com>
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.
1117 2008-11-26 Rafael Espindola <espindola@google.com>
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.
1126 2008-09-23 Rafael Espindola <espindola@google.com>
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.
1136 2008-09-23 Rafael Espindola <espindola@google.com>
1138 * common.c: Include common.h.
1139 (lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit
1141 * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use
1144 2008-09-23 Rafael Espindola <espindola@google.com>
1146 * lto-plugin.c (plugin_file_info): Add temp.
1147 (cleanup_handler): Only delete temporary files.
1148 (claim_file_handler): Initialize lto_file.temp.
1150 2008-09-23 Rafael Espindola <espindola@google.com>
1152 * plugin-api.h: Moved to include.
1154 2008-09-23 Rafael Espindola <espindola@google.com>
1156 * lto-plugin.c (all_symbols_read_handler): Print resolution in a new
1159 2008-09-22 Rafael Espindola <espindola@google.com>
1161 * plugin-api.h: Copy from binutils' cvs.
1163 2008-09-22 Rafael Espindola <espindola@google.com>
1165 * lto-symtab.c (get_symbols, add_symbols): Update signature.
1166 * plugin-api.h: Copy from binutils' cvs.
1168 2008-09-22 Rafael Espindola <espindola@google.com>
1170 * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str):
1173 2008-09-10 Rafael Espindola <espindola@google.com>
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.
1183 2008-09-10 Rafael Avila de Espindola <espindola@google.com>
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.
1198 2008-09-10 Rafael Avila de Espindola <espindola@google.com>
1200 * lto-plugin.c (get_string_table): Remove.
1201 (get_section): Use elf_strptr instead of get_string_table.
1203 2008-09-08 Doug Kwan <dougkwan@google.com>
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.
1208 2008-09-08 Rafael Avila de Espindola <espindola@google.com>
1210 * Makefile.am (ltosymtab_SOURCES): add common.c.
1211 (ltosymtab_CFLAGS): New.
1212 (liblto_plugin_la_SOURCES): Add common.c.
1213 * Makefile.in: Regenerate.
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.
1221 (claimed_files): New.
1222 (num_claimed_files): New.
1223 (translate): Don't drop the slot number.
1226 (all_symbols_read_handler): New.
1227 (claim_file_handler): Record every claimed file.
1228 (onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
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.
1235 (all_file_handles): New.
1236 (num_file_handles): 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
1242 (load_plugin): Use plugin_handle.
1243 (register_file): Add the file handle to all_file_handles.
1246 (unload_plugin): New.
1248 (main): Call all_symbols_read_handler and free resources.
1250 2008-09-03 Rafael Avila de Espindola <espindola@google.com>
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
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.
1269 2008-08-25 Rafael Avila de Espindola <espindola@google.com>
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.
1277 2008-08-22 Rafael Avila de Espindola <espindola@google.com>
1279 * lto-symtab.c (parse_table_entry): Assert entry->kind and
1280 entry->visibility are valid.
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.
1286 2008-08-21 Rafael Espindola <espindola@google.com>
1290 * acinclude.m4: New.
1293 * configure.ac: New.
1294 * lto-symtab.c: New.