Stocks extend rally ahead of fresh flurry of US earnings