|
1 | 1 | pub type greg_t = ::c_long; |
2 | 2 |
|
| 3 | +pub type Elf64_Addr = ::c_ulong; |
| 4 | +pub type Elf64_Half = ::c_ushort; |
| 5 | +pub type Elf64_Off = ::c_ulong; |
| 6 | +pub type Elf64_Sword = ::c_int; |
| 7 | +pub type Elf64_Sxword = ::c_long; |
| 8 | +pub type Elf64_Word = ::c_uint; |
| 9 | +pub type Elf64_Xword = ::c_ulong; |
| 10 | +pub type Elf64_Lword = ::c_ulong; |
| 11 | +pub type Elf64_Phdr = __c_anonymous_Elf64_Phdr; |
| 12 | + |
3 | 13 | s! { |
4 | 14 | pub struct __c_anonymous_fpchip_state { |
5 | 15 | pub cw: u16, |
|
17 | 27 | pub status: u32, |
18 | 28 | pub xstatus: u32, |
19 | 29 | } |
| 30 | + |
| 31 | + pub struct __c_anonymous_Elf64_Phdr { |
| 32 | + pub p_type: ::Elf64_Word, |
| 33 | + pub p_flags: ::Elf64_Word, |
| 34 | + pub p_offset: ::Elf64_Off, |
| 35 | + pub p_vaddr: ::Elf64_Addr, |
| 36 | + pub p_paddr: ::Elf64_Addr, |
| 37 | + pub p_filesz: ::Elf64_Xword, |
| 38 | + pub p_memsz: ::Elf64_Xword, |
| 39 | + pub p_align: ::Elf64_Xword, |
| 40 | + } |
| 41 | + |
| 42 | + pub struct dl_phdr_info { |
| 43 | + pub dlpi_addr: ::Elf64_Addr, |
| 44 | + pub dlpi_name: *const ::c_char, |
| 45 | + pub dlpi_phdr: *const ::Elf64_Phdr, |
| 46 | + pub dlpi_phnum: ::Elf64_Half, |
| 47 | + pub dlpi_adds: ::c_ulonglong, |
| 48 | + pub dlpi_subs: ::c_ulonglong, |
| 49 | + } |
20 | 50 | } |
21 | 51 |
|
22 | 52 | s_no_extra_traits! { |
|
0 commit comments