[Bug ld/22419] New: binary format generated by LD is incorrect

2017-11-10 Thread hackish at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22419 Bug ID: 22419 Summary: binary format generated by LD is incorrect Product: binutils Version: 2.30 (HEAD) Status: UNCONFIRMED Severity: critical Priority: P2 C

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread ubizjak at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #14 from Uros Bizjak --- (In reply to Uros Bizjak from comment #13) > (In reply to H.J. Lu from comment #12) > > > Someone bothered enough to open a bug report with a testcase. That is > > good enough for me. > > gcc generated

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread ubizjak at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #13 from Uros Bizjak --- (In reply to H.J. Lu from comment #12) > Someone bothered enough to open a bug report with a testcase. That is > good enough for me. gcc generated non-sensical output in -asm=intel mode, and assembler fa

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #12 from H.J. Lu --- (In reply to Jan Beulich from comment #11) > (In reply to H.J. Lu from comment #10) > > > > In the case of "fs:gs:[eax]", you can replace it with > > > > "fs:[eax]" to get the same output. > > > > > > In strai

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #11 from Jan Beulich --- (In reply to H.J. Lu from comment #10) > > > In the case of "fs:gs:[eax]", you can replace it with > > > "fs:[eax]" to get the same output. > > > > In straight line code yes. But what if a first override i

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #10 from H.J. Lu --- (In reply to Jan Beulich from comment #9) > > > It is more important for gas to be consistent with itself. > > That's a bogus goal imo: Different assembly syntax can naturally result in Not to me. > apparen

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #9 from Jan Beulich --- (In reply to H.J. Lu from comment #8) > (In reply to Jan Beulich from comment #7) > > (In reply to H.J. Lu from comment #6) > > > If gas doesn't allow multiple segment registers in AT&T syntax, it > > > shou

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #8 from H.J. Lu --- (In reply to Jan Beulich from comment #7) > (In reply to H.J. Lu from comment #6) > > If gas doesn't allow multiple segment registers in AT&T syntax, it > > shouldn't allow them in Intel syntax. > > I can only

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #7 from Jan Beulich --- (In reply to H.J. Lu from comment #6) > If gas doesn't allow multiple segment registers in AT&T syntax, it > shouldn't allow them in Intel syntax. I can only keep telling you that I view maximum possible co

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #6 from H.J. Lu --- (In reply to Jan Beulich from comment #4) > The adjustment done to intelok.s is was wrong here: MASM accepts that code, > and so should gas. I certainly can agree that accepting _anything_ between > the colons w

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 --- Comment #5 from Jan Beulich --- (I can't, btw, see how to change the status of the bug back from RESOLVED FIXED, or how to re-assign it. Pretty strange a UI limitation as it seems.) -- You are receiving this mail because: You are on the

[Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel

2017-11-10 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21874 Jan Beulich changed: What|Removed |Added CC||jbeulich at novell dot com --- Comment

[Bug binutils/22416] New: heap-buffer-overflow in bfd_getl16

2017-11-10 Thread jgj212 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22416 Bug ID: 22416 Summary: heap-buffer-overflow in bfd_getl16 Product: binutils Version: 2.29 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutil