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