[llvm-bugs] [Bug 43030] New: llvm-objdump does not work for BPF in some reasonably common cases
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Aug 17 15:21:45 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43030
Bug ID: 43030
Summary: llvm-objdump does not work for BPF in some reasonably
common cases
Product: new-bugs
Version: 9.0
Hardware: PC
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: ys114321 at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Commit https://reviews.llvm.org/D57939 ("[DWARF] Refactor
RelocVisitor and fix computation of SHT_RELA-typed relocation entries)
made a change for relocation resolution when operating
on an object file.
The change unfortunately broke BPF as given SymbolValue (S) and
Addent (A), previously relocation is resolved to
S + A
and after the change, it is resolved to
S
This bug will happen if there are two bpf programs
defined in the same file, which is fairly common.
The bug is fixed in trunk (currently 10.0.0):
https://reviews.llvm.org/rL369199
This is to request backport the fix to release 9.0.0.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190817/05475aa2/attachment.html>
More information about the llvm-bugs
mailing list