qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] building openbios-qemu.elf?
@ 2009-02-23 19:52 Hollis Blanchard
  2009-02-23 23:07 ` [Qemu-devel] Re: [OpenBIOS] " Laurent Vivier
  2009-02-24 20:23 ` [Qemu-devel] " Blue Swirl
  0 siblings, 2 replies; 8+ messages in thread
From: Hollis Blanchard @ 2009-02-23 19:52 UTC (permalink / raw)
  To: openbios; +Cc: qemu-devel

Hi, I just tried to build openbios-qemu.elf, but it is a little too big
(1MB + 4 bytes):

Elf file type is EXEC (Executable file)
Entry point 0xfff08000
There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000094 0xfff00000 0xfff00000 0x100000 0x100000 RWE 0x4
  LOAD           0x100094 0xfffffffc 0xfffffffc 0x00004 0x00004 R E 0x1
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4

 Section to Segment mapping:
  Segment Sections...
   00     .text.vectors .text .rodata .data .sdata .bss .sbss 
   01     .romentry 
   02     

In contrast, the openbios-ppc binary in qemu looks like this:

Elf file type is EXEC (Executable file)
Entry point 0xfff08000
There are 2 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000074 0xfff00000 0xfff00000 0x41044 0x4bc44 RWE 0x4
  LOAD           0x0410b8 0xfffffffc 0xfffffffc 0x00004 0x00004 R E 0x1

 Section to Segment mapping:
  Segment Sections...
   00     .text.vectors .text .rodata .data .sdata .bss .sbss.1 .sbss.2 .sbss.3 .sbss.4 .sbss.5 .sbss.6 .sbss.7 .sbss.8 
   01     .romentry 

I'm building with gcc 4.2.3. Any ideas?

-- 
Hollis Blanchard
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-02-26  8:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23 19:52 [Qemu-devel] building openbios-qemu.elf? Hollis Blanchard
2009-02-23 23:07 ` [Qemu-devel] Re: [OpenBIOS] " Laurent Vivier
2009-02-24 16:09   ` Hollis Blanchard
2009-02-24 20:23 ` [Qemu-devel] " Blue Swirl
2009-02-24 20:27   ` Blue Swirl
2009-02-25 21:03     ` Hollis Blanchard
2009-02-25 22:09       ` Laurent Vivier
2009-02-26  7:35       ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).