mirror of
https://github.com/intel/isa-l.git
synced 2025-10-27 19:10:18 +01:00
multibinary: move WRT_OPT macro to common header
Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
This commit is contained in:
committed by
Greg Tucker
parent
9d243d0ed7
commit
3ab8239097
@@ -35,12 +35,6 @@
|
|||||||
default rel
|
default rel
|
||||||
[bits 64]
|
[bits 64]
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, elf64
|
|
||||||
%define WRT_OPT wrt ..plt
|
|
||||||
%else
|
|
||||||
%define WRT_OPT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%include "reg_sizes.asm"
|
%include "reg_sizes.asm"
|
||||||
|
|
||||||
extern crc64_ecma_refl_by8
|
extern crc64_ecma_refl_by8
|
||||||
|
|||||||
@@ -30,12 +30,6 @@
|
|||||||
default rel
|
default rel
|
||||||
[bits 64]
|
[bits 64]
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, elf64
|
|
||||||
%define WRT_OPT wrt ..plt
|
|
||||||
%else
|
|
||||||
%define WRT_OPT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%include "reg_sizes.asm"
|
%include "reg_sizes.asm"
|
||||||
|
|
||||||
extern crc32_iscsi_00
|
extern crc32_iscsi_00
|
||||||
|
|||||||
@@ -27,12 +27,6 @@
|
|||||||
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, elf64
|
|
||||||
%define WRT_OPT wrt ..plt
|
|
||||||
%else
|
|
||||||
%define WRT_OPT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%include "reg_sizes.asm"
|
%include "reg_sizes.asm"
|
||||||
%include "multibinary.asm"
|
%include "multibinary.asm"
|
||||||
|
|
||||||
|
|||||||
@@ -30,12 +30,6 @@
|
|||||||
default rel
|
default rel
|
||||||
[bits 64]
|
[bits 64]
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, elf64
|
|
||||||
%define WRT_OPT wrt ..plt
|
|
||||||
%else
|
|
||||||
%define WRT_OPT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%include "reg_sizes.asm"
|
%include "reg_sizes.asm"
|
||||||
|
|
||||||
extern decode_huffman_code_block_stateless_base
|
extern decode_huffman_code_block_stateless_base
|
||||||
|
|||||||
@@ -30,12 +30,6 @@
|
|||||||
default rel
|
default rel
|
||||||
[bits 64]
|
[bits 64]
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, elf64
|
|
||||||
%define WRT_OPT wrt ..plt
|
|
||||||
%else
|
|
||||||
%define WRT_OPT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%include "reg_sizes.asm"
|
%include "reg_sizes.asm"
|
||||||
|
|
||||||
extern isal_deflate_body_base
|
extern isal_deflate_body_base
|
||||||
|
|||||||
@@ -198,6 +198,15 @@ section .text
|
|||||||
section .note.GNU-stack noalloc noexec nowrite progbits
|
section .note.GNU-stack noalloc noexec nowrite progbits
|
||||||
section .text
|
section .text
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifdef REL_TEXT
|
||||||
|
%define WRT_OPT
|
||||||
|
%elifidn __OUTPUT_FORMAT__, elf64
|
||||||
|
%define WRT_OPT wrt ..plt
|
||||||
|
%else
|
||||||
|
%define WRT_OPT
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, macho64
|
%ifidn __OUTPUT_FORMAT__, macho64
|
||||||
%define elf64 macho64
|
%define elf64 macho64
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
@@ -27,12 +27,6 @@
|
|||||||
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, elf64
|
|
||||||
%define WRT_OPT wrt ..plt
|
|
||||||
%else
|
|
||||||
%define WRT_OPT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%include "reg_sizes.asm"
|
%include "reg_sizes.asm"
|
||||||
%include "multibinary.asm"
|
%include "multibinary.asm"
|
||||||
|
|
||||||
|
|||||||
@@ -27,12 +27,6 @@
|
|||||||
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
%ifidn __OUTPUT_FORMAT__, elf64
|
|
||||||
%define WRT_OPT wrt ..plt
|
|
||||||
%else
|
|
||||||
%define WRT_OPT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%include "reg_sizes.asm"
|
%include "reg_sizes.asm"
|
||||||
%include "multibinary.asm"
|
%include "multibinary.asm"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user