On Wed, 20 Dec 2017, Alan Modra wrote:
> On Tue, Dec 19, 2017 at 03:37:10PM +0100, Richard Biener wrote:
> > + while ((gnu_lto = memchr (gnu_lto, 'g',
> > + strings + strsz - gnu_lto)))
> > + if (strncmp (gnu_lto, "gnu_lto_v1",
> > +
Hi Richard,
> The following enables a hpux specific workaround for the WEAK UNDEF
> symbols used by LTO debuginfo extraction. It makes sure to use
> a special name (gnu_lto_v1) for those.
>
> It also adjusts removed local symbols to not use UNDEFs (similar
> to solaris ld for globals hpux doesn't
On Tue, Dec 19, 2017 at 03:37:10PM +0100, Richard Biener wrote:
> + while ((gnu_lto = memchr (gnu_lto, 'g',
> + strings + strsz - gnu_lto)))
> + if (strncmp (gnu_lto, "gnu_lto_v1",
> + strings + strsz - gnu_lto) == 0
The following enables a hpux specific workaround for the WEAK UNDEF
symbols used by LTO debuginfo extraction. It makes sure to use
a special name (gnu_lto_v1) for those.
It also adjusts removed local symbols to not use UNDEFs (similar
to solaris ld for globals hpux doesn't like undefs it cannot