This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix objdump output of R_SPARC_OLO10
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: binutils at sourceware dot org, richm at oldelvet dot org dot uk
- Date: Wed, 19 Jan 2011 06:46:04 -0500 (EST)
- Subject: Re: [PATCH] Fix objdump output of R_SPARC_OLO10
- References: <20110118.205105.258126805.davem@davemloft.net>
On Tue, 18 Jan 2011, David Miller wrote:
> On the one hand the fix I'm proposing here is a bit of a hack, but on
> the other hand it's the best thing I've been able to come up with and
> this bug has wasted developer time unnecessarily.
>
> Any better ideas?
Overloading the "usual" BFD way? I.e. an indirection through
target-specific machinery; a new field in bfd_target, handling
suggested through BFD_JUMP_TABLE_RELOCS, defaulting to a
function with the old behavior for all other formats and ELFs
but overridden for SPARC ones; defaulted but overridable in
elfxx-target.h? I think that's what usually happens, I might
miss some detail.
brgds, H-P