bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/18561] sh assembler wrongly constant-folds address expressions


From: nickc at redhat dot com
Subject: [Bug gas/18561] sh assembler wrongly constant-folds address expressions containing weak symbols
Date: Mon, 24 Aug 2015 10:55:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18561

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8541|0                           |1
        is obsolete|                            |

--- Comment #12 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 8545
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8545&action=edit
SH only fix for the problem.

Personally I think that we should not be evaluating the difference of two
different symbols when at least one of them is weak.  But since we obviously
have been doing this for a long time, I will let it stand.

Instead here is an SH specific patch to fix the problem.  It does not introduce
any regressions into the binutils testsuites for the various different SH
targets that I tried, so I think that it should be safe.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]