Re: [PATCH 1/2] bfd: add basic support for BTF debug info

Project / Subsystem

binutils / bfd

Date

2026-09-30

Proposer

David Faust <david.faust@oss.qualcomm.com>

Source type

public_inbox

Consensus

Ready to Land

Sentiment

—/10

Technical tradeoffs

  • • Includes new source and header files, increasing codebase size.

All attributes

project
binutils
subsystem
bfd
patch_id
—
discussion_id
874if6vb73.fsf@gnu.org
source_type
public_inbox
title
Re: [PATCH 1/2] bfd: add basic support for BTF debug info
headline
bfd: add basic support for BTF debug info
tldr
Adds basic support for BPF Type Format (BTF) debugging information to BFD, including data structures and decoding functions.
proposer
David Faust <david.faust@oss.qualcomm.com>
consensus
Ready to Land
outcome
ready
sentiment_score
—
technical_tradeoffs
  • • Includes new source and header files, increasing codebase size.
series_id
binutils:bfd: add basic support for btf debug info
series_role
reply
series_parts
  • • {"title":"bfd: add basic support for BTF debug info","url":"https://inbox.sourceware.org/binutils/20260930182209.212167-1-david.faust@oss.qualcomm.com"}
tags
  • • bfd
  • • btf
  • • debugging
  • • bpf
bugzilla_url
—
date
2026-09-30T00:00:00.000Z

Re: [PATCH 1/2] bfd: add basic support for BTF debug info

This patch introduces initial support for BTF debug info into BFD. It includes necessary header files and C source code for handling BTF data structures and decoding functions. The changes are intended to align with GCC’s BTF definitions, which are based on Linux kernel specifications, enabling BFD to work with BTF-formatted debug information.