Stocks gained ground steadily and closed broadly higher on Wall Street as investors rewarded solid earnings results from several large companies. The S&P 500 got off to a weak start Wednesday but gained steam throughout the afternoon. The Dow Jones Industrial Average fell, dragged down by big drops in Boeing and Caterpillar. On Wednesday: The