aboutsummaryrefslogtreecommitdiffstats
path: root/core/isolinux.asm
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/isolinux.asm
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/isolinux.asm')
-rw-r--r--core/isolinux.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index e3599d9c..675c8221 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -1066,7 +1066,7 @@ bios_cbios_str db 'CHDD', 0
bios_ebios_str db 'EHDD' ,0
%endif
- alignb 4, db 0
+ alignz 4
bios_cdrom: dw getlinsec_cdrom, bios_cdrom_str
%ifndef DEBUG_MESSAGES
bios_cbios: dw getlinsec_cbios, bios_cbios_str
@@ -1744,7 +1744,7 @@ dbg_configok_msg db 'Configuration file opened...', CR, LF, 0
;
; Extensions to search for (in *forward* order).
;
- align 4, db 0
+ alignz 4
exten_table: db '.cbt' ; COMBOOT (specific)
db '.img' ; Disk image
db '.bin' ; CD boot sector
@@ -1756,7 +1756,7 @@ exten_table_end:
;
; Floppy image table
;
- align 4, db 0
+ alignz 4
img_table_count equ 3
img_table:
dd 1200*1024 ; 1200K floppy
@@ -1787,7 +1787,7 @@ img_table:
; **** ISOLINUX:: We may have to make this flexible, based on what the
; **** BIOS expects our "sector size" to be.
;
- alignb 4, db 0
+ alignz 4
BufSafe dw trackbufsize/SECTOR_SIZE ; Clusters we can load into trackbuf
BufSafeBytes dw trackbufsize ; = how many bytes?
%ifndef DEPEND