10
Other Tools
This chapter explains the other tools that are included in the S1C17 Family C Compiler Package.
10.1 objdump.exe
10.1.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.
Refer to the documents for the gnu utilities for details of objdump.
10.1.2 Input Files
Executable object file
File format:
Binary file in elf format
<filename> .elf
File name:
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
<filename> .o
File name:
Description:
An object file after assembled.
The contents will be displayed using the relative addresses from the beginning of the file or section.
10.1.3 Method for Using objdump
Startup format
objdump <options> <input file name>
<input file name>: Specify a object file name to be dumped.
Options
The following startup options can be specified:
-d
Display disassembled contents
Function:
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 (gcc4 only)
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.
S5U1C17001C Manual
(Rev. 1.0)
Seiko Epson Corporation
10 Other Tools
10-1
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?