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