]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Add annotation to all assembly files to turn off stack-execute bit 2961/head
authorDan Mick <dan.mick@redhat.com>
Sat, 15 Nov 2014 01:59:57 +0000 (17:59 -0800)
committerDan Mick <dan.mick@redhat.com>
Tue, 18 Nov 2014 23:19:32 +0000 (15:19 -0800)
commit01faf1356f648ded9acda02e7cc67c1adb9e9ee3
tree4375ba8ac3c953c9b75675f1c41e51e238d887f3
parentc069bce4e8180da3c0ca4951365032a45df76468
Add annotation to all assembly files to turn off stack-execute bit

See discussion in http://tracker.ceph.com/issues/10114

Building with these changes allows output from readelf like this:

 $ readelf -lW src/.libs/librados.so.2 | grep GNU_STACK
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0x8

(note the absence of 'X' in 'RW')

Fixes: #10114
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 06a245a9845c0c126fb3106b41b2fd2bc4bc4df3)
(not-yet-present-in-firefly files in isa-l manually removed)
src/common/crc32c_intel_fast_asm.S
src/common/crc32c_intel_fast_zero_asm.S