[Bug gas/11136] segmentaion fault while processing NEON arithmetric instructions

2010-01-29 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-01-29 
16:02 ---
Subject: Bug 11136

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2010-01-29 16:02:41

Modified files:
gas: ChangeLog 
gas/config : tc-arm.c 
gas/testsuite  : ChangeLog 
gas/testsuite/gas/arm: neon-omit.d neon-omit.s 

Log message:
PR 11136
* config/tc-arm.c (neon_check_type): Handle a neon_shape value of
NS_NULL.
* gas/arm/neon-omit.s: Add instruction that causes crash.
* gas/arm/neon-omit.d: Add expected disassembly.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=srcr1=1.4075r2=1.4076
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-arm.c.diff?cvsroot=srcr1=1.427r2=1.428
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=srcr1=1.1628r2=1.1629
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-omit.d.diff?cvsroot=srcr1=1.6r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-omit.s.diff?cvsroot=srcr1=1.4r2=1.5



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11136

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug gas/11136] segmentaion fault while processing NEON arithmetric instructions

2010-01-29 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-01-29 16:04 
---
Hi André Bergner,

  Thanks for the bug report and analysis.  I decided that it would be safer to
handle an ns value of NS_NULL inside the neon_check_type() function, as it is
called from more places than just the try_vfp_nsyn() function.  But apart from
that the patch that I checked in in basically the one that you suggested.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11136

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug binutils/11237] New: readelf misaligned register values in eh_frame listing

2010-01-29 Thread lat at cern dot ch
For some functions readelf -WwfF /lib64/*.so produces output which seems to 
omits some register 
values and shifts later registers' values to left. Effectively this means that 
in particular the value for ra 
on x86-64 appears under various other columns, making the output harder to 
decipher.

I *think* the missing column values should actually be u, but I am not 
positive - it seems to occur for 
example when the code begins to restore registers from their saved locations on 
stack.

Here is an example (memcpy), the c-8 values are all for ra but appear under 
various columns. The first 
misaligned row is 81efb. It seems actual omitted column was rbx, i.e. third, 
and rest of the columns 
moved left.

cdd8 003c cddc FDE cie= pc=00081bd0..00082022
   LOC   CFA  rbx   r12   r13   r14   ra  
00081bd0 rsp+8u u u u c-8   
00081d64 rsp+8u u u c-16  c-8   
00081d69 rsp+8u u c-24  c-16  c-8   
00081d6e rsp+8u c-32  c-24  c-16  c-8   
00081d73 rsp+8c-40  c-32  c-24  c-16  c-8   
00081efb rsp+8c-32  c-24  c-16  c-8   
00081f00 rsp+8c-24  c-16  c-8   
00081f05 rsp+8c-16  c-8   
00081f0a rsp+8c-8   
00081f42 rsp+8c-16  c-8   
00081f47 rsp+8c-24  c-16  c-8   
00081f4c rsp+8c-32  c-24  c-16  c-8   
0008200b rsp+8c-24  c-16  c-8   
00082010 rsp+8c-16  c-8   
00082015 rsp+8c-8   

Corresponding assembly:

0x00081ef0 mempcpy+800:   jne0x81e40 mempcpy+624
0x00081ef6 mempcpy+806:   mov-0x20(%rsp),%rbx
0x00081efb mempcpy+811:   mov-0x18(%rsp),%r12
0x00081f00 mempcpy+816:   mov-0x10(%rsp),%r13
0x00081f05 mempcpy+821:   mov-0x8(%rsp),%r14
0x00081f0a mempcpy+826:   sub%r8,%rdx

This was on Ubuntu 9.10 desktop 64-bit, but I saw similar issues on an 
RHEL5-derived system.

-- 
   Summary: readelf misaligned register values in eh_frame listing
   Product: binutils
   Version: 2.20
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: lat at cern dot ch
CC: bug-binutils at gnu dot org
  GCC host triplet: x86_64-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11237

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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