[Bug gold/18837] gold does not handle linker-scripts with inputs

2015-08-19 Thread rguenther at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=18837 --- Comment #5 from rguenther at suse dot de --- On Wed, 19 Aug 2015, ccoutant at gmail dot com wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=18837 > > --- Comment #4 from Cary Coutant --- > > I see. So I'm trying (same input): >

[Bug gold/18837] gold does not handle linker-scripts with inputs

2015-08-19 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18837 --- Comment #4 from Cary Coutant --- > I see. So I'm trying (same input): > > SECTIONS { > .debug_info 0 : { *(.gnu.lto_.debug_info*) } > .debug_abbrev 0 : { *(.gnu.lto_.debug_abbrev*) } > .debug_str 0 : { *(.gnu.lto_.debug_str*) } >

[Bug gold/18837] gold does not handle linker-scripts with inputs

2015-08-18 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18837 --- Comment #3 from Richard Guenther --- (In reply to Cary Coutant from comment #2) > Let's use PR 18836 for a broader discussion on the topic of LTO and early > debug. > > With the given script, Gnu ld will link t.o as if it had been named o

[Bug gold/18837] gold does not handle linker-scripts with inputs

2015-08-17 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18837 Cary Coutant changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Cary Cout

[Bug gold/18837] gold does not handle linker-scripts with inputs

2015-08-17 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18837 --- Comment #1 from Richard Guenther --- > This bug makes gold completely unable to handle what will be the new way > to do debuginfo with GCC and -flto (so called early debug with LTO). which means resorting to objcopy (and thus BFD) for the