gold ends up $10.70, or 1.1%, at $977.70 an ounce