1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
;; SPDX-License-Identifier: BSD-2-Clause
;; Copyright 1996-2017 The NASM Authors - All Rights Reserved
;
; Define a few macros which lets the dbg format process files intended
; for the .obj and .bin formats.
;
OUT: dbg
%define __?SECT?__ [section .text]
%imacro group 1+.nolist
[group %1]
%endmacro
%imacro uppercase 0+.nolist
%pragma dbg uppercase %1
%endmacro
%imacro export 1+.nolist
%pragma dbg export %1
%endmacro
%imacro import 1+.nolist
%pragma dbg import %1
%endmacro
%imacro org 1+.nolist
%pragma dbg org %1
%endmacro
%macro __?NASM_CDecl?__ 1
%endmacro
|