mirror of
https://github.com/ceph/ceph
synced 2024-12-15 16:07:00 +00:00
crc32c: only add qualifiers for elf64 format
they are not understood by non-elf formats Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
b7fbe46d55
commit
5b0ad9a8a8
@ -662,5 +662,7 @@ global %1_slver
|
||||
%endmacro
|
||||
;;; func core, ver, snum
|
||||
slversion crc32_iscsi_00, 00, 02, 0014
|
||||
%ifidn __OUTPUT_FORMAT__, elf64
|
||||
; inform linker that this doesn't require executable stack
|
||||
section .note.GNU-stack noalloc noexec nowrite progbits
|
||||
%endif
|
||||
|
@ -644,5 +644,7 @@ global %1_slver
|
||||
%endmacro
|
||||
;;; func core, ver, snum
|
||||
slversion crc32_iscsi_zero_00, 00, 02, 0014
|
||||
%ifidn __OUTPUT_FORMAT__, elf64
|
||||
; inform linker that this doesn't require executable stack
|
||||
section .note.GNU-stack noalloc noexec nowrite progbits
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user