mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
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
This commit is contained in:

committed by
Simon Marchi

parent
c077c5802c
commit
28cdbb183b
@ -87,4 +87,8 @@
|
||||
#define EF_AMDGPU_FEATURE_SRAMECC_OFF_V4 0x800
|
||||
#define EF_AMDGPU_FEATURE_SRAMECC_ON_V4 0xc00
|
||||
|
||||
/* Notes. */
|
||||
|
||||
#define NT_AMDGPU_METADATA 32
|
||||
|
||||
#endif /* _ELF_AMDGPU_H */
|
||||
|
Reference in New Issue
Block a user