mirror of
https://github.com/intel/isa-l.git
synced 2025-10-29 04:17:53 +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
@@ -198,6 +198,15 @@ section .text
|
||||
section .note.GNU-stack noalloc noexec nowrite progbits
|
||||
section .text
|
||||
%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
|
||||
%define elf64 macho64
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user