Initial import
This commit is contained in:
18
libc/elf/struct/phdr.h
Normal file
18
libc/elf/struct/phdr.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_ELF_STRUCT_PHDR_H_
|
||||
#define COSMOPOLITAN_LIBC_ELF_STRUCT_PHDR_H_
|
||||
#include "libc/elf/scalar.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef struct Elf64_Phdr {
|
||||
Elf64_Word p_type;
|
||||
Elf64_Word p_flags;
|
||||
Elf64_Off p_offset;
|
||||
Elf64_Addr p_vaddr;
|
||||
Elf64_Addr p_paddr;
|
||||
Elf64_Xword p_filesz;
|
||||
Elf64_Xword p_memsz;
|
||||
Elf64_Xword p_align;
|
||||
} Elf64_Phdr;
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_ELF_STRUCT_PHDR_H_ */
|
||||
Reference in New Issue
Block a user