This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Elf to Bin format


>>>>> Narayana, Venkat A writes:

> Hi,
> Can you pls help me in figuring out
> what happens when we convert ELF to a Bin format,
> using objdump tool. I mean, how can i be sure
        ^^^^^^^
You did mean objcopy, right?

> that all sections of elf file got dumped into 
> bin file? Is there any tool/utility which will allow
> me to look into bin file and decipher the contents?

There is nothing to decipher. The binary file contains only
the raw section contents at appropriate offsets. There is no
information to decipher.

> As was previously stated in this thread, my bin
> file, when i flashed it into a flash, does not contain
> .data section.

What makes you think this?

Please post the results of:

  % objdump -h redboot.elf

and

  % ls -l redboot.bin

--Mark



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]