[build] Discard junk sections created by newer gcc versions
authorMichael Brown <mcb30@etherboot.org>
Tue, 18 Nov 2008 03:46:27 +0000 (03:46 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 18 Nov 2008 03:46:27 +0000 (03:46 +0000)
src/arch/i386/scripts/efi.lds
src/arch/i386/scripts/i386.lds

index 357769e..b6255a6 100644 (file)
@@ -149,7 +149,13 @@ SECTIONS {
 
     /DISCARD/ : {
        *(.comment)
+       *(.comment.*)
        *(.note)
+       *(.note.*)
+       *(.eh_frame)
+       *(.eh_frame.*)
+       *(.rel)
+       *(.rel.*)
     }
 
     /*
index 985a9b0..355fb18 100644 (file)
@@ -145,7 +145,13 @@ SECTIONS {
 
     /DISCARD/ : {
        *(.comment)
+       *(.comment.*)
        *(.note)
+       *(.note.*)
+       *(.eh_frame)
+       *(.eh_frame.*)
+       *(.rel)
+       *(.rel.*)
     }
 
     /*