[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Jan 9 10:50:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968
--- Comment #49 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 9 Jan 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968
>
> --- Comment #47 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> > --- Comment #45 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot
> > Uni-Bielefeld.DE> ---
> [...]
> >> that should have been used as the reloc section for the new section 2.
> >> I see sh_info is still 9, it should be 2. That's eventually
> >> missing handling in the section removal patch.
> >
> > I'll try to figure this out.
>
> Indeed. I've just attached an updated patch that does just that.
>
> * I needed to change the signature of handle_lto_debug_sections to
> realloc the new section name: while before we could just skip over the
> initial .gnu.debuglto_ resp. .gnu.lto_.debug_ part, to map from
> .rel.gnu.debuglto_ (or .rela and variants), it neets to copy parts of
> the name.
IIRC naming of the reloc sections is irrelevant? I'll see what you
needed to do.
More information about the Gcc-bugs
mailing list