2b933a
diff -urpN gnu-efi-3.0e/gnuefi/elf_ia32_efi.lds.pad gnu-efi-3.0e/gnuefi/elf_ia32_efi.lds
2b933a
--- gnu-efi-3.0e/gnuefi/elf_ia32_efi.lds.pad	2009-02-13 16:07:40.000000000 -0500
2b933a
+++ gnu-efi-3.0e/gnuefi/elf_ia32_efi.lds	2009-02-13 16:07:45.000000000 -0500
2b933a
@@ -5,17 +5,23 @@ SECTIONS
2b933a
 {
2b933a
   . = 0;
2b933a
   ImageBase = .;
2b933a
-  .hash : { *(.hash) }	/* this MUST come first! */
2b933a
+  .hash : /* this MUST come first! */
2b933a
+  {
2b933a
+   *(.hash)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   .text :
2b933a
   {
2b933a
    *(.text)
2b933a
    *(.text.*)
2b933a
    *(.gnu.linkonce.t.*)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   .reloc :
2b933a
   {
2b933a
    *(.reloc)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
   .data :
2b933a
@@ -34,25 +40,39 @@ SECTIONS
2b933a
    *(.dynbss)
2b933a
    *(.bss)
2b933a
    *(COMMON)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynamic  : { *(.dynamic) }
2b933a
+  .dynamic :
2b933a
+  {
2b933a
+   *(.dynamic)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   .rel :
2b933a
   {
2b933a
-    *(.rel.data)
2b933a
-    *(.rel.data.*)
2b933a
-    *(.rel.got)
2b933a
-    *(.rel.stab)
2b933a
-    *(.data.rel.ro.local)
2b933a
-    *(.data.rel.local)
2b933a
-    *(.data.rel.ro)
2b933a
-    *(.data.rel*)
2b933a
+   *(.rel.data)
2b933a
+   *(.rel.data.*)
2b933a
+   *(.rel.got)
2b933a
+   *(.rel.stab)
2b933a
+   *(.data.rel.ro.local)
2b933a
+   *(.data.rel.local)
2b933a
+   *(.data.rel.ro)
2b933a
+   *(.data.rel*)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynsym   : { *(.dynsym) }
2b933a
+  .dynsym :
2b933a
+  {
2b933a
+   *(.dynsym)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynstr   : { *(.dynstr) }
2b933a
+  .dynstr :
2b933a
+  {
2b933a
+   *(.dynstr)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   /DISCARD/ :
2b933a
   {
2b933a
diff -urpN gnu-efi-3.0e/gnuefi/elf_ia64_efi.lds.pad gnu-efi-3.0e/gnuefi/elf_ia64_efi.lds
2b933a
--- gnu-efi-3.0e/gnuefi/elf_ia64_efi.lds.pad	2009-02-13 16:07:40.000000000 -0500
2b933a
+++ gnu-efi-3.0e/gnuefi/elf_ia64_efi.lds	2009-02-13 16:07:45.000000000 -0500
2b933a
@@ -5,13 +5,18 @@ SECTIONS
2b933a
 {
2b933a
   . = 0;
2b933a
   ImageBase = .;
2b933a
-  .hash : { *(.hash) }	/* this MUST come first! */
2b933a
+  .hash : /* this MUST come first! */
2b933a
+  {
2b933a
+   *(.hash)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   .text :
2b933a
   {
2b933a
    *(.text)
2b933a
    *(.text.*)
2b933a
    *(.gnu.linkonce.t.*)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
   __gp = ALIGN (8) + 0x200000;
2b933a
@@ -23,6 +28,7 @@ SECTIONS
2b933a
    *(.sdata)
2b933a
    *(.sbss)
2b933a
    *(.scommon)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
   .data :
2b933a
@@ -37,29 +43,44 @@ SECTIONS
2b933a
    *(.dynbss)
2b933a
    *(.bss)
2b933a
    *(COMMON)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynamic  : { *(.dynamic) }
2b933a
+  .dynamic :
2b933a
+  {
2b933a
+   *(.dynamic)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   .rela :
2b933a
   {
2b933a
-    *(.rela.text)
2b933a
-    *(.rela.data*)
2b933a
-    *(.rela.sdata)
2b933a
-    *(.rela.got)
2b933a
-    *(.rela.gnu.linkonce.d*)
2b933a
-    *(.rela.stab)
2b933a
-    *(.rela.ctors)
2b933a
+   *(.rela.text)
2b933a
+   *(.rela.data*)
2b933a
+   *(.rela.sdata)
2b933a
+   *(.rela.got)
2b933a
+   *(.rela.gnu.linkonce.d*)
2b933a
+   *(.rela.stab)
2b933a
+   *(.rela.ctors)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
   .reloc :		/* This is the PECOFF .reloc section! */
2b933a
   {
2b933a
     *(.reloc)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynsym   : { *(.dynsym) }
2b933a
+  .dynsym :
2b933a
+  {
2b933a
+   *(.dynsym)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynstr   : { *(.dynstr) }
2b933a
+  .dynstr :
2b933a
+  {
2b933a
+   *(.dynstr)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   /DISCARD/ :
2b933a
   {
2b933a
     *(.rela.plabel)
2b933a
diff -urpN gnu-efi-3.0e/gnuefi/elf_x86_64_efi.lds.pad gnu-efi-3.0e/gnuefi/elf_x86_64_efi.lds
2b933a
--- gnu-efi-3.0e/gnuefi/elf_x86_64_efi.lds.pad	2009-02-13 16:07:40.000000000 -0500
2b933a
+++ gnu-efi-3.0e/gnuefi/elf_x86_64_efi.lds	2009-02-13 16:07:45.000000000 -0500
2b933a
@@ -5,20 +5,27 @@ SECTIONS
2b933a
 {
2b933a
   . = 0;
2b933a
   ImageBase = .;
2b933a
-  .hash : { *(.hash) }	/* this MUST come first! */
2b933a
+  .hash : /* this MUST come first! */
2b933a
+  {
2b933a
+   *(.hash)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   .eh_frame : 
2b933a
   { 
2b933a
     *(.eh_frame)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
   .text :
2b933a
   {
2b933a
    *(.text)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   .reloc :
2b933a
   {
2b933a
    *(.reloc)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
   .data :
2b933a
@@ -36,23 +43,38 @@ SECTIONS
2b933a
    *(.bss)
2b933a
    *(COMMON)
2b933a
    *(.rel.local)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynamic  : { *(.dynamic) }
2b933a
+  .dynamic :
2b933a
+  {
2b933a
+   *(.dynamic)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   .rela :
2b933a
   {
2b933a
-    *(.rela.data*)
2b933a
-    *(.rela.got)
2b933a
-    *(.rela.stab)
2b933a
+   *(.rela.data*)
2b933a
+   *(.rela.got)
2b933a
+   *(.rela.stab)
2b933a
+   LONG(0)
2b933a
   }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynsym   : { *(.dynsym) }
2b933a
+  .dynsym :
2b933a
+  {
2b933a
+   *(.dynsym)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
-  .dynstr   : { *(.dynstr) }
2b933a
+  .dynstr :
2b933a
+  {
2b933a
+   *(.dynstr)
2b933a
+   LONG(0)
2b933a
+  }
2b933a
   . = ALIGN(4096);
2b933a
   .ignored.reloc :
2b933a
   {
2b933a
-    *(.rela.reloc)
2b933a
+   *(.rela.reloc)
2b933a
+   LONG(0)
2b933a
   }
2b933a
 }