Answer: stratigraphy. Look up the work of James Hutton, 1726 - 1797.
http://en.wikipedia.org/wiki/James_Hutton
And BTW, dating rocks by their fossils did not begin until
after Hutton's death.
So your belief in the circularity of geological dating is another nonsense generalisation, like so much else you spout.