Stocks Climb on Upbeat Earnings