aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJan Willem Jagersma <jwjagersma@gmail.com>2018-08-01 06:52:44 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2018-08-01 06:52:44 +0000
commit3311d93cbf9d8670f61390a2d3b9a4c8495ace47 (patch)
treeebeb0f49f33e1d621b867c61b55f71235027ea30 /gcc/dwarf2out.c
parent027c71411cee14ec4a45bd69f85184189457e8f9 (diff)
downloadgcc-3311d93cbf9d8670f61390a2d3b9a4c8495ace47.zip
gcc-3311d93cbf9d8670f61390a2d3b9a4c8495ace47.tar.gz
gcc-3311d93cbf9d8670f61390a2d3b9a4c8495ace47.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 208f2e9..ffbde6f 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -31942,10 +31942,10 @@ dwarf2out_early_finish (const char *filename)
/* Do not generate DWARF assembler now when not producing LTO bytecode. */
if ((!flag_generate_lto && !flag_generate_offload)
- /* FIXME: Disable debug info generation for PE-COFF targets since the
+ /* FIXME: Disable debug info generation for (PE-)COFF targets since the
copy_lto_debug_sections operation of the simple object support in
libiberty is not implemented for them yet. */
- || TARGET_PECOFF)
+ || TARGET_PECOFF || TARGET_COFF)
return;
/* Now as we are going to output for LTO initialize sections and labels