readelf is a tool which analyzes and dumps the content of any ELF file. It can be used to:

  • See which sections the program/file is composed of For this, use the following options:

          m6811-elf-readelf -S file.o

  • What are the symbols defined in the file
    You can do this with:

          m6811-elf-readelf -s file.o

  • Dump the section content

  • Dump the debugging information

See Also

How can I disassemble the content of an object file?