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: RFC: Adding visualization of jumps to objdump's disassembly output


Hi Tom,

> Is there any way to put this into libopcodes or BFD, rather than binutils?
> I think it would make a nice addition to gdb's "disassemble" command.

Hmm, not sure.  At the moment the code is baked into objdump's disassembly
functions.  I think that in order to move it into a library we would have
to move all of the disassembly code there, not just the visualization code.
I will look into doing this as a future enhancement.  But for now I just
want to get the feature in before the 2.34 branch happens.


> Nick> +/* This code was taken from:
> Nick> +    https://en.wikipedia.org/wiki/Jenkins_hash_function
> Nick> +   TODO: Does this work with the GPL?  */
> 
> I think this should be resolved before checking it in.  If it's just a
> generic hash function you need, there's one in hashtab.c though.

Yes, I have had a look into this and Jenkins function will be OK.
Plus according to Thomas it produces a better color selection than
the default hash function.  So I will be updating the patch to use
the Jenkins one.

Cheers
  Nick



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