This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [patch] Improve ELF symbols preference (global > weak)
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 09 Oct 2012 11:14:51 -0700
- Subject: Re: [patch] Improve ELF symbols preference (global > weak)
Don't use a macro. Use a nested inline function.
I'd make it:
/* Return true if A's binding is preferable to B's. */
bool binding_preferred (const GElf_Sym *a, const GElf_Sym *b)
(But season to taste.)
Thanks,
Roland