How to make a list file

Running "make" on a project called "foo" will produce the following files:
1. foo.s19 - a S-Record file for DRAM downloads
2. foo_APP.s19 - a S-Record file for flash downloads
3. foo.elf - a file containing the symbol information

The file foo.elf can be converted to a list file using objdump. For files created with the the m68k-elf compiler, use the following syntax at the command line to create a list file called foo.lst for the entire program:

m68k-elf-objdump -C --source foo.elf > foo.lst

Other switches that can be used are:
--start-address=<0x.....>   // specify start address using 0x hex notation
--stop-address=<0x.....> // specify stop address using 0x hex notation
-w                                   // specify wide output format for list file

For example, to create a list file for the address range of 0x20000000 to 0x20000FFF in wide format (all one line):

m68k-elf-objdump -C --source foo.elf --start-address=0x20000000 --stop-address=0x20000FFF -w > foo.lst