[Bug binutils/13947] Strip applied twice corrupts binaries compiled with --emit-relocs

2012-04-10 Thread binutils-bugs at qult dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=13947

--- Comment #4 from Ignacy Gawędzki  2012-04-10 
07:54:49 UTC ---
(In reply to comment #3)
> Created attachment 6333 [details]
> A patch

I just tried this patch and it doesn't seem to fix anything.  I rebuilt all of
binutils after applying it, rebuild a binary with --emit-relocs using ld from
the newly rebuilt binutils and then used the new strip binary.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13965] New: for arm binary of ARM NEON, "objdump -d" produces wrong use vshll instruction

2012-04-10 Thread seanmaopub at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13965

 Bug #: 13965
   Summary: for arm binary of ARM NEON, "objdump -d" produces
wrong use vshll instruction
   Product: binutils
   Version: 2.21
Status: NEW
  Severity: critical
  Priority: P2
 Component: binutils
AssignedTo: unassig...@sourceware.org
ReportedBy: seanmao...@gmail.com
Classification: Unclassified


My platform is ubuntu 11.04 for ARM with binutils v2.21.0.20110327
$ objdump -d sobelI.o |grep  vshl
 b80:   f3890a10vshll.u8d0, q0, #1
 f3c:   f3892a16vshll.u8d2, q3, #1
 f44:   f3892a16vshll.u8d2, q3, #1

However, the correct result should be as dumped by fromelf of ARM RVCT 4.0
>fromelf -c --text sobelI.o |find "VSHL"
0x0b80:f3890a10VSHLL.U8 q0,d0,#1
0x0f3c:f3892a16.*..VSHLL.U8 q1,d6,#1
0x0f44:f3892a16.*..VSHLL.U8 q1,d6,#1

I tried some other ARM toolchains, such newest version of CodeBench Lite
Edition, they all produced the wrong result as above.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13965] for arm binary of ARM NEON, "objdump -d" produces wrong use of vshll instruction

2012-04-10 Thread seanmaopub at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13965

seanmao  changed:

   What|Removed |Added

 CC||seanmaopub at gmail dot com
Summary|for arm binary of ARM NEON, |for arm binary of ARM NEON,
   |"objdump -d" produces wrong |"objdump -d" produces wrong
   |use vshll instruction   |use of vshll instruction

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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 ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs

2012-04-10 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13947

H.J. Lu  changed:

   What|Removed |Added

  Component|binutils|ld

--- Comment #5 from H.J. Lu  2012-04-10 21:49:59 
UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > Created attachment 6333 [details]
> > A patch
> 
> I just tried this patch and it doesn't seem to fix anything.  I rebuilt all of
> binutils after applying it, rebuild a binary with --emit-relocs using ld from
> the newly rebuilt binutils and then used the new strip binary.

strip is OK.  It is a linker bug.  You need to use the new linker to
create the executable.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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