[syslinux:master] diag/mbr/handoff.S: Fix compilation problems with gas 2.21.51
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Wed Mar 16 14:00:31 PDT 2011
Commit-ID: 709bf7cb06bdef1483201eae4484ee73733338bd
Gitweb: http://syslinux.zytor.com/commit/709bf7cb06bdef1483201eae4484ee73733338bd
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 16 Mar 2011 13:56:10 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 16 Mar 2011 13:56:10 -0700
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 at zytor.com>
---
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 7453432..953180d 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:
More information about the Syslinux-commits
mailing list