diff options
author | Nick Clifton <nickc@redhat.com> | 2009-06-24 10:37:35 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-06-24 10:37:35 +0000 |
commit | cf13d6995d27492605b42fb8d6bb22659cb35a0b (patch) | |
tree | d31a5e66587f8a03e645c0efd87ba8d652008d91 /binutils/doc | |
parent | ec3f783efde154039bcf29fca808e70d523953d4 (diff) | |
download | gdb-cf13d6995d27492605b42fb8d6bb22659cb35a0b.zip gdb-cf13d6995d27492605b42fb8d6bb22659cb35a0b.tar.gz gdb-cf13d6995d27492605b42fb8d6bb22659cb35a0b.tar.bz2 |
* dwarf.c (display_debug_lines_raw): Include the name of the
section in warning message.
(struct debug_display): Enable reloc processing for .debug_line
and .debug_ranges sections.
* readelf.c: Add --relocated-dump command line option to dump the
relocated contents of a specified section.
(request_dump): New function.
(parse_args): Use it.
(dump_section_as_bytes): Add parameter to indicate whether the
contents should be relocated.
(target_specific_reloc_handling): Add code for a R_MN10300_16
reloc found after a R_MN10300_SYM_DIFF reloc.
(debug_apply_relocations): Rename to apply_relocations.
(get_section_contents): New function. Replaces common code found
in dump_section_as_strings and dump_section_as_bytes.
* doc/binutils.texi: Document new command line option.
* NEWS: Mention the new feature.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index d74b12b..2364f9c 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -3844,6 +3844,7 @@ readelf [@option{-a}|@option{--all}] [@option{-D}|@option{--use-dynamic}] [@option{-x} <number or name>|@option{--hex-dump=}<number or name>] [@option{-p} <number or name>|@option{--string-dump=}<number or name>] + [@option{-R} <number or name>|@option{--relocated-dump=}<number or name>] [@option{-c}|@option{--archive-index}] [@option{-w[lLiaprmfFsoR]}| @option{--debug-dump}[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges]] @@ -3966,10 +3967,18 @@ symbols section. @item -x <number or name> @itemx --hex-dump=<number or name> -Displays the contents of the indicated section as a hexadecimal dump. +Displays the contents of the indicated section as a hexadecimal bytes. A number identifies a particular section by index in the section table; any other string identifies all sections with that name in the object file. +@item -R <number or name> +@itemx --relocated-dump=<number or name> +Displays the contents of the indicated section as a hexadecimal +bytes. A number identifies a particular section by index in the +section table; any other string identifies all sections with that name +in the object file. The contents of the section will be relocated +before they are displayed. + @item -p <number or name> @itemx --string-dump=<number or name> Displays the contents of the indicated section as printable strings. |