This is an archive of the discontinued LLVM Phabricator instance.

[lld][LinkerScript] Process program header of linker script
ClosedPublic

Authored by denis-protivensky on Jul 29 2015, 5:10 AM.

Details

Summary

Add PT_PHDR segment depending on its availability in linker script's PHDRS command, fallback if no linker script is given.
Handle FILEHDR, PHDRS and FLAGS attributes of program header.
Test cases are included.

Diff Detail

Repository
rL LLVM

Event Timeline

denis-protivensky retitled this revision from to [lld][LinkerScript] Process program header of linker script.
denis-protivensky updated this object.
denis-protivensky added a reviewer: Bigcheese.
denis-protivensky added a project: lld.
denis-protivensky added a subscriber: llvm-commits.
Bigcheese accepted this revision.Aug 11 2015, 11:39 AM
Bigcheese edited edge metadata.

This looks fine.

Not needed for this patch, but we should do clang style diagnostics here.

This revision is now accepted and ready to land.Aug 11 2015, 11:39 AM
This revision was automatically updated to reflect the committed changes.