diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-03-16 13:56:10 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-03-16 13:56:10 -0700 |
commit | 709bf7cb06bdef1483201eae4484ee73733338bd (patch) | |
tree | 1f9f942246008c79821f2370212cc51ccd728cd3 | |
parent | 5857e624c1941271405efa88cd68c5649b19d824 (diff) | |
download | syslinux-709bf7cb06bdef1483201eae4484ee73733338bd.tar.gz |
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>
-rw-r--r-- | diag/mbr/handoff.S | 3 |
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: |