[lto] remove dw2_asm_output_data call from write_global_references
Ollie Wild
aaw@google.com
Mon Jun 23 21:38:00 GMT 2008
The write_global_references function currently bypasses the LTO
serialization framework by calling dw2_asm_output_data directly. This
bypasses the lto_write_section_data language hook, which in turn
breaks direct-to-elf serialization (patch pending) inside lto1.
This patch replaces the dw2_asm_output_data calls with calls to
lang_hooks.lto.write_section_data.
Ollie
2008-06-23 Ollie Wild <aaw@google.com>
* lto-section-out.c (dwarf2asm.h): Remove include.
(write_global_references): Replace dw2_asm_output_data calls with a
single call to lang_hooks.lto.write_section_data.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: write_global_references.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080623/f5d12744/attachment.txt>
More information about the Gcc-patches
mailing list