This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix objdump output of R_SPARC_OLO10


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]