public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ak at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/44992] ld -r breaks LTO Date: Fri, 23 Jul 2010 05:34:00 -0000 [thread overview] Message-ID: <20100723053412.1929.qmail@sourceware.org> (raw) In-Reply-To: <bug-44992-7834@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from ak at gcc dot gnu dot org 2010-07-23 05:34 ------- Subject: Bug 44992 Author: ak Date: Fri Jul 23 05:33:51 2010 New Revision: 162443 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162443 Log: gcc: 2010-07-10 Andi Kleen <ak@linux.intel.com> PR lto/44992 * lto-opts.c (lto_write_options): Add NULL file_data argument to lto_get_section_name. * lto-section-out.c (lto_destroy_simple_output_block): Likewise. * lto-streamer-out.c (produce_asm): Likewise. (copy_function): Likewise. (produce_symtab): Likewise. (produce_asm_for_decls): Likewise. * lto-streamer.c (lto_get_section_name): Add file_data argument. Rewrite to add random postfix to LTO sections. * lto-streamer.h (lto_file_decl_data): Add next, id, resolutions. (lto_get_section_name): Add file_data argument to prototype. lto: 2010-07-10 Andi Kleen <ak@linux.intel.com> PR lto/44992 * lto.c: Include splay-tree.h (lto_resolution_read): Change to walk file_ids tree and parse extra file_id in resolution file. (lto_section_with_id): Add. (create_subid_section_table): Add. (lwstate): Add. (lto_create_files_from_ids): Add. (lto_file_read): Change to handle sub file ids and create list of file_datas. Add output argument for count. (get_section_data): Pass file_data to lto_get_section_name. (lto_flatten_file): Add. (read_cgraph_and_symbols): Handle linked lists of file_datas. lto-plugin: 2010-07-10 Andi Kleen <ak@linux.intel.com> PR lto/44992 * lto-plugin.c (sym_aux): Add. (plugin_symtab): Remove slots. Add aux and id. (parse_table_entry): Change to use aux instead of slots. (LTO_SECTION_PREFIX): Add. (translate): Improve buffer allocation. Change to append symbols to existing out buffer. (get_section): Remove. (process_symtab): Add. (free_2): Free symtab->aux. (write_resolution): Handle aux instead of slots. Print sub id to resolution file. (claim_file_handler): Clear lto_file. Replace get_symtab/translate calls with call to process_symtab. Modified: trunk/gcc/ChangeLog trunk/gcc/lto-opts.c trunk/gcc/lto-section-out.c trunk/gcc/lto-streamer-out.c trunk/gcc/lto-streamer.c trunk/gcc/lto-streamer.h trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto.c trunk/lto-plugin/ChangeLog trunk/lto-plugin/lto-plugin.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44992
next prev parent reply other threads:[~2010-07-23 5:34 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-19 15:50 [Bug lto/44992] New: " andi-gcc at firstfloor dot org 2010-07-19 16:20 ` [Bug lto/44992] " rguenth at gcc dot gnu dot org 2010-07-19 16:32 ` andi-gcc at firstfloor dot org 2010-07-19 19:36 ` jakub at gcc dot gnu dot org 2010-07-19 19:46 ` andi-gcc at firstfloor dot org 2010-07-20 9:00 ` rguenth at gcc dot gnu dot org 2010-07-23 5:34 ` ak at gcc dot gnu dot org [this message] 2010-08-31 9:13 ` rguenth at gcc dot gnu dot org 2010-08-31 9:32 ` andi-gcc at firstfloor dot org [not found] <bug-44992-4@http.gcc.gnu.org/bugzilla/> 2011-03-25 20:06 ` jakub at gcc dot gnu.org 2011-04-28 17:00 ` rguenth at gcc dot gnu.org 2011-10-07 5:43 ` andi-gcc at firstfloor dot org 2012-05-07 11:54 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100723053412.1929.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).