elf.h: drop Elf*_Chdr (libelf.h defines its own; conflicting types)

The Chdr structs were added speculatively but libelf's <libelf.h> defines its
own Elf32_Chdr/Elf64_Chdr, causing 'conflicting types'. gelf.h only needed
Sword/Versym/Lib/Relr, which remain.
This commit is contained in:
2026-07-31 18:05:53 +03:00
parent dcbf391515
commit 4c93e2ca3f
-12
View File
@@ -67,18 +67,6 @@ typedef struct {
uint32_t l_version;
uint32_t l_flags;
} Elf64_Lib;
typedef struct {
uint32_t ch_type;
uint32_t ch_size;
uint32_t ch_addralign;
} Elf32_Chdr;
typedef struct {
uint32_t ch_type;
uint32_t ch_reserved;
uint64_t ch_size;
uint64_t ch_addralign;
} Elf64_Chdr;
"""
include_guard = "_ELF_H"
language = "C"