aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/x86/trivial_program.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30selftests/x86: Detect -no-pie availabilityFlorian Weimer1-0/+10
Some toolchains need -no-pie to build all tests, others do not support the -no-pie flag at all. Therefore, add another test for the availability of the flag. This amends commit 3346a6a4e5ba8c040360f753b26938cec31a4bdc ("selftests: x86: sysret_ss_attrs doesn't build on a PIE build"). Signed-off-by: Florian Weimer <fweimer@redhat.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>