| author | |
| committer | |
| log | 12eff09ff486e80ed073edb54074c7d3afbd6fc0 |
| tree | 0ade2b8f181cd9e3ad9846b5afffb4cc3e521aec |
| parent | 074ddf1ac6cefaff21d8b49a126556158ec5bc6b |
1 files changed, 5 insertions(+), 0 deletions(-)
std/elf.zig+5| ... | ... | @@ -877,6 +877,11 @@ pub const Phdr = switch (@sizeOf(usize)) { |
| 877 | 877 | 8 => Elf64_Phdr, |
| 878 | 878 | else => @compileError("expected pointer size of 32 or 64"), |
| 879 | 879 | }; |
| 880 | pub const Dyn = switch (@sizeOf(usize)) { | |
| 881 | 4 => Elf32_Dyn, | |
| 882 | 8 => Elf64_Dyn, | |
| 883 | else => @compileError("expected pointer size of 32 or 64"), | |
| 884 | }; | |
| 880 | 885 | pub const Shdr = switch (@sizeOf(usize)) { |
| 881 | 886 | 4 => Elf32_Shdr, |
| 882 | 887 | 8 => Elf64_Shdr, |