[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27206] .symver overrides .weak
From: |
i at maskray dot me |
Subject: |
[Bug binutils/27206] .symver overrides .weak |
Date: |
Tue, 19 Jan 2021 20:47:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27206
Fangrui Song <i at maskray dot me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |i at maskray dot me
--- Comment #5 from Fangrui Song <i at maskray dot me> ---
#c0 should be flagged. ld errors for an undefined versioned symbol.
If a versioned symbol is defined, it requires a version node defined in a
version script
(unless not -shared).
Whether as should error for `.symver ... local` + `weak`? It is not clear.
Personally I'd like a directive which just renames the symbol to a @ form,
then such issues would not arise.
https://maskray.me/blog/2020-11-26-all-about-symbol-versioning#assembler-behavior
Tom, how did you notice .symver ... local and start to use it?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/27206] New: .symver overrides .weak, tkacvins at gmail dot com, 2021/01/19
- [Bug binutils/27206] .symver overrides .weak, hjl.tools at gmail dot com, 2021/01/19
- [Bug binutils/27206] .symver overrides .weak, tkacvins at gmail dot com, 2021/01/19
- [Bug binutils/27206] .symver overrides .weak, hjl.tools at gmail dot com, 2021/01/19
- [Bug binutils/27206] .symver overrides .weak, hjl.tools at gmail dot com, 2021/01/19
- [Bug binutils/27206] .symver overrides .weak, tkacvins at gmail dot com, 2021/01/19
- [Bug binutils/27206] .symver overrides .weak,
i at maskray dot me <=
- [Bug binutils/27206] .symver overrides .weak, tkacvins at gmail dot com, 2021/01/19
- [Bug binutils/27206] .symver overrides .weak, hjl.tools at gmail dot com, 2021/01/19