This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]