diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-02-06 19:10:52 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-02-06 19:11:02 -0200 |
commit | 5ddf146f70a44ed4133dea4d377b172605a1cfa5 (patch) | |
tree | 058b6f58b5ab756f9fe798983e7c7bbf75450509 /tools/perf/bench | |
parent | 781ba9d2ed9df07dbb413fb5ee80ef7d353841c9 (diff) | |
parent | a4a03fc7ef89020baca4f19174e6a43767c6d78a (diff) | |
download | op-kernel-dev-5ddf146f70a44ed4133dea4d377b172605a1cfa5.zip op-kernel-dev-5ddf146f70a44ed4133dea4d377b172605a1cfa5.tar.gz |
Merge branch 'perf/urgent' into perf/core
So that we can get the perf bench exec stack fixes and then apply the
remaining fix for the files added after what is in perf/urgent.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench')
-rw-r--r-- | tools/perf/bench/mem-memcpy-x86-64-asm.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/bench/mem-memcpy-x86-64-asm.S b/tools/perf/bench/mem-memcpy-x86-64-asm.S index a20780b..fcd9cf0 100644 --- a/tools/perf/bench/mem-memcpy-x86-64-asm.S +++ b/tools/perf/bench/mem-memcpy-x86-64-asm.S @@ -4,3 +4,9 @@ #define Lmemcpy_c globl memcpy_c; memcpy_c #define Lmemcpy_c_e globl memcpy_c_e; memcpy_c_e #include "../../../arch/x86/lib/memcpy_64.S" +/* + * We need to provide note.GNU-stack section, saying that we want + * NOT executable stack. Otherwise the final linking will assume that + * the ELF stack should not be restricted at all and set it RWX. + */ +.section .note.GNU-stack,"",@progbits |