[OpenBIOS] [Qemu-devel] Re: building openbios-qemu.elf?
Laurent Vivier
laurent at vivier.eu
Tue Feb 24 17:31:17 CET 2009
>On Tue, 2009-02-24 at 00:07 +0100, Laurent Vivier wrote:
>> Hi,
>>
>> Do you use source from SVN head ?
>
>Yes.
>
>> Do you have any information in obj-ppc/build.log ?
>
>This is somewhat interesting:
>
>powerpc-440-linux-gnu-strip openbios-qemu.elf
>BFD: st4PszLi: warning: allocated section `.bss' not in segment
>BFD: st4PszLi: warning: allocated section `.sbss' not in segment
>
>The "nostrip" version of openbios-qemu.elf looks much better:
>
>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 .sdata
> 01 .romentry
> 02
>
>So something goes wrong in the strip process.
>
What is the version of your binutils ?
(I use 2.18.0.20080103)
You can also try the native strip of your host if you have installed binutils-multiarch (for a debian system).
Laurent
--
--------------------- Laurent at vivier.eu ---------------------
"Tout ce qui est impossible reste à accomplir" Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard
More information about the OpenBIOS
mailing list