[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/12618] Can't resolve difference between symbol and start of its
From: |
rsandifo at nildram dot co.uk |
Subject: |
[Bug gas/12618] Can't resolve difference between symbol and start of its own section |
Date: |
Wed, 30 Mar 2011 19:09:15 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12618
address@hidden <rsandifo at nildram dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rsandifo at nildram dot
| |co.uk
--- Comment #1 from rsandifo at nildram dot co.uk <rsandifo at nildram dot
co.uk> 2011-03-30 19:09:09 UTC ---
I think the new behaviour is correct, and is a deliberate bug fix
from earlier binutils. strcmp is defined as an indirection function,
so it's address can only be determined at run-time (by calling the
strcmp defined here to get the real address). It therefore isn't
correct to resolve "strcmp - .text" at assembly time (or link time).
The test case wants to refer to the locally-defined strcmp function,
so it should use a local label instead of the ifunc symbol.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.