outdbg: add macro to emulate .bin format ORG directive

Just stub out "org" as a macro to be able to read source files that
are designed for the .bin format.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin (Intel) 2020-08-25 15:50:11 -07:00
parent 42de8879a2
commit abcbe0ea38

View file

@ -33,7 +33,7 @@
;
; Define a few macros which lets the dbg format process files intended
; for the .obj format.
; for the .obj and .bin formats.
;
OUT: dbg
%define __?SECT?__ [section .text]
@ -49,5 +49,8 @@ OUT: dbg
%imacro import 1+.nolist
%pragma dbg import %1
%endmacro
%imacro org 1+.nolist
%pragma dbg org %1
%endmacro
%macro __?NASM_CDecl?__ 1
%endmacro