[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] How to strip petalinux binaries
Hi
klaphik@xxxxxxxxx wrote:
To illustrate my problem, I've created a stock application by using
"petalinux-new_app". Now when I try and run microblaze-uclinux-strip I
get a message saying the file format is not recognised.
I figure the tools are automatically converting the image from an elf
into something else (elf2flt), my question is how can I strip the
resulting binary, or get the tools to strip the elf file before
converting it?
You are correct, the output binary is not ELF, bit a binfmt_flat flat
binary. It contains no debug information, it is as "stripped" as it can
be. The debug symbols are in the .gdb file, which is used when doing
application debug via gdbserver. Search the developer.petalinux.com
wiki for 'gdbserver' to find details on this proecss.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/