[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1 |
Date: |
Tue, 01 Dec 2020 17:27:56 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26978
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Fangrui Song from comment #2)
> > Correct behavior. Otherwise, we will get
>
> This is a surprising behavior. Normally, STB_GLOBAL wins over STB_WEAK. Did
> you argue that in the case of @ and @@ definitions, the rule "@@ wins over
> @" taking precedence?
>
> I would think the two bits are independent. global foo@v1 + weak foo@@v1 =>
> global foo@@v1.
If we allow this to link, weak foo@@v1 will be in .dynsym which overrides
the non-weak foo@v1.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, hjl.tools at gmail dot com, 2020/12/01
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, i at maskray dot me, 2020/12/01
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1,
hjl.tools at gmail dot com <=
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, amodra at gmail dot com, 2020/12/01
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, amodra at gmail dot com, 2020/12/01
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, amodra at gmail dot com, 2020/12/01
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, hjl.tools at gmail dot com, 2020/12/02
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, hjl.tools at gmail dot com, 2020/12/02
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, cvs-commit at gcc dot gnu.org, 2020/12/03
- [Bug ld/26978] Inconsistency for defined foo@v1 and foo@@v1, amodra at gmail dot com, 2020/12/13