[patch] Improve ELF symbols preference (global > weak)

Roland McGrath roland at hack.frob.com
Tue Oct 9 18:14:51 UTC 2012


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


More information about the elfutils-devel mailing list