11.3 objdump.exe
11.3.1 function
The objdump displays the internal data of binary files in elf format. Disassembled code, raw data, section
configuration, section map addresses, data size and relocatable information symbol tables can be displayed.
11.3.2 input files
Executable object file
File format: Binary file in elf format
File name:
<filename>.elf
Description: An executable object file after the linkage process by the linker has been completed. The contents
will be displayed using the absolute addresses.
Object file
File format: Binary file in elf format
File name:
<filename>.o
Description: An object file after assembled. The contents will be displayed using the relative addresses from
the beginning of the file or section.
11.3.3 Method for Using objdump
Startup format
objdump <option> <input file name>
<input file name>: Specify a object file name to be dumped.
Options
The following startup options can be specified:
-d
Function:
Display disassembled contents
Explanation: Displays all the executable sections after disassembling the object code. No source is displayed
together.
-h
Display section information
Function:
Explanation: Displays the section configuration, section size and address.
-g
Function:
Display information converted from debugging information
Explanation: Displays the relations between sources and addresses based on the debugging information. The
data types of the global symbols are also displayed.
-t
Display global symbol information
Function:
Explanation: Displays a list of the global symbols including the local labels.
-s
Function:
Display in hexadecimal dump format
Explanation: Displays all the section information in hexadecimal dump format. Data corresponding to
unresolved symbols cannot be displayed correctly.
-D
Display disassembled contents for all sections
Function:
Explanation: Displays all the sections after disassembling the object code.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
11 OTHEr TOOlS
11
Tools
11-17
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?