From 28cdbb183bf80157a71d222b66abc38f32019f2d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 16 Mar 2022 09:01:26 -0400 Subject: binutils/readelf: handle NT_AMDGPU_METADATA note name Handle the NT_AMDGPU_METADATA note, which is described here: https://llvm.org/docs/AMDGPUUsage.html#code-object-v3-note-records As of this patch, just print out the name, not the contents, which is in the msgpack format. binutils/ChangeLog: * readelf.c (get_amdgpu_elf_note_type): New. (process_note): Handle "AMDGPU" notes. include/ChangeLog: * elf/amdgcn.h (NT_AMDGPU_METADATA): New. Change-Id: Id2dba2e2aeaa55ef7464fb35aee9c7d5f96ddb23 --- binutils/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3ed0b0a..ea13226 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,10 @@ 2022-03-16 Simon Marchi + * readelf.c (get_amdgpu_elf_note_type): New. + (process_note): Handle "AMDGPU" notes. + +2022-03-16 Simon Marchi + * readelf.c: Include elf/amdgcn.h. (decode_AMDGPU_machine_flags): New. (get_machine_flags): Handle flags for EM_AMDGPU machine type. -- cgit v1.1