qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: qemu-devel@nongnu.org
Cc: openbios@openbios.org
Subject: Re: [Qemu-devel] building openbios-qemu.elf?
Date: Wed, 25 Feb 2009 15:03:45 -0600	[thread overview]
Message-ID: <1235595825.16070.81.camel@slate.austin.ibm.com> (raw)
In-Reply-To: <f43fc5580902241227g8146ff4q9bc31da2f8ba35d0@mail.gmail.com>

On Tue, 2009-02-24 at 22:27 +0200, Blue Swirl wrote:
> 
> Would this patch fix the problem?

Doesn't look like it. After patching and make clean, I see the same
warning from strip, and basically the same output:

# tail obj-ppc/build.log
[...]
powerpc-440-linux-gnu-ld --warn-common -N -T ../arch/ppc/qemu/ldscript target/arch/ppc/qemu/start.o target/arch/ppc/timebase.o libqemu.a libbootstrap.a libdrivers.a libmodules.a liblibc.a libfs.a libgcc.a -o openbios-qemu.elf
powerpc-440-linux-gnu-nm openbios-qemu.elf | sort > ./openbios-qemu.syms
cp openbios-qemu.elf openbios-qemu.elf.nostrip
powerpc-440-linux-gnu-strip openbios-qemu.elf
BFD: stzD2J6q: warning: allocated section `.bss' not in segment
BFD: stzD2J6q: warning: allocated section `.sbss' not in segment

# readelf -l obj-ppc/openbios-qemu.elf*

File: obj-ppc/openbios-qemu.elf

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 .bss .sbss 
   01     .romentry 
   02     

File: obj-ppc/openbios-qemu.elf.nostrip

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 0x42044 0x4bcb4 RWE 0x4
  LOAD           0x0420d8 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 
   01     .romentry 
   02     

-- 
Hollis Blanchard
IBM Linux Technology Center

  reply	other threads:[~2009-02-25 21:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2009-02-25 22:09       ` Laurent Vivier
2009-02-26  7:35       ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1235595825.16070.81.camel@slate.austin.ibm.com \
    --to=hollisb@us.ibm.com \
    --cc=openbios@openbios.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).