Stocks aim for all-time high, powered by earnings