kvm tools, x86: Drop unneeded sections in rom building script

Otherwise overlaps might happen (and actually having anything but .text
here at moment make no sense) and it triggers the following error on
Golden ld

 # ld: error: load segment overlap [0x0 -> 0x38c] and [0x0 -> 0x0]

Reported-and-tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Cyrill Gorcunov
2012-03-08 17:36:10 +04:00
committed by Will Deacon
parent c2c742d9ab
commit a1dbb0adbd
+8 -2
View File
@@ -2,9 +2,15 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
SECTIONS {
. = 0;
.text : {
.text 0 : {
*(.text)
}
/DISCARD/ : {
*(.debug*)
*(.data)
*(.bss)
*(.eh_frame*)
}
}