mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 09:12:44 +00:00
Add GELF_* accessor macros.
Prodded by: Sam Arun Raj <samarunraj at gmail dot com>
This commit is contained in:
parent
19c7ed845e
commit
dad626cccb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167315
@ -56,6 +56,22 @@ typedef Elf64_Move GElf_Move; /* Move entries */
|
|||||||
typedef Elf64_Syminfo GElf_Syminfo; /* Symbol information */
|
typedef Elf64_Syminfo GElf_Syminfo; /* Symbol information */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define GELF_M_INFO ELF64_M_INFO
|
||||||
|
#define GELF_M_SIZE ELF64_M_SIZE
|
||||||
|
#define GELF_M_SYM ELF64_M_SYM
|
||||||
|
|
||||||
|
#define GELF_R_INFO ELF64_R_INFO
|
||||||
|
#define GELF_R_SYM ELF64_R_SYM
|
||||||
|
#define GELF_R_TYPE ELF64_R_TYPE
|
||||||
|
#define GELF_R_TYPE_DATA ELF64_R_TYPE_DATA
|
||||||
|
#define GELF_R_TYPE_ID ELF64_R_TYPE_ID
|
||||||
|
#define GELF_R_TYPE_INFO ELF64_R_TYPE_INFO
|
||||||
|
|
||||||
|
#define GELF_ST_BIND ELF64_ST_BIND
|
||||||
|
#define GELF_ST_INFO ELF64_ST_INFO
|
||||||
|
#define GELF_ST_TYPE ELF64_ST_TYPE
|
||||||
|
#define GELF_ST_VISIBILITY ELF64_ST_VISIBILITY
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
long gelf_checksum(Elf *_elf);
|
long gelf_checksum(Elf *_elf);
|
||||||
size_t gelf_fsize(Elf *_elf, Elf_Type _type, size_t _count,
|
size_t gelf_fsize(Elf *_elf, Elf_Type _type, size_t _count,
|
||||||
|
Loading…
Reference in New Issue
Block a user