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