summaryrefslogtreecommitdiff
path: root/macros/standard.mac
diff options
context:
space:
mode:
Diffstat (limited to 'macros/standard.mac')
-rw-r--r--macros/standard.mac5
1 files changed, 4 insertions, 1 deletions
diff --git a/macros/standard.mac b/macros/standard.mac
index a6c50b68..fa543f4e 100644
--- a/macros/standard.mac
+++ b/macros/standard.mac
@@ -1,6 +1,6 @@
;; --------------------------------------------------------------------------
;;
-;; Copyright 1996-2016 The NASM Authors - All Rights Reserved
+;; Copyright 1996-2019 The NASM Authors - All Rights Reserved
;; See the file AUTHORS included with the NASM distribution for
;; the specific copyright holders.
;;
@@ -124,7 +124,10 @@ STD: nasm
%imacro alignb 1-2+.nolist
sectalign %1
%ifempty %2
+ [warning push]
+ [warning -zeroing]
resb (((%1) - (($-$$) % (%1))) % (%1))
+ [warning pop]
%else
times (((%1) - (($-$$) % (%1))) % (%1)) %2
%endif