This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Binutils 2.29.1 breaks libpcap on sparc32 by filling .got
- From: Alan Modra <amodra at gmail dot com>
- To: "David S. Miller" <davem at davemloft dot net>, "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- Cc: Rolf Eike Beer <eb at emlix dot com>, binutils at sourceware dot org
- Date: Fri, 8 Dec 2017 20:55:26 +1030
- Subject: Re: Binutils 2.29.1 breaks libpcap on sparc32 by filling .got
- Authentication-results: sourceware.org; auth=none
- References: <13757039.pIICRVicT9@devpool21> <20171208005012.GM13179@bubble.grove.modra.org> <20171208011937.GN13179@bubble.grove.modra.org> <5587623.UYSD411yhV@devpool21>
On Fri, Dec 08, 2017 at 09:07:13AM +0100, Rolf Eike Beer wrote:
> Am Freitag, 8. Dezember 2017, 02:19:38 CET schrieb Alan Modra:
> > On Fri, Dec 08, 2017 at 11:20:12AM +1030, Alan Modra wrote:
> > > So it looks like sparc and sparc64 ld needs to be sure to zero section
> > > contents whenever a RELATIVE relocation is emitted, to avoid this
> > > glibc bug.
> >
> > Please test this.
>
> Works, awesome!
OK, let's see what the binutils sparc maintainers have to say about
the patch.
https://sourceware.org/ml/binutils/2017-12/msg00070.html and
https://sourceware.org/ml/binutils/2017-12/msg00071.html
Incidentally, the problem was introduced with git commit ec1acaba
--
Alan Modra
Australia Development Lab, IBM