[ELF] Set ordinals properly to all atoms.