DWARF: consistent version information; drop .debug_loc section
commit29a61b79876a52fe6b98bd82b5fe1560074dd659
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Fri, 26 Jun 2020 23:14:55 +0000 (26 16:14 -0700)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Fri, 26 Jun 2020 23:14:55 +0000 (26 16:14 -0700)
treeec967e28b62ac2c84acba9f5468b406d942c4629
parent47d207d1a3ea9197ef6c55b881fa56f14882a34f
DWARF: consistent version information; drop .debug_loc section

Fix the version information for various sections and generalize their
implementation. Drop issuing an empty .debug_pubnames section; like
other sections DWARF parsers seem to be unhappy about a section with
null content.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
output/outelf.c