This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Only complain about no aranges if CU has low_pc set
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 21 Apr 2011 17:31:44 +0200
- Subject: Re: Only complain about no aranges if CU has low_pc set
On Thu, 2011-04-21 at 17:11 +0200, Petr Machata wrote:
> Mark Wielaard <mjw@redhat.com> writes:
> > For CUs with no associated code and a new enough gcc this will no longer
> > complain when no aranges section is found when the CU doesn't have
> > low_pc set.
>
> I'm not sure. I think that having empty arange section is better,
> because then it's more explicit.
If you and Tom both agree on that, then lets call it a majority and
unblock http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288
There is already a patch, it doesn't take up a huge amount of space (and
the number of no-code CUs is normally low anyway) and it makes more
people happy because they feel it is more explicit.
Cheers,
Mark