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