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
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.
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
Function:
Display disassembled contents
Explanation: Displays all the executable sections after disassembling the object code. No source is displayed together.
-h
Function:
Display section information
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
Function:
Display global symbol information
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?