summaryrefslogtreecommitdiff
path: root/core/adv.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-04-13 15:09:41 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2009-04-13 15:09:41 -0700
commit7474bc582bb14eac6c3b35a08376d853dee7f8f1 (patch)
tree527cdfd1e0ce4953dfda4fb0a91b2945b0078c4f /core/adv.inc
parent577ee32fca7467a1cf11778ae88d423c5cbbb8d4 (diff)
downloadsyslinux-7474bc582bb14eac6c3b35a08376d853dee7f8f1.tar.gz
core: add alignz macro (analogous to "alignb") for zero-pad align
Add a new macro "alignz" to align with zero bytes; use to align inside a data section (i.e. a progbits section which doesn't contain code.) Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/adv.inc')
-rw-r--r--core/adv.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/adv.inc b/core/adv.inc
index 1fe5aca2..03bb25d8 100644
--- a/core/adv.inc
+++ b/core/adv.inc
@@ -493,7 +493,7 @@ adv_read_write:
jmp .cb_done
section .data
- align 4, db 0
+ alignz 4
ADVSec0 dd 0 ; Not specified
ADVSec1 dd 0 ; Not specified
ADVDrive db -1 ; No ADV defined