diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-11-18 03:46:27 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-11-18 03:46:27 +0000 |
commit | c661945e82b939a942b23a40d9d23b15ec771503 (patch) | |
tree | 75b2778897fb537bac00fccdacd81772ff8423aa | |
parent | 54fbd11221e69eb2c840517b1fb7c1613930f899 (diff) | |
download | ipxe-c661945e82b939a942b23a40d9d23b15ec771503.tar.gz |
[build] Discard junk sections created by newer gcc versions
-rw-r--r-- | src/arch/i386/scripts/efi.lds | 6 | ||||
-rw-r--r-- | src/arch/i386/scripts/i386.lds | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/efi.lds b/src/arch/i386/scripts/efi.lds index 357769e02..b6255a68d 100644 --- a/src/arch/i386/scripts/efi.lds +++ b/src/arch/i386/scripts/efi.lds @@ -149,7 +149,13 @@ SECTIONS { /DISCARD/ : { *(.comment) + *(.comment.*) *(.note) + *(.note.*) + *(.eh_frame) + *(.eh_frame.*) + *(.rel) + *(.rel.*) } /* diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index 985a9b00b..355fb1848 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -145,7 +145,13 @@ SECTIONS { /DISCARD/ : { *(.comment) + *(.comment.*) *(.note) + *(.note.*) + *(.eh_frame) + *(.eh_frame.*) + *(.rel) + *(.rel.*) } /* |