* elflink.c (elf_sort_symbol): Compare section id, not pointers.