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