diff options
| author | Andrew Ng <anng.sw@gmail.com> | 2018-03-29 14:03:01 +0000 |
|---|---|---|
| committer | Andrew Ng <anng.sw@gmail.com> | 2018-03-29 14:03:01 +0000 |
| commit | fe1d346f996f9a7df76073e0cff2ebefdebc18cf (patch) | |
| tree | 526380d2dcfb01d43a3b2f316d0b6c4a4921e9f3 /llvm/test | |
| parent | 790e422be9e0e9b1e8de250819fcfae84ae6e42c (diff) | |
| download | bcm5719-llvm-fe1d346f996f9a7df76073e0cff2ebefdebc18cf.tar.gz bcm5719-llvm-fe1d346f996f9a7df76073e0cff2ebefdebc18cf.zip | |
[ELF] Fix X86 & X86_64 PLT retpoline padding
The PLT retpoline support for X86 and X86_64 did not include the padding
when writing the header and entries. This issue was revealed when linker
scripts were used, as this disables the built-in behaviour of filling
the last page of executable segments with trap instructions. This
particular behaviour was hiding the missing padding.
Added retpoline tests with linker scripts.
Differential Revision: https://reviews.llvm.org/D44682
llvm-svn: 328777
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions

