Em Tue, Apr 17, 2018 at 11:56:28AM +0900, Namhyung Kim escreveu: > Hi, > > On Fri, Apr 13, 2018 at 10:39:40AM -0700, Andi Kleen wrote: > > > What do I miss? Or where is it that I'm misinterpreting the calculations > > > that objdump did in its output? > > > > The calculations are right, but these are still two different address modes. > > You cannot just turn one silently into the other. > > > > I think it would be ok to use the syntax in the assembler > > > > symbol(%rip) with no # ... > > One thing I find useful is to show string constant if the address is > in the rodata (and printable of course). Maybe something like below.. > > lea 0x1234(%rip),%rdi # "hello world\n" > callq printf > > > Just an idea.
Send some more :-) /me adds to the todo.annotate folder... - Arnaldo