This patchset fixes two more issues where DWARF/BTF encoding/loading produce different result: - patch #1 fixes incorrect handling of "unknown" base types; - patch #2 fixes incorrect handling of packed enums during encoding. Andrii Nakryiko (2): btf_loader: simplify fixup code by relying on BTF data more btf_encoder: don't special case packed enums btf_encoder.c | 9 -------- btf_loader.c | 59 ++++++++++----------------------------------------- 2 files changed, 11 insertions(+), 57 deletions(-) -- 2.17.1