mirror of
https://github.com/intel/isa-l.git
synced 2025-01-31 10:31:12 +01:00
crc: Fix symbol conflict with older assemblers
Change-Id: I6f1322a5fecdf21b2c774454cd51cb56767f30b8 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
parent
d7848c1d05
commit
533ba53f11
@ -37,6 +37,10 @@
|
||||
;
|
||||
%include "reg_sizes.asm"
|
||||
|
||||
%ifndef FUNCTION_NAME
|
||||
%define FUNCTION_NAME crc64_iso_norm_by16_10
|
||||
%endif
|
||||
|
||||
%if (AS_FEATURE_LEVEL) >= 10
|
||||
|
||||
%define fetch_dist 1024
|
||||
@ -64,10 +68,6 @@ section .text
|
||||
%define VARIABLE_OFFSET 16*2+8
|
||||
%endif
|
||||
|
||||
%ifndef FUNCTION_NAME
|
||||
%define FUNCTION_NAME crc64_iso_norm_by16_10
|
||||
%endif
|
||||
|
||||
align 16
|
||||
global FUNCTION_NAME:ISAL_SYM_TYPE_FUNCTION
|
||||
FUNCTION_NAME:
|
||||
@ -519,6 +519,6 @@ dq 0x8080808080808080, 0x8080808080808080
|
||||
%else ; Assembler doesn't understand these opcodes. Add empty symbol for windows.
|
||||
%ifidn __OUTPUT_FORMAT__, win64
|
||||
global no_ %+ FUNCTION_NAME
|
||||
no_ %+ FUNCTION_NAME:
|
||||
no_ %+ FUNCTION_NAME %+ :
|
||||
%endif
|
||||
%endif ; (AS_FEATURE_LEVEL) >= 10
|
||||
|
@ -37,6 +37,10 @@
|
||||
;
|
||||
%include "reg_sizes.asm"
|
||||
|
||||
%ifndef FUNCTION_NAME
|
||||
%define FUNCTION_NAME crc64_iso_refl_by16_10
|
||||
%endif
|
||||
|
||||
%if (AS_FEATURE_LEVEL) >= 10
|
||||
|
||||
%define fetch_dist 1024
|
||||
@ -65,10 +69,6 @@ section .text
|
||||
%define VARIABLE_OFFSET 16*2+8
|
||||
%endif
|
||||
|
||||
%ifndef FUNCTION_NAME
|
||||
%define FUNCTION_NAME crc64_iso_refl_by16_10
|
||||
%endif
|
||||
|
||||
align 16
|
||||
global FUNCTION_NAME:ISAL_SYM_TYPE_FUNCTION
|
||||
FUNCTION_NAME:
|
||||
@ -489,6 +489,6 @@ mask3: dq 0x8080808080808080, 0x8080808080808080
|
||||
%else ; Assembler doesn't understand these opcodes. Add empty symbol for windows.
|
||||
%ifidn __OUTPUT_FORMAT__, win64
|
||||
global no_ %+ FUNCTION_NAME
|
||||
no_ %+ FUNCTION_NAME:
|
||||
no_ %+ FUNCTION_NAME %+ :
|
||||
%endif
|
||||
%endif ; (AS_FEATURE_LEVEL) >= 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user