aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2013-01-06 03:57:11 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2013-01-06 03:57:11 +0000
commit95abfbe8e9567e08188ada7d29f589f08e539bd6 (patch)
tree1b01c9d602f2d8dc31b447166c47cb05f4b6e7db /include/llvm/Object
parentb2c064c6954c9bfa49b7a7e3223df5e7849464c0 (diff)
downloadexternal_llvm-95abfbe8e9567e08188ada7d29f589f08e539bd6.zip
external_llvm-95abfbe8e9567e08188ada7d29f589f08e539bd6.tar.gz
external_llvm-95abfbe8e9567e08188ada7d29f589f08e539bd6.tar.bz2
[Object][ELF] Fix incorrect size of members for the 64 version of Elf_Phdr_Impl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/ELF.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h
index 37cefd8..46b62de 100644
--- a/include/llvm/Object/ELF.h
+++ b/include/llvm/Object/ELF.h
@@ -464,9 +464,9 @@ struct Elf_Phdr_Impl<target_endianness, max_alignment, true> {
Elf_Off p_offset; // FileOffset where segment is located, in bytes
Elf_Addr p_vaddr; // Virtual Address of beginning of segment
Elf_Addr p_paddr; // Physical address of beginning of segment (OS-specific)
- Elf_Word p_filesz; // Num. of bytes in file image of segment (may be zero)
- Elf_Word p_memsz; // Num. of bytes in mem image of segment (may be zero)
- Elf_Word p_align; // Segment alignment constraint
+ Elf_Xword p_filesz; // Num. of bytes in file image of segment (may be zero)
+ Elf_Xword p_memsz; // Num. of bytes in mem image of segment (may be zero)
+ Elf_Xword p_align; // Segment alignment constraint
};
template<endianness target_endianness, std::size_t max_alignment, bool is64Bits>