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