[Bug binutils/20782] New: FF /2 (CALL Ev) wrong disassembling

2016-11-06 Thread anatolymik at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20782

Bug ID: 20782
   Summary: FF /2 (CALL Ev) wrong disassembling
   Product: binutils
   Version: 2.26
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: anatolymik at gmail dot com
  Target Milestone: ---

FF /2 (CALL Ev) is affected by operand size prefix in 64 bit mode. It's wrong.
In 64-bit mode operand size prefix is ignored for this opcode.

-- 
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/20783] New: FF /4 (JMP Ev) wrong disassembling

2016-11-06 Thread anatolymik at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20783

Bug ID: 20783
   Summary: FF /4 (JMP Ev) wrong disassembling
   Product: binutils
   Version: 2.26
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: anatolymik at gmail dot com
  Target Milestone: ---

FF /4 (JMP Ev) is affected by operand size prefix in 64 bit mode. It's wrong.
In 64-bit mode operand size prefix is ignored for this opcode and forced to
64-bit.

-- 
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/20784] New: [2.28 Regression] binutils fails to link a configure test on x86_64-linux-gnu

2016-11-06 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20784

Bug ID: 20784
   Summary: [2.28 Regression] binutils fails to link a configure
test on x86_64-linux-gnu
   Product: binutils
   Version: 2.28 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: doko at debian dot org
  Target Milestone: ---

[forwarded from https://bugs.debian.org/843339]

ld loops indefinitely with binutils trunk. seen with commit 199fa1b7; reverting
that one fixes the link. gold works as expected.

ld --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -dynamic-linker
/lib64/ld-linux-x86-64.so.2 Scrt1.o crti.o crtbeginS.o -L. conftest.o
-lxenlight -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed
-lgcc_s --no-as-needed crtendS.o crtn.o

test case at https://people.debian.org/~doko/tmp/ld-conftest.tar.xz

-- 
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/20784] [2.28 Regression] binutils fails to link a configure test on x86_64-linux-gnu

2016-11-06 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20784

Matthias Klose  changed:

   What|Removed |Added

 Target||x86_64-linux-gnu
 CC||nickc at sourceware dot org

-- 
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 gas/20785] New: [2.28 Regression] binutils fails to assemble power6/memset.S file in glibc

2016-11-06 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20785

Bug ID: 20785
   Summary: [2.28 Regression] binutils fails to assemble
power6/memset.S file in glibc
   Product: binutils
   Version: 2.28 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: doko at debian dot org
  Target Milestone: ---

seen with binutils trunk 20161106 on powerpc64le-linux-gnu and
powerpc-linux-gnu (the latter building a 64bit glibc variant). glibc is 2.24
from the 2.24 branch.

powerpc-linux-gnu-gcc-6 -m64
../sysdeps/powerpc/powerpc64/multiarch/memset-power4.S -c   -isystem
/«PKGBUILDDIR»/g
libc-2.24/debian/include  -I../include
-I/«PKGBUILDDIR»/glibc-2.24/build-tree/powerpc-ppc64/string  -I/«PKGBUILDDI
R»/glibc-2.24/build-tree/powerpc-ppc64 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu  -I../sysdeps/unix/sysv
/linux/powerpc/powerpc64  -I../sysdeps/unix/sysv/linux/wordsize-64 
-I../sysdeps/unix/sysv/linux/powerpc  -I../sys
deps/powerpc/nptl  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysd
eps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv 
-I../sysdeps/unix/powerpc  -I../sys
deps/unix  -I../sysdeps/posix  -I../sysdeps/powerpc/powerpc64/fpu/multiarch 
-I../sysdeps/powerpc/powerpc64/fpu  -
I../sysdeps/powerpc/powerpc64/multiarch  -I../sysdeps/powerpc/powerpc64 
-I../sysdeps/wordsize-64  -I../sysdeps/po
werpc/fpu  -I../sysdeps/powerpc  -I../sysdeps/ieee754/ldbl-128ibm 
-I../sysdeps/ieee754/ldbl-opt  -I../sysdeps/iee
e754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754 
-I../sysdeps/generic  -I.. -I../libio -I. -nostdin
c -isystem
/«PKGBUILDDIR»/debian/tmp.powerpc/usr/bin/../lib/gcc-cross/powerpc-linux-gnu/6/include
-isystem /«PKGBU
ILDDIR»/debian/tmp.powerpc/usr/bin/../lib/gcc-cross/powerpc-linux-gnu/6/include-fixed
-isystem /«PKGBUILDDIR»/glib
c-2.24/debian/include  -D_LIBC_REENTRANT -include
/«PKGBUILDDIR»/glibc-2.24/build-tree/powerpc-ppc64/libc-modules.
h -DMODULE_NAME=libc -include ../include/libc-symbols.h   -DASSEMBLER 
-pipe -O2 -g  -Werror=undef-o /«PKG
BUILDDIR»/glibc-2.24/build-tree/powerpc-ppc64/string/memset-power4.o -MD -MP
-MF /«PKGBUILDDIR»/glibc-2.24/build-t
ree/powerpc-ppc64/string/memset-power4.o.dt -MT
/«PKGBUILDDIR»/glibc-2.24/build-tree/powerpc-ppc64/string/memset-p
ower4.o
../sysdeps/powerpc/powerpc64/power6/memset.S: Assembler messages:
../sysdeps/powerpc/powerpc64/power6/memset.S:254: Error: operand out of range
(5 is not between 0 and 1)
../sysdeps/powerpc/powerpc64/power6/memset.S:254: Error: operand out of range
(128 is not between 0 and 31)
../sysdeps/powerpc/powerpc64/power6/memset.S:254: Error: missing operand
/«PKGBUILDDIR»/glibc-2.24/build-tree/powerpc-ppc64/sysd-rules:1651: recipe for
target '/«PKGBUILDDIR»/glibc-2.24/b
uild-tree/powerpc-ppc64/string/memset-power6.o' failed


and 


powerpc64le-linux-gnu-gcc-6
../sysdeps/powerpc/powerpc64/multiarch/memset-power6.S -c   -isystem
/«PKGBUILDDIR»/gl
ibc-2.24/debian/include  -I../include
-I/«PKGBUILDDIR»/glibc-2.24/build-tree/ppc64el-libc/string  -I/«PKGBUILDDIR»
/glibc-2.24/build-tree/ppc64el-libc 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu  -I../sysdeps/unix/sysv/li
nux/powerpc/powerpc64  -I../sysdeps/unix/sysv/linux/wordsize-64 
-I../sysdeps/unix/sysv/linux/powerpc  -I../sysdep
s/powerpc/nptl  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps
/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv 
-I../sysdeps/unix/powerpc  -I../sysdep
s/unix  -I../sysdeps/posix  -I../sysdeps/powerpc/powerpc64/power8/fpu/multiarch
 -I../sysdeps/powerpc/powerpc64/po
wer7/fpu/multiarch  -I../sysdeps/powerpc/powerpc64/power6/fpu/multiarch 
-I../sysdeps/powerpc/powerpc64/power5+/fp
u/multiarch  -I../sysdeps/powerpc/powerpc64/power5/fpu/multiarch 
-I../sysdeps/powerpc/powerpc64/power4/fpu/multia
rch  -I../sysdeps/powerpc/powerpc64/fpu/multiarch 
-I../sysdeps/powerpc/powerpc64/power8/fpu  -I../sysdeps/powerpc
/powerpc64/power7/fpu/  -I../sysdeps/powerpc/powerpc64/power6/fpu 
-I../sysdeps/powerpc/powerpc64/power5+/fpu  -I.
./sysdeps/powerpc/powerpc64/power5/fpu 
-I../sysdeps/powerpc/powerpc64/power4/fpu/  -I../sysdeps/powerpc/powerpc64
/fpu  -I../sysdeps/powerpc/powerpc64/power8/multiarch 
-I../sysdeps/powerpc/powerpc64/power7/multiarch  -I../sysde
ps/powerpc/powerpc64/power6/multiarch 
-I../sysdeps/powerpc/powerpc64/power5+/multiarch  -I../sysdeps/powerpc/powe
rpc64/power5/multiarch  -I../sysdeps/powerpc/powerpc64/power4/multiarch 
-I../sysdeps/powerpc/powerpc64/multiarch 
 -I../sysdeps/powerpc/powerpc64/power8 
-I../sysdeps/powerpc/powerpc64/power7/fpu  -I../sysdeps/powerpc/powerpc64/
power7  -I../sysdeps/powerpc/powerpc64/power6 
-I../sysdeps/powerpc/powerpc64/power5+  -I../sysdeps/powerpc/power5
+/fpu  -I

[Bug gas/20785] [2.28 Regression] binutils fails to assemble power6/memset.S file in glibc

2016-11-06 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20785

Matthias Klose  changed:

   What|Removed |Added

 Target||powerpc64-linux-gnu,
   ||powerpc64le-linux-gnu
 CC||amodra at gmail dot com,
   ||bergner at vnet dot ibm.com,
   ||wschmidt at gcc dot gnu.org

-- 
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 gas/20785] [2.28 Regression] binutils fails to assemble power6/memset.S file in glibc

2016-11-06 Thread bergner at vnet dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20785

--- Comment #1 from Peter Bergner  ---
The line with the problem is:

  cmpli   cr1,rLEN,128

Thi sis due to Alan's patch:

  https://sourceware.org/ml/binutils/2016-09/msg00217.html

I believe that this cmpli should be changed to cmpldi like the other uses in
memset.S, so I'm chnaging this to a glibc bug.

-- 
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 gas/20785] [2.28 Regression] binutils fails to assemble power6/memset.S file in glibc

2016-11-06 Thread bergner at vnet dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20785

Peter Bergner  changed:

   What|Removed |Added

 CC||tuliom at linux dot 
vnet.ibm.com

--- Comment #2 from Peter Bergner  ---
Hmm, I cannot change this to glibc, but I'm CC'ing Tulio.

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |WONTFIX

--- Comment #1 from Alan Modra  ---
See this comment from include/opcode/i386.h

/* The SystemV/386 SVR3.2 assembler, and probably all AT&T derived
   ix86 Unix assemblers, generate floating point instructions with
   reversed source and destination registers in certain cases.
   Unfortunately, gcc and possibly many other programs use this
   reversed syntax, so we're stuck with it.

   eg. `fsub %st(3),%st' results in st = st - st(3) as expected, but
   `fsub %st,%st(3)' results in st(3) = st - st(3), rather than
   the expected st(3) = st(3) - st

   This happens with all the non-commutative arithmetic floating point
   operations with two register operands, where the source register is
   %st, and destination register is %st(i).

   The affected opcode map is dceX, dcfX, deeX, defX.  */

If you really care, you can define SYSV386_COMPAT to 0 but please read the
comment there too..

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

--- Comment #2 from Alan Modra  ---
*** Bug 20772 has been marked as a duplicate of this bug. ***

-- 
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/20772] DC E8-EF wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20772

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
dup

*** This bug has been marked as a duplicate of bug 20771 ***

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

--- Comment #3 from Alan Modra  ---
*** Bug 20773 has been marked as a duplicate of this bug. ***

-- 
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/20773] DC F0-F7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20773

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
dup

*** This bug has been marked as a duplicate of bug 20771 ***

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

--- Comment #4 from Alan Modra  ---
*** Bug 20774 has been marked as a duplicate of this bug. ***

-- 
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/20774] DC F8-FF wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20774

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
dup

*** This bug has been marked as a duplicate of bug 20771 ***

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

--- Comment #5 from Alan Modra  ---
*** Bug 20776 has been marked as a duplicate of this bug. ***

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

--- Comment #6 from Alan Modra  ---
*** Bug 20777 has been marked as a duplicate of this bug. ***

-- 
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/20776] de e0-e7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20776

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
dup

*** This bug has been marked as a duplicate of bug 20771 ***

-- 
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/20777] de e8-ef wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20777

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
dup

*** This bug has been marked as a duplicate of bug 20771 ***

-- 
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/20778] de f0-f7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20778

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
dup

*** This bug has been marked as a duplicate of bug 20771 ***

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

--- Comment #7 from Alan Modra  ---
*** Bug 20778 has been marked as a duplicate of this bug. ***

-- 
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/20779] de f8-ff wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20779

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
dup

*** This bug has been marked as a duplicate of bug 20771 ***

-- 
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/20771] DC E0-E7 wrong opcode name

2016-11-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20771

--- Comment #8 from Alan Modra  ---
*** Bug 20779 has been marked as a duplicate of this bug. ***

-- 
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