[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22587] New: Bogus readelf warning
From: |
rafael.espindola at gmail dot com |
Subject: |
[Bug binutils/22587] New: Bogus readelf warning |
Date: |
Mon, 11 Dec 2017 19:21:37 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22587
Bug ID: 22587
Summary: Bogus readelf warning
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: rafael.espindola at gmail dot com
Target Milestone: ---
Relocations in non relocatable ELF files use virtual addresses, not section
offsets. Given that, lld currently produces .rela.plt sections with a sh_info
of 0.
When processing such a file readelf prints
readelf: Warning: [ 5]: Info field (0) should index a relocatable section.
readelf special cases rela.dyn as the only section that is allowed to have a
sh_info of 0. It should probably allow it on any relocation section in ET_EXEC
and ET_DYN files.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/22587] New: Bogus readelf warning,
rafael.espindola at gmail dot com <=
- [Bug binutils/22587] Bogus readelf warning, nickc at redhat dot com, 2017/12/15
- [Bug binutils/22587] Bogus readelf warning, rafael.espindola at gmail dot com, 2017/12/15
- [Bug binutils/22587] Bogus readelf warning, nickc at redhat dot com, 2017/12/18
- [Bug binutils/22587] Bogus readelf warning, nickc at redhat dot com, 2017/12/18
- [Bug binutils/22587] Bogus readelf warning, rafael.espindola at gmail dot com, 2017/12/18
- [Bug binutils/22587] Bogus readelf warning, cvs-commit at gcc dot gnu.org, 2017/12/19
- [Bug binutils/22587] Bogus readelf warning, nickc at redhat dot com, 2017/12/19
- [Bug binutils/22587] Bogus readelf warning, rafael.espindola at gmail dot com, 2017/12/19