Home | History | Annotate | Line # | Download | only in lto-plugin
ChangeLog revision 1.1.1.1
      1  1.1  mrg 2011-04-28  Release Manager
      2  1.1  mrg 
      3  1.1  mrg 	* GCC 4.5.3 released.
      4  1.1  mrg 
      5  1.1  mrg 2010-12-16  Release Manager
      6  1.1  mrg 
      7  1.1  mrg 	* GCC 4.5.2 released.
      8  1.1  mrg 
      9  1.1  mrg 2010-07-31  Release Manager
     10  1.1  mrg 
     11  1.1  mrg 	* GCC 4.5.1 released.
     12  1.1  mrg 
     13  1.1  mrg 2010-06-02  Richard Guenther  <rguenther (a] suse.de>
     14  1.1  mrg 
     15  1.1  mrg 	PR lto/44385
     16  1.1  mrg 	Backport from mainline
     17  1.1  mrg 	2010-05-21  Richard Guenther  <rguenther (a] suse.de>
     18  1.1  mrg 
     19  1.1  mrg 	* lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
     20  1.1  mrg 
     21  1.1  mrg 2010-04-14  Release Manager
     22  1.1  mrg 
     23  1.1  mrg 	* GCC 4.5.0 released.
     24  1.1  mrg 
     25  1.1  mrg 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
     26  1.1  mrg 
     27  1.1  mrg 	* Makefile.in: Regenerate.
     28  1.1  mrg 	* aclocal.m4: Regenerate.
     29  1.1  mrg 
     30  1.1  mrg 2010-03-16  Dmitry Gorbachev  <d.g.gorbachev (a] gmail.com>
     31  1.1  mrg 
     32  1.1  mrg 	PR lto/43336
     33  1.1  mrg 	* lto-plugin.c (cleanup_handler): Delete temporary output files.
     34  1.1  mrg 
     35  1.1  mrg 2010-01-11  Richard Guenther  <rguenther (a] suse.de>
     36  1.1  mrg 
     37  1.1  mrg 	PR lto/41569
     38  1.1  mrg 	* Makefile.am: Disable dependencies.
     39  1.1  mrg 	* Makefile.in: Regenerated.
     40  1.1  mrg 
     41  1.1  mrg 2010-01-03  H.J. Lu  <hongjiu.lu (a] intel.com>
     42  1.1  mrg 
     43  1.1  mrg 	PR lto/42520
     44  1.1  mrg 	* lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
     45  1.1  mrg 	if -v is passed.
     46  1.1  mrg 
     47  1.1  mrg 2009-12-05  H.J. Lu  <hongjiu.lu (a] intel.com>
     48  1.1  mrg 
     49  1.1  mrg 	PR bootstrap/42306
     50  1.1  mrg 	* configure: Regenerated.
     51  1.1  mrg 	* Makefile.in: Likewise.
     52  1.1  mrg 
     53  1.1  mrg 2009-11-19  Rafael Avila de Espindola  <espindola (a] google.com>
     54  1.1  mrg 
     55  1.1  mrg 	PR bootstrap/42096
     56  1.1  mrg 	* lto-plugin.c (claim_file_handler): Print offsets in hex.
     57  1.1  mrg 
     58  1.1  mrg 2009-11-12  Rafael Avila de Espindola  <espindola (a] google.com>
     59  1.1  mrg 
     60  1.1  mrg 	* lto-plugin.c (write_resolution): Assume resolution_file is set.
     61  1.1  mrg 	Print the symbol name.
     62  1.1  mrg 	(all_symbols_read_handler): Create a resolution file.
     63  1.1  mrg 	Pass it to gcc.
     64  1.1  mrg 	(cleanup_handler): Remove the resolution file.
     65  1.1  mrg 	(process_option): Drop the -resolution option.
     66  1.1  mrg 
     67  1.1  mrg 2009-11-05  Rafael Avila de Espindola  <espindola (a] google.com>
     68  1.1  mrg 
     69  1.1  mrg 	* lto-plugin.c (temp_obj_dir_name): Remove.
     70  1.1  mrg 	(arguments_file_name): New.
     71  1.1  mrg 	(free_2): Free arguments_file_name instead of temp_obj_dir_name.
     72  1.1  mrg 	(exec_lto_wrapper):  Create arguments file with make_temp_file.
     73  1.1  mrg 	(cleanup_handler): Don't remove the temporary directory. Remove the
     74  1.1  mrg 	arguments file.
     75  1.1  mrg 	(onload): Don't create the temporary directory.
     76  1.1  mrg 
     77  1.1  mrg 2009-11-04  Richard Guenther  <rguenther (a] suse.de>
     78  1.1  mrg             Rafael Avila de Espindola  <espindola (a] google.com>
     79  1.1  mrg 
     80  1.1  mrg 	* lto-plugin.c (plugin_file_info): Remove temp field.
     81  1.1  mrg 	(cleanup_handler): Don't delete temporary objects.
     82  1.1  mrg 	(claim_file_handler): Don't create temporary objects.
     83  1.1  mrg 
     84  1.1  mrg 2009-11-04  Rafael Avila de Espindola  <espindola (a] google.com>
     85  1.1  mrg 
     86  1.1  mrg 	* lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
     87  1.1  mrg 
     88  1.1  mrg 2009-10-30  Rafael Avila de Espindola  <espindola (a] google.com>
     89  1.1  mrg 
     90  1.1  mrg 	PR41871
     91  1.1  mrg 	* lto-plugin.c (claim_file_handler): Close files that we created.
     92  1.1  mrg 
     93  1.1  mrg 2009-10-28  Rafael Avila de Espindola  <espindola (a] google.com>
     94  1.1  mrg 
     95  1.1  mrg 	* lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
     96  1.1  mrg 	LDPL_ERROR
     97  1.1  mrg 
     98  1.1  mrg 2009-10-27  Dmitry Gorbachev  <d.g.gorbachev (a] gmail.com>
     99  1.1  mrg 
    100  1.1  mrg 	PR lto/41652
    101  1.1  mrg 	* configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT.
    102  1.1  mrg 	* configure: Regenerate.
    103  1.1  mrg 
    104  1.1  mrg 2009-10-26  Richard Guenther  <rguenther (a] suse.de>
    105  1.1  mrg 
    106  1.1  mrg 	* configure.ac: Use AM_MAINTAINER_MODE.
    107  1.1  mrg 	* acinclude.m4: Remove.
    108  1.1  mrg 	* configure: Re-generate.
    109  1.1  mrg 	* Makefile.in: Likewise.
    110  1.1  mrg 	* aclocal.m4: Likewise.
    111  1.1  mrg 
    112  1.1  mrg 2009-10-19  Rafael Avila de Espindola  <espindola (a] google.com>
    113  1.1  mrg     
    114  1.1  mrg         PR40790
    115  1.1  mrg         * configure: Regenerate.
    116  1.1  mrg         * configure.ac: Add AC_TYPE_UINT64_T.
    117  1.1  mrg 
    118  1.1  mrg 2009-10-16  Rafael Avila de Espindola  <espindola (a] google.com>
    119  1.1  mrg 
    120  1.1  mrg 	* lto-plugin.c (message): New variable.
    121  1.1  mrg 	(check): New function.
    122  1.1  mrg 	(parse_table_entry, translate, write_resolution,add_output_files,
    123  1.1  mrg 	exec_lto_wrapper,claim_file_handler, onload): Use check instead of
    124  1.1  mrg 	assert.
    125  1.1  mrg 	(cleanup_handler): Use check instead of assert. Remove the arguments
    126  1.1  mrg 	file if it exists.
    127  1.1  mrg 
    128  1.1  mrg 2009-10-15  Rafael Avila de Espindola  <espindola (a] google.com>
    129  1.1  mrg 
    130  1.1  mrg 	* lto-plugin.c (resolution_file): New.
    131  1.1  mrg 	(free_1): Update comment.
    132  1.1  mrg 	(free_2): Free resolution_file.
    133  1.1  mrg 	(write_resolution): Write resolution to specified file. Use the
    134  1.1  mrg 	syms array from the symbol table.
    135  1.1  mrg 	(all_symbols_read_handler): Delay call to free_1 past call to
    136  1.1  mrg 	write_resolution.
    137  1.1  mrg 	(process_option): Add a -resolution option.
    138  1.1  mrg 
    139  1.1  mrg 2009-10-13  Richard Guenther  <rguenther (a] suse.de>
    140  1.1  mrg 
    141  1.1  mrg 	* Makefile.am (liblto_plugin_la_LIBADD): Link against the
    142  1.1  mrg 	correct libiberty.
    143  1.1  mrg 	* Makefile.in: Regenerated.
    144  1.1  mrg 
    145  1.1  mrg 2009-10-08  Rafael Avila de Espindola  <espindola (a] google.com>
    146  1.1  mrg 
    147  1.1  mrg 	* lto-plugin.c (add_input_library): New.
    148  1.1  mrg 	(all_symbols_read_handler): Use add_input_library for items that
    149  1.1  mrg 	start with -l.
    150  1.1  mrg 	(process_option): Fit in 80 columns.
    151  1.1  mrg 	(onload): Handle LDPT_ADD_INPUT_LIBRARY.
    152  1.1  mrg 
    153  1.1  mrg 2009-10-02  Diego Novillo  <dnovillo (a] google.com>
    154  1.1  mrg 
    155  1.1  mrg 	* Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
    156  1.1  mrg 	and -D_FILE_OFFSET_BITS=64.
    157  1.1  mrg 	* configure.ac: Add AC_SYS_LARGEFILE.
    158  1.1  mrg 	* configure: Regenerate.
    159  1.1  mrg 	* Makefile.in: Regenerate.
    160  1.1  mrg 	* lto-plugin.c: Fix copyright boilerplate.
    161  1.1  mrg 
    162  1.1  mrg 2009-10-02  Diego Novillo  <dnovillo (a] google.com>
    163  1.1  mrg 
    164  1.1  mrg 	* Makefile.am (ACLOCAL_AMFLAGS): Define.
    165  1.1  mrg 	* aclocal.m4: Regenerate with aclocal-2.64
    166  1.1  mrg 	* acinclude.m4: Remove.
    167  1.1  mrg 	* Makefile.in: Regenerate with automake-1.11
    168  1.1  mrg 	* configure.ac (AC_PREREQ): Update to 2.64.
    169  1.1  mrg 	* configure: Regenerate.
    170  1.1  mrg 
    171  1.1  mrg 2009-10-02  Diego Novillo  <dnovillo (a] google.com>
    172  1.1  mrg 
    173  1.1  mrg 	* Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
    174  1.1  mrg 	and -D_FILE_OFFSET_BITS=64.
    175  1.1  mrg 	* configure.ac: Add AC_SYS_LARGEFILE.
    176  1.1  mrg 	* configure: Regenerate.
    177  1.1  mrg 	* Makefile.in: Regenerate.
    178  1.1  mrg 	* lto-plugin.c: Fix copyright boilerplate.
    179  1.1  mrg 
    180  1.1  mrg 2009-10-02  Diego Novillo  <dnovillo (a] google.com>
    181  1.1  mrg 
    182  1.1  mrg 	* Makefile.am (ACLOCAL_AMFLAGS): Define.
    183  1.1  mrg 	* aclocal.m4: Regenerate with aclocal-2.64
    184  1.1  mrg 	* acinclude.m4: Remove.
    185  1.1  mrg 	* Makefile.in: Regenerate with automake-1.11
    186  1.1  mrg 	* configure.ac (AC_PREREQ): Update to 2.64.
    187  1.1  mrg 	* configure: Regenerate.
    188  1.1  mrg 
    189  1.1  mrg 2009-10-02  Rafael Avila de Espindola  <espindola (a] google.com>
    190  1.1  mrg 
    191  1.1  mrg 	* Makefile.am (liblto_plugin_la_SOURCES): Remove
    192  1.1  mrg 	$(top_srcdir)/../gcc/lto/common.c
    193  1.1  mrg 	* Makefile.in: Regenerate.
    194  1.1  mrg 
    195  1.1  mrg 2009-10-01  Rafael Avila de Espindola  <espindola (a] google.com>
    196  1.1  mrg 
    197  1.1  mrg 	* lto-plugin.c (pass_through_items): New.
    198  1.1  mrg 	(num_pass_through_items): New.
    199  1.1  mrg 	(all_symbols_read_handler): Update to use the -pass-through option.
    200  1.1  mrg 	(process_option): Replace -libgcc with -pass-through.
    201  1.1  mrg 	
    202  1.1  mrg 2009-09-30  Rafael Avila de Espindola  <espindola (a] google.com>
    203  1.1  mrg 
    204  1.1  mrg 	* lto-plugin.c (onload): Return a ld_plugin_status. Don't require
    205  1.1  mrg 	register_cleanup to be set.
    206  1.1  mrg 
    207  1.1  mrg 2009-09-30  Rafael Avila de Espindola  <espindola (a] google.com>
    208  1.1  mrg 
    209  1.1  mrg 	* Makefile.am: Remove all reference to ltosymtab.
    210  1.1  mrg 	* Makefile.in: Regenerate.
    211  1.1  mrg 	* lto-symtab.c: Remove.
    212  1.1  mrg 
    213  1.1  mrg 2009-05-21  Diego Novillo  <dnovillo (a] google.com>
    214  1.1  mrg 
    215  1.1  mrg 	* configure.ac: Remove call to AC_CHECK_GELF.
    216  1.1  mrg 	Call AC_ARG_VAR for LIBELFLIBS and LIBELFINC.
    217  1.1  mrg 	* acinclude.m4: Do not include ../config/libelf.m4
    218  1.1  mrg 	* Makefile.am (LIBELFLIBS): Define.
    219  1.1  mrg 	(LIBELFINC): Define.
    220  1.1  mrg 	(AM_CPPFLAGS): Add $(LIBELFINC).
    221  1.1  mrg 	(ltosymtab_LDADD): Add $(LIBELFLIBS).
    222  1.1  mrg 	(liblto_plugin_la_LIBADD): Add $(LIBELFLIBS)
    223  1.1  mrg 	* lto-plugin.c: Always include <gelf.h>
    224  1.1  mrg 	* lto-symtab.c: Likewise.
    225  1.1  mrg 	* configure: Regenerate.
    226  1.1  mrg 	* Makefile.in: Regenerate.
    227  1.1  mrg 
    228  1.1  mrg 2009-03-23  Rafael Avila de Espindola  <espindola (a] google.com>
    229  1.1  mrg 
    230  1.1  mrg 	* lto-plugin.c (libgcc_filename): New.
    231  1.1  mrg 	(all_symbols_read_handler): Pass libgcc to the linker.
    232  1.1  mrg 	(all_symbols_read_handler): Parse -libgcc
    233  1.1  mrg 
    234  1.1  mrg 2009-02-05  Rafael Avila de Espindola  <espindola (a] google.com>
    235  1.1  mrg 
    236  1.1  mrg 	* Makefile.am (liblto_plugin_la_LIBADD): Link with libiberty.
    237  1.1  mrg 	* Makefile.in: Regenerate.
    238  1.1  mrg 	* lto-plugin.c (add_output_files): Argument is now a FILE.
    239  1.1  mrg 	(exec_lto_wrapper): Use writeargv and pex.
    240  1.1  mrg 
    241  1.1  mrg 2009-02-04  Rafael Avila de Espindola  <espindola (a] google.com>
    242  1.1  mrg 
    243  1.1  mrg 	Revert:
    244  1.1  mrg 	2009-02-04  Rafael Avila de Espindola  <espindola (a] google.com>
    245  1.1  mrg 	* lto-plugin.c (exec_lto_wrapper): Use writeargv.
    246  1.1  mrg 
    247  1.1  mrg 
    248  1.1  mrg 2009-02-04  Rafael Avila de Espindola  <espindola (a] google.com>
    249  1.1  mrg 
    250  1.1  mrg 	* lto-plugin.c (exec_lto_wrapper): Use writeargv.
    251  1.1  mrg 
    252  1.1  mrg 2009-01-29  Rafael Avila de Espindola  <espindola (a] google.com>
    253  1.1  mrg 
    254  1.1  mrg 	* lto-plugin.c: Include libiberty.h.
    255  1.1  mrg 	(exec_lto_wrapper, claim_file_handler): Use asprintf instead of
    256  1.1  mrg 	snprintf.
    257  1.1  mrg 
    258  1.1  mrg 2009-01-29  Rafael Avila de Espindola  <espindola (a] google.com>
    259  1.1  mrg 
    260  1.1  mrg 	* lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that
    261  1.1  mrg 	file to lto-wrapper.
    262  1.1  mrg 
    263  1.1  mrg 2009-01-28  Rafael Avila de Espindola  <espindola (a] google.com>
    264  1.1  mrg 
    265  1.1  mrg 	* lto-plugin.c (plugin_file_info): Remove fd and elf.
    266  1.1  mrg 	(parse_table_entry): strdup entry->name and entry->comdat_key.
    267  1.1  mrg 	(free_1): Free name and comdat_key. Don't close the file. Don't call
    268  1.1  mrg 	elf_end.
    269  1.1  mrg 	(claim_file_handler): Always call elf_end.
    270  1.1  mrg 
    271  1.1  mrg 2008-12-23  Rafael Avila de Espindola  <espindola (a] google.com>
    272  1.1  mrg 
    273  1.1  mrg 	* Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE
    274  1.1  mrg 	-D_FILE_OFFSET_BITS=64
    275  1.1  mrg 	* Makefile.in: Regenerate
    276  1.1  mrg 
    277  1.1  mrg 2008-12-22  Rafael Avila de Espindola  <espindola (a] google.com>
    278  1.1  mrg 
    279  1.1  mrg 	* Makefile.am (gcc_version, target_noncanonical, libexecsubdir): New.
    280  1.1  mrg 	(lib_LTLIBRARIES): Rename to libexecsub_LTLIBRARIES.
    281  1.1  mrg 	* Makefile.in: Regenerate.
    282  1.1  mrg 	* acinclude.m4: Include ../config/acx.m4 and ../lt~obsolete.m4
    283  1.1  mrg 	* configure: Regenerate.
    284  1.1  mrg 	* configure.ac: Add AC_SUBST(target_noncanonical).
    285  1.1  mrg 
    286  1.1  mrg 2008-12-08  Rafael Avila de Espindola  <espindola (a] google.com>
    287  1.1  mrg 
    288  1.1  mrg 	* lto-plugin.c: Include stdbool.h.
    289  1.1  mrg 	(debug, nop): Declare as bool.
    290  1.1  mrg 
    291  1.1  mrg 2008-12-08  Rafael Avila de Espindola  <espindola (a] google.com>
    292  1.1  mrg 
    293  1.1  mrg 	* lto-plugin.c (nop): New.
    294  1.1  mrg 	(use_original_files): New.
    295  1.1  mrg 	(all_symbols_read_handler): Call use_original_files if nop is true.
    296  1.1  mrg 	(process_option): Parse the -nop option.
    297  1.1  mrg 
    298  1.1  mrg 2008-12-08  Rafael Avila de Espindola  <espindola (a] google.com>
    299  1.1  mrg 
    300  1.1  mrg 	* lto-plugin.c (debug): New.
    301  1.1  mrg 	(exec_lto_wrapper): Print argv if debug is true.
    302  1.1  mrg 	(process_option): Process the -debug command line option.
    303  1.1  mrg 
    304  1.1  mrg 2008-12-03  Rafael Avila de Espindola  <espindola (a] google.com>
    305  1.1  mrg 
    306  1.1  mrg 	* lto-plugin.c (process_option): The argument is now a single option,
    307  1.1  mrg 	not a space separated list.
    308  1.1  mrg 
    309  1.1  mrg 2008-12-02  Rafael Avila de Espindola  <espindola (a] google.com>
    310  1.1  mrg 
    311  1.1  mrg 	* lto-plugin.c: Include sys/types.h and sys/wait.h
    312  1.1  mrg 	(output_files, num_output_files, lto_wrapper_argv,
    313  1.1  mrg 	lto_wrapper_num_args): New.
    314  1.1  mrg 	(free_2): Free output_files.
    315  1.1  mrg 	(write_resolution): Disable.
    316  1.1  mrg 	(add_output_files): New.
    317  1.1  mrg 	(exec_lto_wrapper): New.
    318  1.1  mrg 	(all_symbols_read_handler): Run lto-wrapper.
    319  1.1  mrg 	(claim_file_handler): Free lto_file.name and call elf_end.
    320  1.1  mrg 	(process_option): New.
    321  1.1  mrg 
    322  1.1  mrg 2008-11-26  Rafael Espindola  <espindola (a] google.com>
    323  1.1  mrg 
    324  1.1  mrg 	* lto-plugin.c (add_input_file): New.
    325  1.1  mrg 	(get_section): Return NULL if get_section fails.
    326  1.1  mrg 	(write_resolution): New.
    327  1.1  mrg 	(all_symbols_read_handler): Call add_input_file.
    328  1.1  mrg 	(claim_file_handler): Unlink the correct file.
    329  1.1  mrg 	(onload): Record add_input_file.
    330  1.1  mrg 
    331  1.1  mrg 2008-09-23 Rafael Espindola  <espindola (a] google.com>
    332  1.1  mrg 
    333  1.1  mrg 	* Makefile.am (ltosymtab_SOURCES, liblto_plugin_la_SOURCES):
    334  1.1  mrg 	Update the location of common.c.
    335  1.1  mrg 	* Makefile.in: Regenerate.
    336  1.1  mrg 	* common.c: Moved to gcc/lto.
    337  1.1  mrg 	* common.h: Moved to gcc/lto.
    338  1.1  mrg 	* lto-plugin.c: Update the location of common.h.
    339  1.1  mrg 	* lto-symtab.c: Update the location of common.h.
    340  1.1  mrg 
    341  1.1  mrg 2008-09-23 Rafael Espindola  <espindola (a] google.com>
    342  1.1  mrg 
    343  1.1  mrg 	* common.c: Include common.h.
    344  1.1  mrg 	(lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit
    345  1.1  mrg 	sizes.
    346  1.1  mrg 	* common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use
    347  1.1  mrg 	explicit sizes.
    348  1.1  mrg 
    349  1.1  mrg 2008-09-23 Rafael Espindola  <espindola (a] google.com>
    350  1.1  mrg 
    351  1.1  mrg 	* lto-plugin.c (plugin_file_info): Add temp.
    352  1.1  mrg 	(cleanup_handler): Only delete temporary files.
    353  1.1  mrg 	(claim_file_handler): Initialize lto_file.temp.
    354  1.1  mrg 
    355  1.1  mrg 2008-09-23  Rafael Espindola  <espindola (a] google.com>
    356  1.1  mrg 
    357  1.1  mrg         * plugin-api.h: Moved to include.
    358  1.1  mrg 
    359  1.1  mrg 2008-09-23 Rafael Espindola  <espindola (a] google.com>
    360  1.1  mrg 
    361  1.1  mrg 	* lto-plugin.c (all_symbols_read_handler): Print resolution in a new
    362  1.1  mrg 	format.
    363  1.1  mrg 
    364  1.1  mrg 2008-09-22 Rafael Espindola  <espindola (a] google.com>
    365  1.1  mrg 
    366  1.1  mrg 	* plugin-api.h: Copy from binutils' cvs.
    367  1.1  mrg 
    368  1.1  mrg 2008-09-22 Rafael Espindola  <espindola (a] google.com>
    369  1.1  mrg 
    370  1.1  mrg 	* lto-symtab.c (get_symbols, add_symbols): Update signature.
    371  1.1  mrg 	* plugin-api.h: Copy from binutils' cvs.
    372  1.1  mrg 
    373  1.1  mrg 2008-09-22 Rafael Espindola  <espindola (a] google.com>
    374  1.1  mrg 
    375  1.1  mrg 	* common.h (lto_kind_str, lto_visibility_str, lto_resolution_str):
    376  1.1  mrg 	Make extern
    377  1.1  mrg 
    378  1.1  mrg 2008-09-10 Rafael Espindola  <espindola (a] google.com>
    379  1.1  mrg 
    380  1.1  mrg 	* lto-plugin.c (onload): add missing break statements and asserts.
    381  1.1  mrg 	* lto-symtab.c (claim_file_handler): Make it static.
    382  1.1  mrg 	(all_symbols_read_handler): Make it static.
    383  1.1  mrg 	(all_file_handles): Make it static.
    384  1.1  mrg 	(num_file_handles): Make it static.
    385  1.1  mrg 	(register_claim_file): Make it static.
    386  1.1  mrg 	(register_object): Indent properly.
    387  1.1  mrg 
    388  1.1  mrg 2008-09-10  Rafael Avila de Espindola  <espindola (a] google.com>
    389  1.1  mrg 
    390  1.1  mrg 	* Makefile.am (ltosymtab_LDADD): Add -lelf.
    391  1.1  mrg 	* Makefiel.in: Regenerate.
    392  1.1  mrg 	* lto-plugin.c: Include ar.h.
    393  1.1  mrg 	(claim_file_handler): Handle file->offset != 0.
    394  1.1  mrg 	* lto-symtab.c: Include gelf.h.
    395  1.1  mrg 	(all_file_handles): Change type.
    396  1.1  mrg 	(register_object): New.
    397  1.1  mrg 	(register_file): Add support for archives.
    398  1.1  mrg 	(resolve): Update to new type of all_file_handles.
    399  1.1  mrg 	(print): Update to new type of all_file_handles.
    400  1.1  mrg 	(free_all): Update to new type of all_file_handles.
    401  1.1  mrg 	(main): Update to new type of all_file_handles.
    402  1.1  mrg 
    403  1.1  mrg 2008-09-10  Rafael Avila de Espindola  <espindola (a] google.com>
    404  1.1  mrg 
    405  1.1  mrg 	* lto-plugin.c (get_string_table): Remove.
    406  1.1  mrg 	(get_section): Use elf_strptr instead of get_string_table.
    407  1.1  mrg 
    408  1.1  mrg 2008-09-08  Doug Kwan  <dougkwan (a] google.com>
    409  1.1  mrg 
    410  1.1  mrg 	* lto-plugin.c (all_symbols_read_handler): Widen fprintf arguments
    411  1.1  mrg 	to 64-bit to fix a 32-bit bootstrap failure due to format warnings.
    412  1.1  mrg 
    413  1.1  mrg 2008-09-08  Rafael Avila de Espindola  <espindola (a] google.com>
    414  1.1  mrg 
    415  1.1  mrg 	* Makefile.am (ltosymtab_SOURCES): add common.c.
    416  1.1  mrg 	(ltosymtab_CFLAGS): New.
    417  1.1  mrg 	(liblto_plugin_la_SOURCES): Add common.c.
    418  1.1  mrg 	* Makefile.in: Regenerate.
    419  1.1  mrg 	* common.c: New.
    420  1.1  mrg 	* common.h: New.
    421  1.1  mrg 	* lto-plugin.c: Include stdio.h, inttypes.h and common.h.
    422  1.1  mrg 	(plugin_symtab): New.
    423  1.1  mrg 	(plugin_file_info): New.
    424  1.1  mrg 	(register_all_symbols_read): New.
    425  1.1  mrg 	(get_symbols): New.
    426  1.1  mrg 	(claimed_files): New.
    427  1.1  mrg 	(num_claimed_files): New.
    428  1.1  mrg 	(translate): Don't drop the slot number.
    429  1.1  mrg 	(free_1): New.
    430  1.1  mrg 	(free_2): New.
    431  1.1  mrg 	(all_symbols_read_handler): New.
    432  1.1  mrg 	(claim_file_handler): Record every claimed file.
    433  1.1  mrg 	(onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
    434  1.1  mrg 	LDPT_GET_SYMBOLS.
    435  1.1  mrg 	* lto-symtab.c: Include stdlib.h, string.h and common.h.
    436  1.1  mrg 	(current_file_handle): Remove.
    437  1.1  mrg 	(ld_plugin_all_symbols_read_handler): New.
    438  1.1  mrg 	(plugin_handle): New.
    439  1.1  mrg 	(file_handle): New.
    440  1.1  mrg 	(all_file_handles): New.
    441  1.1  mrg 	(num_file_handles): New.
    442  1.1  mrg 	(get_symbols): New.
    443  1.1  mrg 	(register_all_symbols_read): New.
    444  1.1  mrg 	(add_symbols): Don't print the symbols, just record them.
    445  1.1  mrg 	(ld_plugin_tv): Add LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
    446  1.1  mrg 	LDPT_GET_SYMBOLS.
    447  1.1  mrg 	(load_plugin): Use plugin_handle.
    448  1.1  mrg 	(register_file): Add the file handle to all_file_handles.
    449  1.1  mrg 	(resolve): New.
    450  1.1  mrg 	(print): New.
    451  1.1  mrg 	(unload_plugin): New.
    452  1.1  mrg 	(free_all): New.
    453  1.1  mrg 	(main): Call all_symbols_read_handler and free resources.
    454  1.1  mrg 
    455  1.1  mrg 2008-09-03  Rafael Avila de Espindola  <espindola (a] google.com>
    456  1.1  mrg 
    457  1.1  mrg 	* Makefile.am (AM_CFLAGS): New.
    458  1.1  mrg 	(ltosymtab_LDADD): Remove -lelf. Add -ldl.
    459  1.1  mrg 	(lib_LTLIBRARIES): New.
    460  1.1  mrg 	(liblto_plugin_la_SOURCES): New.
    461  1.1  mrg 	(liblto_plugin_la_LIBADD): New.
    462  1.1  mrg 	* Makefile.in: Regenerate.
    463  1.1  mrg 	* acinclude.m4: Don't include ../config/acx.m4 and
    464  1.1  mrg 	../config/no-executables.m4.
    465  1.1  mrg 	Include ../ltsugar.m4, ../ltoptions.m4, ../ltversion.m4 and
    466  1.1  mrg 	../libtool.m4.
    467  1.1  mrg 	* aclocal.m4: Regenerate.
    468  1.1  mrg 	* configure: Regenerate.
    469  1.1  mrg 	* configure.ac: Use AM_PROG_LIBTOOL.
    470  1.1  mrg 	* lto-plugin.c: New.
    471  1.1  mrg 	* lto-symtab.c: Rewrite to use the plugin.
    472  1.1  mrg 	* plugin-api.h: New.
    473  1.1  mrg 
    474  1.1  mrg 2008-08-25  Rafael Avila de Espindola  <espindola (a] google.com>
    475  1.1  mrg 
    476  1.1  mrg 	* configure: Regenerate.
    477  1.1  mrg 	* configure.ac: Use AC_CHECK_GELF.
    478  1.1  mrg 	* lto-symtab.c: Include gelf.h.
    479  1.1  mrg 	(get_string_table): Use size independent API.
    480  1.1  mrg 	(printTable): Use lld to print 64 bit integers.
    481  1.1  mrg 
    482  1.1  mrg 2008-08-22  Rafael Avila de Espindola  <espindola (a] google.com>
    483  1.1  mrg 
    484  1.1  mrg 	* lto-symtab.c (parse_table_entry): Assert entry->kind and
    485  1.1  mrg 	entry->visibility are valid.
    486  1.1  mrg 
    487  1.1  mrg 2008-07-22  Rafael Avila de Espindola  <espindola (a] google.com>
    488  1.1  mrg 	* lto-symtab.c (table_entry): Add comdat.
    489  1.1  mrg 	(parse_table_entry): Read comdat.
    490  1.1  mrg 
    491  1.1  mrg 2008-08-21  Rafael Espindola  <espindola (a] google.com>
    492  1.1  mrg 
    493  1.1  mrg 	* Makefile.am: New.
    494  1.1  mrg 	* Makefile.in: New.
    495  1.1  mrg 	* acinclude.m4: New.
    496  1.1  mrg 	* aclocal.m4: New.
    497  1.1  mrg 	* configure: New.
    498  1.1  mrg 	* configure.ac: New.
    499  1.1  mrg 	* lto-symtab.c: New.
    500