aboutsummaryrefslogtreecommitdiffstats
path: root/diag
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-03-16 13:56:10 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-03-16 13:56:10 -0700
commit709bf7cb06bdef1483201eae4484ee73733338bd (patch)
tree1f9f942246008c79821f2370212cc51ccd728cd3 /diag
parent5857e624c1941271405efa88cd68c5649b19d824 (diff)
downloadsyslinux-709bf7cb06bdef1483201eae4484ee73733338bd.tar.gz
syslinux-709bf7cb06bdef1483201eae4484ee73733338bd.tar.xz
syslinux-709bf7cb06bdef1483201eae4484ee73733338bd.zip
diag/mbr/handoff.S: Fix compilation problems with gas 2.21.51
The construct used for zero-padding in handoff.S doesn't work with gas 2.21.51. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'diag')
-rw-r--r--diag/mbr/handoff.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/diag/mbr/handoff.S b/diag/mbr/handoff.S
index 74534322..953180dd 100644
--- a/diag/mbr/handoff.S
+++ b/diag/mbr/handoff.S
@@ -340,6 +340,5 @@ die:
zerob: /* Begin zeroing block to fill to desired length */
/* 420 bytes for FAT32 */
-zeroln = (420 - (zerob - _start))
- .=.+zeroln /* prevents overflow */
+ .space 420 - (zerob - _start)
zeroe: