Actually, the fundamental equation of General Relativity is NOT E = mc^2 as some people seem to believe, but rather Einstein's equation, G-alpha-beta = 8*Pi*T-alpha-beta, where G-alpha-beta is the Einstein tensor and T-alpha-beta is the Energy-Momentum tensor. The spacetime metric follows from G-alpha-beta, thereby defining the geometry of spacetime.