lkml.org 
[lkml]   [2018]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 17/17] perf annotate: Handle variables in 'sub', 'or' and many other instructions
On Fri, Apr 13, 2018 at 11:01:11AM -0300, Arnaldo Carvalho de Melo wrote:
> From: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> Just like is done for 'mov' and others that can have as source or
> targets variables resolved by objdump, to make them more compact:
>
> - orb $0x4,0x224d71(%rip) # 226ca4 <_rtld_global+0xca4>
> + orb $0x4,_rtld_global+0xca4

That's not equivalent. It could be non rip relative too. You would need
to keep at least the (%rip).

-Andi

\
 
 \ /
  Last update: 2018-04-13 18:21    [W:0.081 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site