[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29566] New: objdump -p considers an empty .gnu.version_r i
From: |
i at maskray dot me |
Subject: |
[Bug binutils/29566] New: objdump -p considers an empty .gnu.version_r invalid |
Date: |
Tue, 13 Sep 2022 07:18:19 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29566
Bug ID: 29566
Summary: objdump -p considers an empty .gnu.version_r invalid
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
% cat a.yaml
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_X86_64
Sections:
- Name: .gnu.version_r
Type: SHT_GNU_verneed
Flags: [ SHF_ALLOC ]
DynamicSymbols:
- Name: f1
Binding: STB_GLOBAL
% yaml2obj a.yaml -o a.o # a utility from llvm-project . On Debian, the
package "llvm" contains it.
% objdump -p a.o
a.o: file format elf64-x86-64
objdump: a.o: .gnu.version_r invalid entry
objdump: warning: private headers incomplete: bad value
% readelf -V a.o
Version needs section '.gnu.version_r' contains 0 entries:
Addr: 0x0000000000000000 Offset: 0x000040 Link: 3 (.dynstr)
---
objdump -p gives a warning while readelf -V doesn't.
--
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 <=
- [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, 2022/09/21
- [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