mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
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:
parent
42de8879a2
commit
abcbe0ea38
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user