https://bugs.llvm.org/show_bug.cgi?id=41901
Bug ID: 41901
Summary: Fix llvm-objdump -r behaviour for non relocatable
objects
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-objdump
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: llvm-bugs@lists.llvm.org
GNU objdump behaviour in every version I have access to easily (v2.22, v2.24,
and v2.29), for -r on an executable/shared object is to print non-dynamic
relocation sections it finds (possibly also dynamic relocations, but I haven't
checked). llvm-objdump does not - see the following bit of code in
printRelocations:
// Regular objdump doesn't print relocations in non-relocatable object
// files.
if (!Obj->isRelocatableObject())
return;
I don't see why this behaviour exists. See also r263971, r263987 and r215844
for relevant revisions to do with this line. We should fix it.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs