[PATCH v2 3/4] readelf: Add support for AMDGPU code object V6

Project / Subsystem

binutils / readelf

Date

2026-05-07

Proposer

Simon Marchi <simon.marchi@efficios.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Increased complexity in `readelf` due to the addition of new AMDGPU-specific flags.

All attributes

project
binutils
subsystem
readelf
patch_id
discussion_id
20260507194615.943267-4-simon.marchi@efficios.com
source_type
public_inbox
title
[PATCH v2 3/4] readelf: Add support for AMDGPU code object V6
headline
readelf: Add support for AMDGPU code object V6
tldr
readelf now decodes the EF_AMDGPU_GENERIC_VERSION_V flag for AMDGPU code object V6.
proposer
Simon Marchi <simon.marchi@efficios.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Increased complexity in `readelf` due to the addition of new AMDGPU-specific flags.
series_id
binutils:readelf: add support for amdgpu code object v6
series_role
reply
series_parts
  • {"title":"readelf: Add support for AMDGPU code object V6","url":"https://inbox.sourceware.org/binutils/ee3f3e7e-51ca-445c-9f50-831716b1c153@polymtl.ca"}
tags
  • readelf
  • AMDGPU
  • ELF
  • GPU
  • code object
bugzilla_url
date
2026-05-07T00:00:00.000Z

[PATCH v2 3/4] readelf: Add support for AMDGPU code object V6

This patch updates readelf to support AMDGPU code object V6, which introduces the EF_AMDGPU_GENERIC_VERSION_V flag. The patch decodes this flag and displays the generic code object version when examining AMDGPU ELF files. This allows developers to inspect binaries compiled for AMD’s GPUs, ensuring compatibility with the latest architecture features.