Landing: d49acf37a337

Project / Subsystem

binutils / readelf

Date

2026-05-08

Author

Simon Marchi <simark@sourceware.org>

Commit

d49acf37a337408fdd5d008c633e7b31497565e3

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
readelf
patch_id
commit_hash
d49acf37a337408fdd5d008c633e7b31497565e3
source_type
public_inbox
headline
Readelf: Add support for AMDGPU code object V6
tldr
`readelf` now decodes the EF_AMDGPU_GENERIC_VERSION_V flag in AMDGPU code object V6 ELF headers, displaying the generic code object version.
author
Simon Marchi <simark@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • readelf
  • amdgpu
  • elf
discussion_id_link
bugzilla_pr
date
2026-05-08T00:00:00.000Z

The AMDGPU code object V6 adds the EF_AMDGPU_GENERIC_VERSION_V flag to the ELF header. This commit updates readelf to decode and display this flag when examining AMDGPU ELF files. The output will indicate the “generic code object” version, improving the tool’s ability to provide detailed information about AMDGPU binaries.