This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/1] Don't convert R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64
- From: James Clarke <jrtc27 at jrtc27 dot com>
- To: Cary Coutant <ccoutant at gmail dot com>, Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org, debian-sparc at lists dot debian dot org
- Date: Mon, 27 Jun 2016 23:13:26 +0100
- Subject: Re: [PATCH 1/1] Don't convert R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64
- Authentication-results: sourceware.org; auth=none
- References: <1462961436-40750-1-git-send-email-jrtc27 at jrtc27 dot com> <1462961436-40750-2-git-send-email-jrtc27 at jrtc27 dot com> <8e51a50d-a1e0-fe30-c296-f7c2a5117d49 at redhat dot com>
Hi,
On Tue, May 24, 2016 at 20:26:58PM +0100, Cary Coutant wrote:
> > gold/
> > * sparc.cc (Target_sparc::Scan::local): Don't convert R_SPARC_32 to
> > R_SPARC_RELATIVE if class is ELFCLASS64.
> > (Target_sparc::Scan::global): Likewise.
>
> The gold part of this patch is OK.
On Wed, May 25, 2016 at 03:40:32PM +0100, Nick Clifton wrote:
> > bfd/
> > * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
> > R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64.
>
> This part is approved too.
Any progress on this? It would be good to get this fixed properly. I
know gold segfaults when building one particular package with the gold
part of the patch applied (although I haven't tried it without) but at
least getting just bfd fixed would be an improvement.
Regards,
James