objdump and resolving linkage of local function calls?

前端 未结 1 343
伪装坚强ぢ
伪装坚强ぢ 2021-01-12 05:31

If I run objdump -d on a (linux amd64) .o file, function calls show up without the link time resolution done. Example:

  90:   66 89 44 24 1c          mov           


        
1条回答
  •  -上瘾入骨i
    2021-01-12 05:52

    Is there a way, without actually linking, to get an assembly listing that has the function names resolved?

    Yes: use objdump -dr foo.o

    0 讨论(0)
提交回复
热议问题