diff options
| author | ruki <[email protected]> | 2026-02-12 00:56:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-12 00:56:34 +0800 |
| commit | 3acfe25582459f8eb3237d7ff64baaef706284f3 (patch) | |
| tree | 4569171854032d98ac149badb363915d12fc328a /core/src/xmake/binutils/elf | |
| parent | b445dc4e25b5acceacaabcea627fba3703050e15 (diff) | |
improve readsyms
Diffstat (limited to 'core/src/xmake/binutils/elf')
| -rw-r--r-- | core/src/xmake/binutils/elf/prefix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/xmake/binutils/elf/prefix.h b/core/src/xmake/binutils/elf/prefix.h index 2561b41cb..6bf64b2ed 100644 --- a/core/src/xmake/binutils/elf/prefix.h +++ b/core/src/xmake/binutils/elf/prefix.h @@ -29,6 +29,12 @@ /* ////////////////////////////////////////////////////////////////////////////////////// * macros */ +// ELF file magic: 0x7f 'E' 'L' 'F' +#define XM_ELF_MAGIC0 0x7f +#define XM_ELF_MAGIC1 'E' +#define XM_ELF_MAGIC2 'L' +#define XM_ELF_MAGIC3 'F' + // ELF class #define XM_ELF_EI_CLASS 4 #define XM_ELF_CLASS32 1 |
