mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[llvm-objcopy] Change Segment::Type from uint64_t to uint32_t
Summary: In both Elf{32,64}_Phdr, the field Elf{32,64}_World p_type is uint32_t. Also reorder the fields to be similar to Elf64_Phdr (which is different from Elf32_Phdr but quite similar). Reviewers: rupprecht, jhenderson, jakehehrlich, alexshap, espindola Reviewed By: rupprecht Subscribers: emaste, arichardson, llvm-commits Differential Revision: https://reviews.llvm.org/D55618 llvm-svn: 348985
This commit is contained in:
parent
fc13f3f80a
commit
bc259287ab
@ -256,16 +256,16 @@ private:
|
||||
std::set<const SectionBase *, SectionCompare> Sections;
|
||||
|
||||
public:
|
||||
uint64_t Align;
|
||||
uint64_t FileSize;
|
||||
uint32_t Type;
|
||||
uint32_t Flags;
|
||||
uint32_t Index;
|
||||
uint64_t MemSize;
|
||||
uint64_t Offset;
|
||||
uint64_t PAddr;
|
||||
uint64_t Type;
|
||||
uint64_t VAddr;
|
||||
uint64_t PAddr;
|
||||
uint64_t FileSize;
|
||||
uint64_t MemSize;
|
||||
uint64_t Align;
|
||||
|
||||
uint32_t Index;
|
||||
uint64_t OriginalOffset;
|
||||
Segment *ParentSegment = nullptr;
|
||||
ArrayRef<uint8_t> Contents;
|
||||
|
Loading…
Reference in New Issue
Block a user