[patch] '0x' prefix on objdump addresses

Philip Blundell pb@nexus.co.uk
Mon Jan 14 12:49:00 GMT 2002


On Mon, 2002-01-14 at 17:23, Graydon Hoare wrote:
>   [...]
>   15f:   8b 1f                   mov    (%edi),%ebx
>   161:   85 db                   test   %ebx,%ebx
> - 163:   74 2b                   je     190 <submit_lock+0x40>
> + 163:   74 2b                   je     0x190 <submit_lock+0x40>
>   165:   8d 74 26 00             lea    0x0(%esi,1),%esi
>   169:   8d bc 27 00 00 00 00    lea    0x0(%edi,1),%edi
>   [...]
> 
> It's a matter of consistency; all hex values in the disassembly _except_
> this case are already prefixed by "0x".  

Well, except also the addresses themselves (which are, of course, the
targets of the branches in question).  Not that I care particularly, but
the old behaviour never struck me as very inconsistent.  

p.



More information about the Binutils mailing list