mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
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:
committed by
Will Deacon
parent
c2c742d9ab
commit
a1dbb0adbd
+8
-2
@@ -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*)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user