ref: 3243a789597147506715cff9c5ccd5d107737726
parent: 9b442b3d44bbb2afcdf0bea6e75191d4bacc8982
author: Martin Storsjö <martin@martin.st>
date: Sun Feb 1 18:03:25 EST 2015
Move DEFAULT REL into the x86_64 cases This fixes warnings when building for x86_32 using yasm, which says the "DEFAULT REL" is ignored for non-64-bit targets.
--- a/codec/common/x86/asm_inc.asm
+++ b/codec/common/x86/asm_inc.asm
@@ -60,10 +60,10 @@
; Macros
;***********************************************************************
-DEFAULT REL
-
%ifdef WIN64 ; Windows x64 ;************************************
+DEFAULT REL
+
BITS 64
%define arg1 rcx
@@ -113,6 +113,8 @@
%define retrd eax
%elifdef UNIX64 ; Unix x64 ;************************************
+
+DEFAULT REL
BITS 64