This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Bug in dwfl_module_relocations
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 19 Oct 2011 16:35:25 -0700
- Subject: Re: Bug in dwfl_module_relocations
That looks correct. But I see that all callers of cache_sections
conditionalize its call the same way. So might as well just move the
short-circuit logic into the top of that function and remove the
duplications of it, and here it will be a tail call.
Thanks,
Roland