From 709bf7cb06bdef1483201eae4484ee73733338bd Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 16 Mar 2011 13:56:10 -0700 Subject: 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 --- diag/mbr/handoff.S | 3 +-- 1 file changed, 1 insertion(+), 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: -- cgit v1.2.1