This is an archive of the discontinued LLVM Phabricator instance.

[yaml2obj] Support PT_GNU_STACK and PT_GNU_RELRO
ClosedPublic

Authored by MaskRay on Sep 4 2019, 12:27 AM.

Details

Summary

PT_GNU_STACK is used in an llvm-objcopy test.

I plan to use PT_GNU_RELRO in a patch to improve nested segment
processing in llvm-objcopy (PR42963).

Diff Detail

Repository
rL LLVM

Event Timeline

MaskRay created this revision.Sep 4 2019, 12:27 AM
grimar accepted this revision.Sep 4 2019, 2:05 AM

LGTM

This revision is now accepted and ready to land.Sep 4 2019, 2:05 AM
MaskRay updated this revision to Diff 218617.Sep 4 2019, 2:16 AM
MaskRay edited the summary of this revision. (Show Details)

Update a test test/tools/llvm-objcopy/ELF/marker-segment.test to use PT_GNU_STACK
Add numbers beside Type: PT_*

This revision was automatically updated to reflect the committed changes.