aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-10 22:20:55 +0000
committerNick Clifton <nickc@redhat.com>2001-02-10 22:20:55 +0000
commitf5e21966912b901789a38637dc6f0bef0619e5ce (patch)
tree96adbea406884023b8ebd67a8ac5b96ff1302068 /binutils
parent0f074f60a4f3c8263b8f01628caaa4b5109aa586 (diff)
downloadgdb-f5e21966912b901789a38637dc6f0bef0619e5ce.zip
gdb-f5e21966912b901789a38637dc6f0bef0619e5ce.tar.gz
gdb-f5e21966912b901789a38637dc6f0bef0619e5ce.tar.bz2
Document new --unwind option to readelf.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/binutils.texi9
-rw-r--r--binutils/readelf.c3
3 files changed, 13 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 10e0742..23d4df1 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2001-02-10 Nick Clifton <nickc@redhat.com>
+
+ * binutils.texi: Document new --unwind option to readelf.
+
2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* readelf.c: Add linux target for S/390.
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 4114663..648cd2b 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -2479,6 +2479,7 @@ readelf [ -a | --all ]
[ -s | --syms | --symbols]
[ -n | --notes]
[ -r | --relocs]
+ [ -u | --unwind]
[ -d | --dynamic]
[ -V | --version-info]
[ -D | --use-dynamic]
@@ -2548,7 +2549,13 @@ Displays the contents of the NOTE segment, if it exists.
@item -r
@itemx --relocs
@cindex ELF reloc information
-Displays the contents of the file's relocation section, if it ha one.
+Displays the contents of the file's relocation section, if it has one.
+
+@item -u
+@itemx --unwind
+@cindex unwind information
+Displays the contents of the file's unwind section, if it has one. Only
+the unwind sections for IA64 ELF files are currently supported.
@item -d
@itemx --dynamic
diff --git a/binutils/readelf.c b/binutils/readelf.c
index ac0c09a..1f18a05 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -3110,7 +3110,7 @@ static void find_symbol_for_address PARAMS ((struct unw_aux_info *,
struct absaddr, const char **,
bfd_vma *));
static void dump_ia64_unwind PARAMS ((struct unw_aux_info *));
-static int slurp_ia64_unwind_table PARAMS ((FILE *file, struct unw_aux_info *,
+static int slurp_ia64_unwind_table PARAMS ((FILE *, struct unw_aux_info *,
Elf32_Internal_Shdr *));
static void
@@ -3434,7 +3434,6 @@ process_unwind (file)
return 1;
}
-
static void
dynamic_segment_mips_val (entry)
Elf_Internal_Dyn * entry;