[build] Fix building with binutils 2.16
authorMichael Brown <mcb30@ipxe.org>
Tue, 27 Apr 2010 08:52:22 +0000 (09:52 +0100)
committerStefan Hajnoczi <stefanha@gmail.com>
Wed, 7 Jul 2010 19:14:37 +0000 (20:14 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
src/arch/i386/scripts/i386.lds

index 278a397..0ce2c10 100644 (file)
@@ -24,6 +24,8 @@ SECTIONS {
      *
      */
 
+    PROVIDE ( _max_align = 16 );
+
     /*
      * The prefix
      *
@@ -169,7 +171,6 @@ SECTIONS {
      *
      */
 
-    PROVIDE ( _max_align = 16 );
     .                  = 0;
 
     .                  = ALIGN ( _max_align );