From fd9f3f885c13c67d154769ce88420b946abe42f9 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 9 Jun 2006 02:57:09 +0000 Subject: [PATCH] Support __OUTPUT_FORMAT__ (NASM naming) as alias for __YASM_OBJFMT__. Requested by: Mike Frysinger svn path=/trunk/yasm/; revision=1557 --- modules/preprocs/nasm/standard.mac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/preprocs/nasm/standard.mac b/modules/preprocs/nasm/standard.mac index 85170cb2..efe139ea 100644 --- a/modules/preprocs/nasm/standard.mac +++ b/modules/preprocs/nasm/standard.mac @@ -111,6 +111,9 @@ __SECT__ [cpu %1] %endmacro +; NASM compatibility shim +%define __OUTPUT_FORMAT__ __YASM_OBJFMT__ + %ifidn __YASM_OBJFMT__,bin %imacro org 1+.nolist [org %1] -- 2.40.0