[ELF] Recommit r299635 to pad x86 executable sections with 0xcc
authorJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 7 Apr 2017 10:36:42 +0000 (10:36 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 7 Apr 2017 10:36:42 +0000 (10:36 +0000)
commit9d9a66373156fc59ce8b3ab7bf6ce8ddd349695e
tree02d6a2d66c69d3651e5ef8ebd38b99b6355c30da
parentdb1bdf472aed54d2252071eff67eacb98b63509c
[ELF] Recommit r299635 to pad x86 executable sections with 0xcc

This follows r299748 which fixed a latent bug the original commit exposed.

llvm-svn: 299755
13 files changed:
lld/ELF/LinkerScript.cpp
lld/ELF/LinkerScript.h
lld/ELF/OutputSections.cpp
lld/ELF/OutputSections.h
lld/ELF/SyntheticSections.cpp
lld/ELF/Target.cpp
lld/ELF/Target.h
lld/ELF/Writer.cpp
lld/test/ELF/default-fill.s [new file with mode: 0644]
lld/test/ELF/linkerscript/excludefile.s
lld/test/ELF/linkerscript/fill-exec-sections.s [new file with mode: 0644]
lld/test/ELF/linkerscript/fill.s
lld/test/ELF/linkerscript/sections-padding.s