[Bug gas/21407] gas -relax option on SPARC generates incorrect code

2017-04-24 Thread jeremygccb at baymoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21407 --- Comment #6 from Jeremy Cooper --- Ok, sounds good enough. Do you think you can change this comment before the patched if statement? /* See if we have a delay slot. */ Seeing as we're fixing a bug with the logic, it seems that the com

[Bug ld/21420] Compiling emacs 25.2 with ld.bdf fails (segmentation fault)

2017-04-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21420 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from H.J. Lu --- I was

[Bug gas/21407] gas -relax option on SPARC generates incorrect code

2017-04-24 Thread jose.marchesi at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21407 --- Comment #5 from Jose E. Marchesi --- When md_apply_fix is called, the fixup information for relocations that can be already resolved by patching constants in instructions (like symbols defined in the same segment in a.out) has addsy set to

[Bug ld/21402] i386: indirect5 failures

2017-04-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21402 --- Comment #9 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0dc9a308a1ec9675bf6b33bae9e8b1faa0bad9ed commit 0dc9a308a1ec9675bf6b33bae9e8b1fa

[Bug gas/21407] gas -relax option on SPARC generates incorrect code

2017-04-24 Thread jeremygccb at baymoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21407 --- Comment #4 from Jeremy Cooper --- Ok, I concur. It left me queasy, too, that the branch offset would have been severely reduced as a result of the previous code, but I had no insight as to whether the rest of binutils had been modified to

[Bug gas/21407] gas -relax option on SPARC generates incorrect code

2017-04-24 Thread jose.marchesi at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21407 --- Comment #3 from Jose E. Marchesi --- My conclusion is that the real bug here is that GAS relaxes the CALL instruction even if the fixup can't be fully resolved in md_apply_fix. This only happens in a.out targets. This fixes it: diff --g

[Bug ld/21425] FAIL: VxWorks executable test 2

2017-04-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21425 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/21425] FAIL: VxWorks executable test 2

2017-04-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21425 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The binutils-2_28-branch branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cff08d0aa476af2142f60ebf78412b0b7ba61eb3 commit cff08d0aa476af2142

[Bug ld/20815] throw errors for invalid load segment

2017-04-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20815 --- Comment #31 from cvs-commit at gcc dot gnu.org --- The binutils-2_28-branch branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cff08d0aa476af2142f60ebf78412b0b7ba61eb3 commit cff08d0aa476af214

[Bug ld/21420] Compiling emacs 25.2 with ld.bdf fails (segmentation fault)

2017-04-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21420 --- Comment #3 from H.J. Lu --- (In reply to dilyan.palau...@aegee.org from comment #2) > (In reply to H.J. Lu from comment #1) > > Did ld.bfd ever work with those options? > > I don't know. Can you find it out? I am trying to determine if i

[Bug ld/20815] throw errors for invalid load segment

2017-04-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20815 --- Comment #30 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1587442d37ee4266e54d59bfdc783574f0587aff commit 1587442d37ee4266e54d59bfdc78357

[Bug ld/21425] FAIL: VxWorks executable test 2

2017-04-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21425 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1587442d37ee4266e54d59bfdc783574f0587aff commit 1587442d37ee4266e54d59bfdc783574

[Bug ld/21420] Compiling emacs 25.2 with ld.bdf fails (segmentation fault)

2017-04-24 Thread dilyan.palauzov at aegee dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21420 --- Comment #2 from dilyan.palauzov at aegee dot org --- (In reply to H.J. Lu from comment #1) > Did ld.bfd ever work with those options? I don't know. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/21420] Compiling emacs 25.2 with ld.bdf fails (segmentation fault)

2017-04-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21420 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug gas/21407] gas -relax option on SPARC generates incorrect code

2017-04-24 Thread jose.marchesi at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21407 --- Comment #2 from Jose E. Marchesi --- Ok, sparc-sun-sunos4.1.3 is an a.out target, not an ELF one. That explains why the check on addsy!=NULL doesn't happen. Investigating further... -- You are receiving this mail because: You are on th

[Bug ld/21425] New: FAIL: VxWorks executable test 2

2017-04-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21425 Bug ID: 21425 Summary: FAIL: VxWorks executable test 2 Product: binutils Version: 2.29 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld

[Bug gas/21407] gas -relax option on SPARC generates incorrect code

2017-04-24 Thread jose.marchesi at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21407 Jose E. Marchesi changed: What|Removed |Added CC||jose.marchesi at oracle dot com --

[Bug gold/21423] ./configure --enable-plugins

2017-04-24 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21423 Nick Clifton changed: What|Removed |Added CC||ian at airs dot com,