Changes to assembler for NASM on mac.

fixes non-Apple nasm part of issue #755

Change-Id: I11955d270c4ee55e3c00e99f568de01b95e7ea9a
This commit is contained in:
John Stark
2014-11-21 21:11:26 +01:00
committed by James Zern
parent b87c51ce55
commit 71379b87df
4 changed files with 18 additions and 10 deletions

View File

@@ -617,9 +617,17 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
%elifidn __OUTPUT_FORMAT__,elf64
global %1:function hidden
%elifidn __OUTPUT_FORMAT__,macho32
global %1:private_extern
%ifdef __NASM_VER__
global %1
%else
global %1:private_extern
%endif
%elifidn __OUTPUT_FORMAT__,macho64
global %1:private_extern
%ifdef __NASM_VER__
global %1
%else
global %1:private_extern
%endif
%else
global %1
%endif