[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] elf to flat binary conversion



Hi,
 
I'm playing around with the mb-elf2flt utility to try and convert an elf file to flat binary. My problem is this:
 
- I'd like to use this utility with any microblaze related executable - eg an application for running on uclinux or a 'normal' microblaze app. Is it possible to use the util for a conventional elf file (ie no OS on the board). I keep getting the 'input file contains no relocation info' message ... which I guess is correct as the elf file has been fully linked, so maybe I can't use this utility for what I need ...
 
Essentially, I'd like to be able to analyse the various sections of the executable but have a simpler format than elf so this is the main reason for looking at mb-elf2flt. I used mb-objcopy to get a binary file but as this removes any information related to the structure of the executable I thought I'd try elf2flt.
 
Does anyone have any advice on how to convert an elf file to flat binary ?
 
Many thanks,
 
Alastair.