This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Support more sparc relocs
- From: Ian Lance Taylor <iant at google dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: binutils at sourceware dot org
- Date: Sat, 07 Apr 2012 13:46:40 -0700
- Subject: Re: [PATCH] Support more sparc relocs
- References: <20120407.104628.1397934498181219879.davem@davemloft.net>
David Miller <davem@davemloft.net> writes:
> elfcpp/
>
> * sparc.h (R_SPARC_WDISP10): New relocation.
>
> gold/
>
> * sparc.cc (Reloc::wdisp10): New relocation method.
> (Reloc::h34): Likewise.
> (Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
> (Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
> R_SPARC_WDISP10.
> (Target_sparc::Scan::local): Likewise.
> (Target_sparc::Scan::global): Likewise.
> (Target_sparc::Relocate::relocate): Likewise.
The gold and elfcpp patches are fine (and can be committed separately
from the other patches, if you like).
Thanks.
Ian