Skip to content

llvm-objdump doesn't support RELR #119470

Open
@dwblaikie

Description

@dwblaikie

Seems llvm-readobj does support dumping relr relocations, but llvm-objdump does not. Some stepping-around debugging, it seems that this call (

for (const RelocationRef &Reloc : Section.relocations()) {
) produces a zero-length sequence, when there are relocations in the section. (I verified this by using objcopy to preserve the minimal sections (--only-section=.relr.dyn --only-section=.dynamic --only-section=.dynstr), dumping them (llvm-objdump -R v llvm-readelf -r) and readelf dumps things, objdump does not - debugged into llvm-objdump to reach the above conclusion)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions