elf2flt questions

Denys Vlasenko vda.linux at googlemail.com
Thu Jun 5 14:30:45 UTC 2008


On Thursday 05 June 2008 14:17, Bernd Schmidt wrote:
> Denys Vlasenko wrote:
> 
> > busybox_unstripped:     file format elf32-bfinfdpic
> 
> Noticed this... Trying to use an FDPIC toolchain with elf2flt will 
> produce interesting results.

Will this fare better?

bfin-uclinux-objdump -xdr busybox_unstripped

busybox_unstripped:     file format elf32-bfin
busybox_unstripped
architecture: bfin, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x00000014

Program Header:
    LOAD off    0x00001000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x000b2634 memsz 0x000b2634 flags r-x
    LOAD off    0x000b3634 vaddr 0x000b3634 paddr 0x000b3634 align 2**12
         filesz 0x000003c0 memsz 0x00001bac flags rw-
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rwx
private flags = 0:
...

Now I'll look into how to make bbox use correct options to ld in order
to produce flat binary...
--
vda



More information about the busybox mailing list