aboutsummaryrefslogtreecommitdiff
path: root/lto-plugin
AgeCommit message (Collapse)AuthorFilesLines
2009-11-19re PR bootstrap/42096 (lto.c:289:7: error: implicit declaration of function ↵Rafael Avila de Espindola2-1/+6
'strtoll') 2009-11-19 Rafael Avila de Espindola <espindola@google.com> PR bootstrap/42096 * lto-plugin.c (claim_file_handler): Print offsets in hex. 2009-11-19 Rafael Avila de Espindola <espindola@google.com> PR bootstrap/42096 * lto-elf.c (lto_elf_file_open): Use lto_parse_hex. * lto.c (lto_parse_hex): New. (lto_resolution_read): Use lto_parse_hex. * lto.h (lto_parse_hex): New. From-SVN: r154330
2009-11-12lto-plugin.c (write_resolution): Assume resolution_file is set.Rafael Avila de Espindola2-9/+22
2009-11-12 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (write_resolution): Assume resolution_file is set. Print the symbol name. (all_symbols_read_handler): Create a resolution file. Pass it to gcc. (cleanup_handler): Remove the resolution file. (process_option): Drop the -resolution option. 2009-11-12 Rafael Avila de Espindola <espindola@google.com> * lang.opt (fresolution): Renamed from resolution. * lto-lang.c (lto_handle_option): Handle new option name. * lto.c (lto_resolution_read): Add more checks. Discard rest of line. From-SVN: r154118
2009-11-05lto-plugin.c (temp_obj_dir_name): Remove.Rafael Avila de Espindola2-26/+23
2009-11-05 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (temp_obj_dir_name): Remove. (arguments_file_name): New. (free_2): Free arguments_file_name instead of temp_obj_dir_name. (exec_lto_wrapper): Create arguments file with make_temp_file. (cleanup_handler): Don't remove the temporary directory. Remove the arguments file. (onload): Don't create the temporary directory. From-SVN: r153938
2009-11-04gcc.c (process_command): Handle arguments name@offset.Richard Guenther2-53/+29
2009-11-04 Richard Guenther <rguenther@suse.de> Rafael Avila de Espindola <espindola@google.com> * gcc.c (process_command): Handle arguments name@offset. 2009-11-04 Richard Guenther <rguenther@suse.de> Rafael Avila de Espindola <espindola@google.com> * lto-elf.c (lto_elf_build_section_table): Add the base offset. (lto_elf_file_open): Handle offsets in arguments name@offest. 2009-11-04 Richard Guenther <rguenther@suse.de> Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (plugin_file_info): Remove temp field. (cleanup_handler): Don't delete temporary objects. (claim_file_handler): Don't create temporary objects. Co-Authored-By: Rafael Avila de Espindola <espindola@google.com> From-SVN: r153903
2009-11-04lto-plugin.c (cleanup_handler): Don't cleanup if debugging.Rafael Avila de Espindola2-0/+7
2009-11-04 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (cleanup_handler): Don't cleanup if debugging. From-SVN: r153899
2009-10-30re PR lto/41871 (lto-plugin gives: could not open/create temporary file)Rafael Avila de Espindola2-0/+8
2009-10-30 Rafael Avila de Espindola <espindola@google.com> PR41871 * lto-plugin.c (claim_file_handler): Close files that we created. From-SVN: r153764
2009-10-28lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of LDPL_ERRORRafael Avila de Espindola2-6/+9
2009-10-28 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of LDPL_ERROR From-SVN: r153687
2009-10-27re PR lto/41652 (LTO plugin misconfiguration)Dmitry Gorbachev3-216/+222
2009-10-27 Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR lto/41652 * configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT. * configure: Regenerate. From-SVN: r153610
2009-10-26configure.ac: Use AM_MAINTAINER_MODE.Richard Guenther6-24/+100
2009-10-26 Richard Guenther <rguenther@suse.de> * configure.ac: Use AM_MAINTAINER_MODE. * acinclude.m4: Remove. * configure: Re-generate. * Makefile.in: Likewise. * aclocal.m4: Likewise. From-SVN: r153556
2009-10-19missing changelogRafael Espindola1-0/+6
From-SVN: r152982
2009-10-19re PR lto/40790 (plugin-api.h unconditionally includes stdint.h)Rafael Espindola2-14/+81
include/ 2009-10-09 Rafael Avila de Espindola <espindola@google.com> PR40790 * plugin-api.h: Don't include stdint.h unconditionally. lto-plugin/ 2009-10-09 Rafael Avila de Espindola <espindola@google.com> PR40790 * configure: Regenerate. * configure.ac: Add AC_TYPE_UINT64_T. From-SVN: r152976
2009-10-16lto-plugin.c (message): New variable.Rafael Avila de Espindola2-33/+84
2009-10-16 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (message): New variable. (check): New function. (parse_table_entry, translate, write_resolution,add_output_files, exec_lto_wrapper,claim_file_handler, onload): Use check instead of assert. (cleanup_handler): Use check instead of assert. Remove the arguments file if it exists. From-SVN: r152906
2009-10-15lto-plugin.c (resolution_file): New.Rafael Avila de Espindola2-10/+31
2009-10-15 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (resolution_file): New. (free_1): Update comment. (free_2): Free resolution_file. (write_resolution): Write resolution to specified file. Use the syms array from the symbol table. (all_symbols_read_handler): Delay call to free_1 past call to write_resolution. (process_option): Add a -resolution option. From-SVN: r152846
2009-10-13Makefile.am (liblto_plugin_la_LIBADD): Link against the correct libiberty.Richard Guenther3-3/+10
2009-10-13 Richard Guenther <rguenther@suse.de> * Makefile.am (liblto_plugin_la_LIBADD): Link against the correct libiberty. * Makefile.in: Regenerated. From-SVN: r152698
2009-10-08lto-plugin.c (add_input_library): New.Rafael Avila de Espindola2-3/+20
2009-10-08 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (add_input_library): New. (all_symbols_read_handler): Use add_input_library for items that start with -l. (process_option): Fit in 80 columns. (onload): Handle LDPT_ADD_INPUT_LIBRARY. 2009-10-08 Rafael Avila de Espindola <espindola@google.com> * gcc.c (LINK_COMMAND_SPEC): Pass libc with -pass-through if it is being statically linked. From-SVN: r152558
2009-10-03Merge lto branch into trunk.Diego Novillo9-0/+15767
From-SVN: r152434