US stocks fought off early selling pressure linked to disappointing quarterly results from IBM and Intel to close broadly higher Wednesday, extending two days of solid gains.
Strong data on new home building helped buoy stocks with hopes that the housing sector was beginning to revive.
The broad-based S&P 500 closed up 5.99 points (0.41 percent) at 1,460.91, while the tech-rich Nasdaq added 2.95 (0.10 percent) at 3,104.12.
The narrower Dow Jones Industrial Average of 30 blue chips touched into the black only late in trade, gaining 5.22 points (0.04 percent) at 13,557.00.
News that housing starts leaped 15.0 percent in September from August to an annual rate of 872,000, the strongest pace since July 2008, helped put a floor under the trade.
The Dow was held back by share price drops at Intel, IBM and UnitedHealth Group after their third-quarter financial results.
Reporting after trade closed Tuesday, IBM (-4.9 percent) revenues fell more than expected due to a sharp drop in hardware sales, and the company took a hit on shifts in the foreign exchange market.
Intel (-2.5 percent) said it was cutting back chip output due to slow computer sales and lowered forecasts of tablet sales.
UnitedHealth fell 1.6 percent despite a strong earnings report Tuesday after it announced a $2.5 billion debt issue to finance its purchase of 90 percent of Brazilian health provider Amil Participacoes.
Bank of America was down 0.2 percent after reporting a sharp fall in profits in the third quarter due to accounting adjustments and legal costs.
Earnings per share came in at a fraction of a penny before paying preferred dividends, better than the loss expected by analysts, but down from 56 cents a year earlier.
Citigroup pushed 3.2 percent higher a day after chief executive Vikram Pandit abruptly resigned as reports described a board that was no longer satisfied with his performance.
Trade was also busy in real estate investment trust HCP, losing 2.7 percent after reporting a 4.8 percent drop in revenue, mainly due to a fall in rental income.
US bond prices fell. The 10-year Treasury yield rose to 1.81 percent from 1.72 percent Tuesday, while the 30-year rose to 2.99 percent from 2.91 percent.
Bond prices move inversely to yields.