From: Simon Glass Date: Wed, 17 Apr 2013 16:13:31 +0000 (+0000) Subject: x86: Remove unused portion of link script X-Git-Tag: v2013.07-rc1~1^2~54^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=20a8b41d50f2b07e709488af3570692c5dd0cb05;p=oweals%2Fu-boot.git x86: Remove unused portion of link script Since we don't have real-mode code now, we can remove this chunk of the link script. Signed-off-by: Simon Glass Acked-by: Graeme Russ --- diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds index 2d6911aa41..b4ecd4bd4a 100644 --- a/arch/x86/cpu/u-boot.lds +++ b/arch/x86/cpu/u-boot.lds @@ -79,18 +79,6 @@ SECTIONS /DISCARD/ : { *(.interp*) } /DISCARD/ : { *(.gnu*) } - /* 16bit realmode trampoline code */ - .realmode REALMODE_BASE : AT ( LOADADDR(.rel.dyn) + SIZEOF(.rel.dyn) ) { KEEP(*(.realmode)) } - - __realmode_start = LOADADDR(.realmode); - __realmode_size = SIZEOF(.realmode); - - /* 16bit BIOS emulation code (just enough to boot Linux) */ - .bios 0 : AT ( LOADADDR(.realmode) + SIZEOF(.realmode) ) { KEEP(*(.bios)) } - - __bios_start = LOADADDR(.bios); - __bios_size = SIZEOF(.bios); - #ifdef CONFIG_X86_RESET_VECTOR /*