[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/21407] gas -relax option on SPARC generates incorrect code
From: |
jose.marchesi at oracle dot com |
Subject: |
[Bug gas/21407] gas -relax option on SPARC generates incorrect code |
Date: |
Mon, 24 Apr 2017 15:01:31 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21407
Jose E. Marchesi <jose.marchesi at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jose.marchesi at oracle dot com
--- Comment #1 from Jose E. Marchesi <jose.marchesi at oracle dot com> ---
Hi Jeremy.
I cannot reproduce the issue with latest git binutils (nor with an old binutils
2.20) in sparc64-linux-gnu, so this seems to be Solaris specific.
Anyway, I would expect for the relaxation to not happen when the value of the
symbol is not known at assemble time (addsy is not NULL) as there is no way for
the assembler to determine whether the branch distance will fall within the
narrower limits of the branch instructions after resolution.
If the relaxation happens, the fixup is fully resolved in md_apply_fix, and no
relocation is generated by the assembler.
I will try to reproduce the problem in a solaris machine.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/21407] New: gas -relax option on SPARC generates incorrect code, jeremygccb at baymoo dot org, 2017/04/20
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, jeremygccb at baymoo dot org, 2017/04/20
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code,
jose.marchesi at oracle dot com <=
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, jose.marchesi at oracle dot com, 2017/04/24
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, jose.marchesi at oracle dot com, 2017/04/24
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, jeremygccb at baymoo dot org, 2017/04/24
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, jose.marchesi at oracle dot com, 2017/04/24
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, jeremygccb at baymoo dot org, 2017/04/24
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, cvs-commit at gcc dot gnu.org, 2017/04/25
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, cvs-commit at gcc dot gnu.org, 2017/04/26
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, nickc at redhat dot com, 2017/04/26
- [Bug gas/21407] gas -relax option on SPARC generates incorrect code, jose.marchesi at oracle dot com, 2017/04/26