[Bug binutils/16949] arm-none-eabi-objdump segfaults when disassembling ARM BE elf file

2014-06-17 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16949

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton  ---
Created attachment 7640
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7640&action=edit
Check for string values to DW_AT_MIPS_linkage_name

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/16949] arm-none-eabi-objdump segfaults when disassembling ARM BE elf file

2014-06-17 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16949

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #2 from Nick Clifton  ---
Hi Andrey,

  Please try out the uploaded patch and let me know if it works for you.

  The problems appears to be that the binary contains bogus debug information. 
Specifically it has DW_AT_MIPS_linkage_name attributes that have a numeric
value rather than a string value.  This confuses the code that converts
addressess into function names, since DW_AT_MIPS_linkage_name is supposed to
contain a valid function name.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/16949] arm-none-eabi-objdump segfaults when disassembling ARM BE elf file

2014-06-25 Thread andrew.smirnov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16949

--- Comment #3 from Andrey Smirnov  ---
Hi Nick,

Just wanted to let you know that I tried your patch and it seemed to have fixed
the problem. Now I get full disassembly and everything!

Thanks!
Andrey

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/16949] arm-none-eabi-objdump segfaults when disassembling ARM BE elf file

2014-06-26 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16949

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
   via  60d77146a249ae9b51d7ce98930cdbedb2cfa352 (commit)
  from  4395285e33e6d67c8a82db744ebfd041034b005a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=60d77146a249ae9b51d7ce98930cdbedb2cfa352

commit 60d77146a249ae9b51d7ce98930cdbedb2cfa352
Author: Nick Clifton 
Date:   Thu Jun 26 09:12:55 2014 +0100

Fixes a problem displaying the contents of a binary containing corrupt
debug
information, specifically a DW_AT_MIPS_linkage_name attribute that has a
numeric
value rather than a string value.

PR binutils/16949
* dwarf2.c (is_str_attr): New function.
(find_abstract_instance_name): Use it to determine when an
attribute has a string value.

---

Summary of changes:
 bfd/ChangeLog |7 +++
 bfd/dwarf2.c  |   22 ++
 2 files changed, 25 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/16949] arm-none-eabi-objdump segfaults when disassembling ARM BE elf file

2014-06-26 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16949

Nick Clifton  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Nick Clifton  ---
Great - I have checked in the patch.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils