310 Section 5: Utilities
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
-d
[
start_offset
[:
end_offset
+
length
]]
Dump the contents of the file in both hexadecimal and ASCII starting at
file offset
start_offset
and continuing through file offset
end_offset
or the specified
length
. If only
start_offset
is
specified, the entire file from that offset to the end is dumped. If the
-d
flag is used without any arguments, the entire file is dumped.
-e
Print only external symbols. When used with the
-s
flag, static symbols
are also printed.
-f
Produce a full listing that includes the symbols
.text
,
.data
and
.bss
,
which are normally suppressed.
-F
Prefix the name of the object file or library containing the object file to
every output line.
-h
Print the file header, the optional
a.out
header, and all the individual
section headers contained in the object file. In general, indexes, counts,
and line numbers are in decimal while sizes, addresses, flags, and file
offsets (enclosed in parentheses) are in hexadecimal. The file header
listing includes the magic number, date, number of sections, flags, and
number of symbols. The number of symbols is followed by the file offsets
of the symbol table and string table in parentheses. The optional
a.out
header listing includes a magic number, a version number, an execution
entry point, and the sizes and addresses of the
.text
,
.data
, and
.bss
sections. Each section header listing includes both the section's physical
and virtual addresses, the section's size followed by the file offset to the
start of the section, flags, and the number of associated line numbers and
relocation entries together with file offsets. See the example screen
display shown on page 312.
-H
Print relocation and line number information in addition to the header
information printed by the
-h
flag. For both relocation and line number
entries, the first column contains the file offset of the entry in
hexadecimal.
-n
Sort symbols alphabetically by name. Only external symbols are sorted if
local symbols are present; if local symbols are suppressed by the
-s
,
-e
, or
-U
flags, static and external symbols are sorted together.
-r
Reverse the order of the sort specified by the
-n
or
-v
flags.
-R
Print a raw symbol table dump that displays each entry in both ASCII and
hexadecimal. The symbol table index in decimal is shown on the left side.
The string table entries, together with hexadecimal offsets from the start
of the string table, are printed at the end. All symbols are listed in the
order that they appear in their respective object files.
-s
Print only static symbols. When used with the
-e
flag, external symbols
are also printed.