From: Nick Clifton Date: Sat, 10 Feb 2001 22:20:55 +0000 (+0000) Subject: Document new --unwind option to readelf. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5e21966912b901789a38637dc6f0bef0619e5ce;p=binutils-gdb.git Document new --unwind option to readelf. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 10e0742b539..23d4df10d32 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2001-02-10 Nick Clifton + + * binutils.texi: Document new --unwind option to readelf. + 2001-02-09 Martin Schwidefsky * readelf.c: Add linux target for S/390. diff --git a/binutils/binutils.texi b/binutils/binutils.texi index 41146635c19..648cd2beb34 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 ac0c09ae794..1f18a05487b 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;