[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29566] objdump -p considers an empty .gnu.version_r invali
From: |
i at maskray dot me |
Subject: |
[Bug binutils/29566] objdump -p considers an empty .gnu.version_r invalid |
Date: |
Wed, 21 Sep 2022 08:32:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29566
--- Comment #2 from Fangrui Song <i at maskray dot me> ---
The spec
(https://sourceware.org/gnu-gabi/program-loading-and-dynamic-linking.txt)
doesn't reject it. For a section whose content is a concatenated N items, the
ELF spirits typically allows N==0, as otherwise it needs an additional sentence
to disallow the case, which is unnecessary.
It seems that the reference implementation of Go may generate .gnu.version_r at
least in some cases: https://github.com/llvm/llvm-project/issues/57707
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/29566] New: objdump -p considers an empty .gnu.version_r invalid, i at maskray dot me, 2022/09/13
- [Bug binutils/29566] objdump -p considers an empty .gnu.version_r invalid, herrtimson at yahoo dot de, 2022/09/14
- [Bug binutils/29566] objdump -p considers an empty .gnu.version_r invalid, amodra at gmail dot com, 2022/09/21
- [Bug binutils/29566] objdump -p considers an empty .gnu.version_r invalid,
i at maskray dot me <=
- [Bug binutils/29566] objdump -p considers an empty .gnu.version_r invalid, amodra at gmail dot com, 2022/09/21
- [Bug binutils/29566] objdump -p considers an empty .gnu.version_r invalid, cvs-commit at gcc dot gnu.org, 2022/09/21
- [Bug binutils/29566] objdump -p considers an empty .gnu.version_r invalid, amodra at gmail dot com, 2022/09/21