Re: Fix PR target/85238

2018-04-12 Thread Richard Biener
On April 12, 2018 4:18:47 PM GMT+02:00, Eric Botcazou wrote: >This makes -g work again in LTO mode for Windows targets by kludging >around >the missing support for copying PE-COFF debug sections in the simple >object >module of libiberty, thus effectively disabling early debug in LTO >mode. >Th

Fix PR target/85238

2018-04-12 Thread Eric Botcazou
This makes -g work again in LTO mode for Windows targets by kludging around the missing support for copying PE-COFF debug sections in the simple object module of libiberty, thus effectively disabling early debug in LTO mode. The patch also contains a fixlet for a related oversight in the LTO wrap