This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Fix readelf to print versions for non-default symbol versions
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Sun, 22 Apr 2018 00:10:15 -0700
- Subject: Re: [patch] Fix readelf to print versions for non-default symbol versions
- References: <5adc0f12.0686a70a.372d5.7507@mx.google.com>
> binutils/
> * readelf.c (process_version_sections): Mask out VERSYM_HIDDEN bit.
I'm withdrawing this patch, at least until I understand things better.
I think the VERSYM_HIDDEN bit should not be set for references to the
VERNEED section, which is what this section of code is dealing with.
It turns out that gold is (I think) erroneously marking an undef in
the VERSYM section with the HIDDEN bit.
-cary