HomePhabricator

[LLD][COFF] Implement /filealign parameter

Authored by ruiu on May 24 2019, 5:42 AM.

Description

[LLD][COFF] Implement /filealign parameter

Patch by Stefan Schmidt.

This adds the /filealign parameter to lld, which allows to specify the
section alignment in the output file (as it does on Microsoft's
link.exe).

This is required to be able to load dynamically linked libraries on the
original Xbox, where the debugger monitor expects the section alignment
in the file to be the same as in memory.

llvm-svn: 361634

Details

Committed
ruiuMay 24 2019, 5:42 AM
Parents
rG8362cbe13b32: [llvm-readobj] Implement GNU-style output for dynamic table
Branches
Unknown
Tags
Unknown