The major U.S. stock indexes climbed to 15-month highs as investors waited for earnings updates from several big companies.