re PR target/86651 (lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sectio...
authorJan Willem Jagersma <jwjagersma@gmail.com>
Wed, 1 Aug 2018 06:52:44 +0000 (06:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 1 Aug 2018 06:52:44 +0000 (06:52 +0000)
commit3311d93cbf9d8670f61390a2d3b9a4c8495ace47
treeebeb0f49f33e1d621b867c61b55f71235027ea30
parent027c71411cee14ec4a45bd69f85184189457e8f9
re PR target/86651 (lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument)

2018-08-01 Jan Willem Jagersma  <jwjagersma@gmail.com>

PR target/86651
* dwarf2out.c (dwarf2out_early_finish): Do not generate assembly in LTO
mode for COFF targets.
* defaults.h (TARGET_COFF): Define.
* config/i386/djgpp.h (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END,
TARGET_COFF): Define.
(i386_djgpp_asm_lto_start, i386_djgpp_asm_lto_end): Declare.
* config/i386/djgpp.c (saved_debug_info_level): New static variable.
(i386_djgpp_asm_lto_start, i386_djgpp_asm_lto_end): New functions.

From-SVN: r263191
gcc/ChangeLog
gcc/config/i386/djgpp.c
gcc/config/i386/djgpp.h
gcc/defaults.h
gcc/dwarf2out.c