A high-resolution study of the absorption spectrum of PKS 2126-158