diff options
author | Michael Brown | 2008-11-18 04:46:27 +0100 |
---|---|---|
committer | Michael Brown | 2008-11-18 04:46:27 +0100 |
commit | c661945e82b939a942b23a40d9d23b15ec771503 (patch) | |
tree | 75b2778897fb537bac00fccdacd81772ff8423aa | |
parent | [build] Keep gcc 4.4 happy (diff) | |
download | ipxe-c661945e82b939a942b23a40d9d23b15ec771503.tar.gz ipxe-c661945e82b939a942b23a40d9d23b15ec771503.tar.xz ipxe-c661945e82b939a942b23a40d9d23b15ec771503.zip |
[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 357769e0..b6255a68 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 985a9b00..355fb184 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.*) } /* |