[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation
From: |
i at maskray dot me |
Subject: |
[Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation |
Date: |
Sat, 07 Aug 2021 06:29:35 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28157
--- Comment #2 from Fangrui Song <i at maskray dot me> ---
(In reply to H.J. Lu from comment #1)
> Created attachment 13571 [details]
> A patch
>
> Please try this.
I applied this patch.
% cat /tmp/c/y.s
call __free_hook
.symver __free_hook, __free_hook@GLIBC.2.2.5, remove
# for an undefined symbol, I believe `remove` is a no-op.
% gas/as-new /tmp/c/y.s -o y.o
/tmp/c/y.s: Assembler messages:
/tmp/c/y.s: Internal error (Segmentation fault).
Please report this bug.
I don't know the underlying implementation but I wonder whether the defined
single-@ `remove` case can share the same code with defined `@@@`. `@@ remove`
is identical to `@@@`.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, mliska at suse dot cz, 2021/08/05
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation,
i at maskray dot me <=
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, i at maskray dot me, 2021/08/07
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, hjl.tools at gmail dot com, 2021/08/07
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, hjl.tools at gmail dot com, 2021/08/07
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, hjl.tools at gmail dot com, 2021/08/07
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, cvs-commit at gcc dot gnu.org, 2021/08/16
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, hjl.tools at gmail dot com, 2021/08/16
- [Bug gas/28157] gas: .symver *, *@*, remove cannot be used in relocation, cvs-commit at gcc dot gnu.org, 2021/08/18