[U-Boot] QUESTION: How do I generate an assembly listing?

Wolfgang Denk wd at denx.de
Thu May 7 00:43:02 CEST 2009


Dear Jonathan Haws,

In message <BB99A6BA28709744BF22A68E6D7EB51F01CB587366 at midas.usurf.usu.edu> you wrote:
> I need to generate an assembly listing that contains all the assembly code generated by the compiler.  I have tried putting the standard GCC options in ppc_config.mk, but cannot get the results I am looking for.
> 
> What I need is a listing file that contains the address (preferably with _start at 0x00000000) and the function name and any assembly code with their respective addresses.
> 
> Can this easily be done?

Use objdump -SD u-boot ?  on the other hand - why would anybody need
that? Don't you know how to use gdb?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Wisdom is one of the few things that looks bigger the further away it
is.                               - Terry Pratchett, _Witches Abroad_


More information about the U-Boot mailing list