Commit-ID: 6fe75997315a347c6fd610d0fd3b62b561e65c59 Gitweb: http://git.kernel.org/tip/6fe75997315a347c6fd610d0fd3b62b561e65c59 Author: Pekka Enberg <penberg@xxxxxxxxxx> AuthorDate: Tue, 31 Jan 2012 16:52:13 +0200 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Tue, 31 Jan 2012 16:53:50 +0200 kvm tools, bios: Don't specify ELF PHDRs The BIOS ROM is a flat binary so there's no need to specify ELF Program Headers. Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Sasha Levin <levinsasha928@xxxxxxxxx> Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/x86/bios/rom.ld.S | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/tools/kvm/x86/bios/rom.ld.S b/tools/kvm/x86/bios/rom.ld.S index f122b97..98c53aa 100644 --- a/tools/kvm/x86/bios/rom.ld.S +++ b/tools/kvm/x86/bios/rom.ld.S @@ -1,17 +1,10 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) -PHDRS { - text PT_LOAD FLAGS(5); /* R_E */ - data PT_LOAD FLAGS(7); /* RWE */ - user PT_LOAD FLAGS(5); /* R_E */ - percpu PT_LOAD FLAGS(6); /* RW_ */ - init PT_LOAD FLAGS(7); /* RWE */ - note PT_NOTE FLAGS(0); /* ___ */ -} - SECTIONS { . = 0; - .text : { *(.text) } :text = 0x9090 + .text : { + *(.text) + } } -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html