This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] Change Segment::Type from uint64_t to uint32_t
ClosedPublic

Authored by MaskRay on Dec 12 2018, 2:16 PM.

Details

Summary

Elf{32,64}_Word p_type is uint32_t.

Also reorder the fields to be similar to Elf64_Phdr (different from
Elf32_Phdr but quite similar).

Diff Detail

Repository
rL LLVM

Event Timeline

MaskRay created this revision.Dec 12 2018, 2:16 PM
rupprecht accepted this revision.Dec 12 2018, 2:45 PM

Is there a motivation for this change or just cleanup?

This revision is now accepted and ready to land.Dec 12 2018, 2:45 PM

It is a cleanup..

This revision was automatically updated to reflect the committed changes.